Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Java SE 综合讨论区 » 安装/配置/编译/环境  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 (我也求助)Jcreator的使用 [Re:火山一角]
hshb





发贴: 1
积分: 0
于 2005-10-19 22:09 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
各位前辈:
为什么我的JCreator中能编译,能运行java applet ;也能编译java应用程序,但是
却不能运行java应用程序呢?就是那种有main函数的,而且能用命令行运行成功,
在JCreator中运行的话doc窗口中就会出现下面的东西:
Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)

where options include:
-client to select the "client" VM
-server to select the "server" VM
-hotspot is a synonym for the "client" VM [deprecated]
The default VM is client.

-cp <class search path of directories and zip/jar files>
-classpath <class search path of directories and zip/jar files>
A ; separated list of directories, JAR archives,
and ZIP archives to search for class files.
-D<name>=<value>
set a system property
-verbose[:class|gc|jni]
enable verbose output
-version print product version and exit
-version:<value>
require the specified version to run
-showversion print product version and continue
-jre-restrict-search | -jre-no-restrict-search
include/exclude user private JREs in the version search
-? -help print this help message
-X print help on non-standard options
-ea[:<packagename>...|:<classname>]
-enableassertions[:<packagename>...|:<classname>]
enable assertions
-da[:<packagename>...|:<classname>]
-disableassertions[:<packagename>...|:<classname>]
disable assertions
-esa | -enablesystemassertions
enable system assertions
-dsa | -disablesystemassertions
disable system assertions
-agentlib:<libname>[=<options>]
load native agent library <libname>, e.g. -agentlib:hprof
see also, -agentlib:jdwp=help and -agentlib:hprof=help
-agentpath:<pathname>[=<options>]
load native agent library by full pathname
-javaagent:<jarpath>[=<options>]
load Java programming language agent, see java.lang.instrument

Press any key to continue...




请求JAVA学习方向?????

话题树型展开
人气 标题 作者 字数 发贴时间
10096 (求助)Jcreator的使用 火山一角 135 2005-10-04 14:27
8891 Re:(求助)Jcreator的使用 火山一角 42 2005-10-04 14:31
8743 Re:(求助)Jcreator的使用 风之舞者 35 2005-10-04 19:09
9241 Re:(求助)Jcreator的使用 chxfdoom 3059 2005-10-04 20:39
8241 Re:(求助)Jcreator的使用 why 59 2005-10-04 21:51
8210 Re:(求助)Jcreator的使用 Learner2005 15 2005-10-13 20:43
8194 (我也求助)Jcreator的使用 hshb 2195 2005-10-19 22:09
8659 Re:(求助)Jcreator的使用 linjie1918 19 2005-10-19 22:40

flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923