Find the answer to your Linux question:
Results 1 to 3 of 3
I updated fedora 3 and it reset my CLASSPATH. How can i set the classpath so that javac can work. This is real urgent cause i need to get a ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2005
    Location
    South Africa
    Posts
    9

    Java compile problem. CLASSPATH


    I updated fedora 3 and it reset my CLASSPATH.

    How can i set the classpath so that javac can work. This is real urgent cause i need to get a program running by tomorrow.... Please help.

    And if where can i find a better java stuff than the one that came out with Core 3
    CLASSPATH is empty.


  2. #2
    Linux User
    Join Date
    Jan 2005
    Location
    Florida
    Posts
    414
    I'm not sure how to reset your CLASSPATH but why don't you just download the Java Development Kit from sun? It's not a huge download, about 46Mb I think and you can set it up wherever you want.
    registered linux user: 387197

  3. #3
    Linux Guru kkubasik's Avatar
    Join Date
    Mar 2004
    Location
    Lat: 39:03:51N Lon: 77:14:37W
    Posts
    2,396
    its easier to use the command line switch so you can have classes with the same names in different projects, something like the following

    javac qub333iscool.java -classpath ./

    --or--

    javac qub333iscool.java -classpath /home/qub333/javaProjects/


    follow?
    Avoid the Gates of Hell. Use Linux
    A Penny for your Thoughts

    Formerly Known as qub333

Posting Permissions

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