Find the answer to your Linux question:
Results 1 to 5 of 5
I just installed Java and it seems to work, but when I try to install programs that needs Java support they can't seem to find the path to where java ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! feddersen's Avatar
    Join Date
    Dec 2004
    Location
    Norway
    Posts
    82

    Java runtime env.


    I just installed Java and it seems to work, but when I try to install programs that needs Java support they can't seem to find the path to where java is installed.

    OK if anyone understands this, please help.


  2. #2
    Linux Engineer
    Join Date
    May 2003
    Location
    Greece / Athens
    Posts
    1,169
    this happens because your PATH variable in shell is not pointing to a location that java is installed.if you installed it correctly locate where is the folder that contains java file (using find / -name *java* ) as root and then open a terminal window as root and type:
    Code:
    PATH=$PATH&#58;<here you enter the location java is&#40;full path&#41;>
    that's it!
    Linux For Ever!

  3. #3
    Just Joined! feddersen's Avatar
    Join Date
    Dec 2004
    Location
    Norway
    Posts
    82
    It seems that I can't make that command point to a directory.?? and when i point the path command directly to the java file it just lists a help file...
    I'm lost...


  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined! feddersen's Avatar
    Join Date
    Dec 2004
    Location
    Norway
    Posts
    82
    oh! sorry, got it working.. cap letters offcourse
    Thanks

  6. #5
    Linux Engineer
    Join Date
    May 2003
    Location
    Greece / Athens
    Posts
    1,169
    don't forget that shell in linux is case sensitive!!!!
    Linux For Ever!

Posting Permissions

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