java执行jar包出错:Unable to access jarfile
2018-09-23 22:46
483 查看
java执行jar包出错:Unable to access jarfile
错误的原因有多种:
1.一般都是路径不正确。在Windows中,正确的路径类似于:
java -jar "D:\WebDemo\demo.jar"
如果担心弄错路径,可以直接在Windows中进入目标文件夹,然后按 shift,再点击右键,选择"在此处打开命令窗口"。
2.如果还是一直报错,也可能是路径中含有中文。。可以尝试将中文改为英文。
相关文章推荐
- cmd中java -jar *.jar 提示Unable to access jarfile *.jar或Windows不能用鼠标双击运行jar文件怎么办解决方案
- JMeter安装:error:unable to access jarfile ApacheJMeter.jar
- Unable to load configuration. - bean - jar:file:/D:/javaProgramFiles/tomcat-6.0.20/webapps/zoyeo
- SDK Manager 打不开, "系统找不到指定路径 " "Unable to access jarfile lib\archquery.jar"问题的解决办法
- jmeter之解决Unable to access jarfile ApacheJMeter.jar
- Unable to access jarfile start.jar
- SDK Manager 打不开, "系统找不到指定路径 " "Unable to access jarfile lib\archquery.jar"问题的解决办法
- unable to access jarfile ***.jar
- jmeter运行报错 unable to access jarfile apachejmeter.jar error
- unable to access jarfile 解决方法
- Myeclipse 10 破解工具 unable to access jarfile *.jar
- Unable to access jar file xxx.jar
- 解决:Error: Unable to access jarfile ..\lib\proguard.jar
- 解决:Error: Unable to access jarfile ..\lib\proguard.jar
- 解决:Error: Unable to access jarfile ..\lib\proguard.jar
- 1、jmeter配置(Error: Unable to access jarfile ApacheJMeter.jar)
- paip.解决问题Unable to access jarfile E:\resin-4.0.22\lib\resin.jar
- Andriod-出错之Unable to build: the file dx.jar was not loaded from the SDK folder!
- paip.解决问题Unable to access jarfile E:\resin-4.0.22\lib\resin.jar
- Error: Unable to access jarfile ..\lib\proguard.jar