Results 1 to 2 of 2
Thread: Classpath
- 04-07-2009, 06:25 AM #1
Member
- Join Date
- Apr 2009
- Posts
- 12
- Rep Power
- 0
Classpath
Hi,
Could anyone please clarify the following line:
javac -classpath "" CPTest1.java CPTest2.java
This also works, even though the class path is empty. This is because the Java compiler will look for references between any source code explicitly listed on the command line
What does "reference between any source code" mean in above? I really don't understand, because of my poor English.
Thanks in advance for any valuable suggestion.
JJ
- 04-07-2009, 07:17 AM #2
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Just type javac on the command prompt and see what happen.
Similar Threads
-
Classpath
By Parneel in forum Enterprise JavaBeans (EJB)Replies: 4Last Post: 04-01-2009, 12:22 PM -
Classpath
By dawiz001 in forum New To JavaReplies: 3Last Post: 03-18-2009, 02:18 PM -
help me to set classpath
By srinivaspuvvala in forum Java ServletReplies: 3Last Post: 01-18-2009, 07:13 PM -
j3d classpath
By sales1 in forum New To JavaReplies: 3Last Post: 12-23-2008, 01:51 AM -
Classpath on mac osx
By jacobb in forum JDBCReplies: 0Last Post: 06-12-2008, 09:41 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks