2013-10-11 37 views
1

我正在学习JavaWebStart服务。我正在关注这个Tutorial这是我的目录结构。在做第4步时,我得到jar不被识别为内部或外部命令我在TestJnlp.java文件位置执行了该命令。我需要什么来运行这个?我的系统中安装了jre和jdk。
DIRECTORY structure.使用JNLP时JAR错误

回答

2

只需将路径添加到系统变量。这些是步骤:

 
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"
现在,打开一个新的命令提示符,然后使用jar。