作者good3583 (咖啡)
看板java
标题[问题] JCreator可以Build却无法Run
时间Wed Mar 19 01:47:52 2014
最近刚开始摸JAVA,还是初学者
一开始是都用学校电脑里的JCreator v5.0 LE 编译运行都没问题
在家里电脑也安装了JCreator v5.0 LE跟JDK档
结果打开.java档 Build完 Run时却跑出...
--------------------Configuration: <Default>--------------------
用法: java [-options] class [args...]
(执行类别)
或 java [-options] -jar jarfile [args...]
(执行 jar 档案)
选项包括:
-d32 使用 32 位元资料模型 (如果有的话)
-d64 使用 64 位元资料模型 (如果有的话)
-server 选取 "server" VM
-hotspot 是 "server" VM 的同义字 [已不再使用]
预设的 VM 为 server.
-cp <class search path of directories and zip/jar files>
...
...
以下略
...
...
...
...
...
...
Process completed.
我有在网路上跟本板爬过文了,但方法都无解...
在命令提示字元里面是可以执行的,但在JCreator里面就无法
JDK档的路径设定也没有错...
想请问是不是还有哪里设定有误...感谢 !
附上截图
http://ppt.cc/RtlJ
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 1.160.85.16
1F:推 summerleaves:跟你一模一样 後来我都用命令提示字元... 03/19 10:08
2F:→ swpoker:path classpath JAVA_HOME ? 03/19 12:19
3F:→ good3583:2F的意思是 ? 自学新手不太懂对不起 ... 03/20 02:14
5F:→ good3583:用4F的方法解决了,感谢 03/20 19:34
补上解决办法
This is a problem that JCreator developer's are aware of, and are trying to
find a solution to. Discussion on JCreator's forum board about this
The problem exists when a file is opened through windows explorer.
In order to not experience this problem: Open JCreator. Open your file (do
not close the JCreator Start Page tab).
You should have no problems running your file as long as the Start Page tab
is open (and in the first position).
之前有在简体网站看到类似解决的办法,但没看懂
这次英文反而看懂了 感谢
※ 编辑: good3583 来自: 36.226.134.177 (03/20 19:36)