Results 1 to 2 of 2

Thread: Classpath

  1. #1
    JavaJunkie is offline Member
    Join Date
    Apr 2009
    Posts
    12
    Rep Power
    0

    Default 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

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

Similar Threads

  1. Classpath
    By Parneel in forum Enterprise JavaBeans (EJB)
    Replies: 4
    Last Post: 04-01-2009, 01:22 PM
  2. Classpath
    By dawiz001 in forum New To Java
    Replies: 3
    Last Post: 03-18-2009, 03:18 PM
  3. help me to set classpath
    By srinivaspuvvala in forum Java Servlet
    Replies: 3
    Last Post: 01-18-2009, 08:13 PM
  4. j3d classpath
    By sales1 in forum New To Java
    Replies: 3
    Last Post: 12-23-2008, 02:51 AM
  5. Classpath on mac osx
    By jacobb in forum JDBC
    Replies: 0
    Last Post: 06-12-2008, 10:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •