Topic: 求教javac -classpath的用法?

  Print this page

1.求教javac -classpath的用法? Copy to clipboard
Posted by: boyman
Posted on: 2005-03-01 22:08

我一直搞不懂如标题所示的问题,
跪求高手指点。。。。。
小弟不胜感激。。。。

2.Re:求教javac -classpath的用法? [Re: boyman] Copy to clipboard
Posted by: mitnickcbc
Posted on: 2005-03-02 08:47

Usage: javac <options> <source files>
-classpath <path> Specify where to find user class files

3.Re:求教javac -classpath的用法? [Re: boyman] Copy to clipboard
Posted by: zzf
Posted on: 2005-03-04 20:40

不明白是什么意思。。。是设置环境变量path和 slasspath还是javac-classpath这个命令呀?

4.Re:求教javac -classpath的用法? [Re: boyman] Copy to clipboard
Posted by: kingstudent
Posted on: 2005-03-04 20:50

classpath 就是你用到的java class的路径。

5.Re:求教javac -classpath的用法? [Re: boyman] Copy to clipboard
Posted by: kingstudent
Posted on: 2005-03-04 20:51

classpath 就是你用到的java class的路径。

6.Re:求教javac -classpath的用法? [Re: boyman] Copy to clipboard
Posted by: kingstudent
Posted on: 2005-03-04 21:01

classpath 就是你用到的java class的路径。

7.Re:求教javac -classpath的用法? [Re: boyman] Copy to clipboard
Posted by: kingstudent
Posted on: 2005-03-04 21:02

classpath 就是你用到的java class的路径。

8.Re:求教javac -classpath的用法? [Re: boyman] Copy to clipboard
Posted by: kingstudent
Posted on: 2005-03-04 21:06

classpath 就是你用到的java class的路径。

9.Re:求教javac -classpath的用法? [Re: boyman] Copy to clipboard
Posted by: java_avaj
Posted on: 2005-03-08 14:32

你若喜欢用这个命令,就不用再配置classpath这个变量了,这个classpath就是
就要编译的文件的路径名,例如:javac -classpath c:\myjava\ HelloWorld.java


   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