java SDK 5.0 and textpad problems...

Discussion in 'OT Technology' started by zippo[m], Jan 23, 2006.

  1. zippo[m]

    zippo[m] New Member

    Joined:
    Sep 19, 2003
    Messages:
    256
    Likes Received:
    0
    I used to use java 1.4x a couple semesters ago, and had no problems...now I'm running into some problems since it's updated to 1.5x. I can compile a base class fine, but once I create a class that uses another class, it can never find the class that I am creating an object of. It's as if it can't figure out that the files are all in the same directory. Any suggestions?

    The files all compile fine on the lab computers that use 1.4x, but not on my home computer...
     
  2. MrMan

    MrMan New Member

    Joined:
    Jul 13, 2004
    Messages:
    308
    Likes Received:
    0
    I am not sure, as I don't usually program in Java, but in the computer labs, do you use an IDE, like Eclipse? It's possible that in an IDE in the computer labs, the location of the Java libraries, and your home directory are specified.

    Is the classpath set correctly (although the default should be the current directory)?
    http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/javac.html
     

Share This Page