| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 318 人关注过本帖
标题: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
快速回复:java配置问题
数据加载中...
 
   



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

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