Find the answer to your Linux question:
Results 1 to 2 of 2
Hey I have a fully working java compiller. My uni has given me 2 librarys. Where do these go?! If I define the classpath when I run javac the existing ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2006
    Posts
    42

    java classpaths?!?!?!?!


    Hey

    I have a fully working java compiller. My uni has given me 2 librarys. Where do these go?! If I define the classpath when I run javac the existing librarys dont get used? Any clue where I can put these files so the compiler will pick them up automatically everytime?

    Thanks

    Joe

  2. #2
    Linux User
    Join Date
    Aug 2005
    Location
    Italy
    Posts
    401
    Quote Originally Posted by Joe2003
    Where do these go?
    In some directory specified in the classpath.

    Quote Originally Posted by Joe2003
    If I define the classpath when I run javac the existing librarys dont get used?
    Boh! You can try?

    Quote Originally Posted by Joe2003
    Any clue where I can put these files so the compiler will pick them up automatically everytime?
    This depends on your distro... I have it on /usr/lib/j2se/1.4/jre/lib/... find can find any jre subdirectory on your system... However you can automatically define the enviroment variable CLASSPATH e3ach time you login on system... there you can add you libs..
    When using Windows, have you ever told "Ehi... do your business?"
    Linux user #396597 (http://counter.li.org)

Posting Permissions

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