标题:java配置问题
取消只看楼主
feyun
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2007-10-3
 问题点数:0 回复次数:0 
java配置问题
我安装了j2sdk1.4.2_08
配置后在cmd里运行一段小程序测试出现以下提示:
C:\test>javac test.java java test
javac: invalid flag: 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
-nowarn Generate no warnings
-verbose Output messages about what the compiler is doing
-deprecation Output source locations where deprecated APIs are us
ed
-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

大家看看是什么问题。懂的教教我呀!
搜索更多相关主题的帖子: java 
2007-10-03 16:02



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-174826-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 1.296464 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved