用JCreator编译经常碰到这样得输出,怎么回事?

kkkddd44 2005-01-13 10:39:08
javac: invalid flag: D:\myjava3\ForYou.java
Usage: javac <options> <source files>
where possible options include:
-g Generate all debugging info
-g:none Generate no debugging info
-g:{lines,vars,source} Generate only some debugging info
-O Optimize; may hinder debugging or enlarge class file
-nowarn Generate no warnings
-verbose Output messages about what the compiler is doing
-deprecation Output source locations where deprecated APIs are used
-classpath <path> Specify where to find user class files
-sourcepath <path> Specify where to find input source files
-bootclasspath <path> Override location of bootstrap class files
-extdirs <dirs> Override location of installed extensions
-d <directory> Specify where to place generated class files
-encoding <encoding> Specify character encoding used by source files
-source <release> Provide source compatibility with specified release
-target <release> Generate class files for specific VM version
-help Print a synopsis of standard options
那位大哥大姐能说说看。
...全文
149 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
lookydd 2005-01-14
  • 打赏
  • 举报
回复
Path (bin目录)
JAVA_HOME (jdk目录)
ClassPath (lib目录)
???
ZheX 2005-01-14
  • 打赏
  • 举报
回复
jcreater环境变量没有设置正确
jqrrvfdn 2005-01-14
  • 打赏
  • 举报
回复
我也用JCreator编译程序,刚开始入门的时候,也出现这种情况,
搞了好久才搞好这个问题,其实这是你的变量环境没有设置正确。
你不妨拿本权威一点的书,照着上面的说明重新设置一下环境变
量。
kkkddd44 2005-01-13
  • 打赏
  • 举报
回复
难道没好心人能指点一二吗?

58,452

社区成员

发帖
与我相关
我的任务
社区描述
Java Eclipse
社区管理员
  • Eclipse
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧