Reputation: 917
I am learning JavaWebStart service. I am following this Tutorial This is my directory structure. When doing 4th step, I am getting jar is not recognized as an internal or external command I executed the command in the TestJnlp.java file location. Do I need anything to run this? I have jre and jdk installed in my system.
Upvotes: 1
Views: 45
Reputation: 917
Just add the path to system variable. These are the steps:
Right click on MyComputer-->Now, open a new command prompt and then use jar.
Properties-->Advanced System Settings(Windows7)-->
Environment Variables-->System Variables-->
Search for PATH in the list-->Click on edit-->
Give a semi colon if not present--> Copy and paste the path to "\jdk1.7.0\bin"
Upvotes: 2