Anusha Honey
Anusha Honey

Reputation: 917

JAR error when using JNLP

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.
DIRECTORY structure.

Upvotes: 1

Views: 45

Answers (1)

Anusha Honey
Anusha Honey

Reputation: 917

Just add the path to system variable. These are the steps:

Right click on MyComputer-->
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"
Now, open a new command prompt and then use jar.

Upvotes: 2

Related Questions