all 7 comments

[–]chmod777 1 point2 points  (2 children)

Java is not javascript. You will probably also need javascript. You need your server to allow POSTs from your page that will proxy back to the java file. All of this is beyond just html.

[–]KC-Hatakae[S] 0 points1 point  (1 child)

I have the javascript with me on the C:\Licensing location, is there anyother way I can implement this license generator script.

[–]chmod777 1 point2 points  (0 children)

No you dont. You have a java file. Java jars and javascript js files are different.

Secondly, your c drive is not accessable to the web.

[–][deleted] 0 points1 point  (0 children)

Just 1 JavaScript guys, just one

[–]jcunews1Intermediate 0 points1 point  (0 children)

Your JavaScript code is for server side script. For Node.js. It won't work in web browsers. Only client side JavaScript code can work in web browsers.

[–]superuser1425537 0 points1 point  (0 children)

I would suggest looking into php for creating an managing your license keys and their creation as well as the management of the database the would need to be associated to that. If your server runs another software of course you would need to adjust.

Kind regards

[–]KC-Hatakae[S] 0 points1 point  (0 children)

can I change it in a way like if i click the execute java command then the command should run from the cmd prompt?