Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    plz help to set path for java


    hello,
    i am using fedora core5 linux.I am not aware of setting the path for java.
    plz help me in setting the path for java

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,776
    Hi !!

    create a file 'javapath.sh' add these lines in it...

    export JAVA_HOME=<path>
    export PATH=$JAVA_Home/bin:$PATH

    save this file in /etc/profile.d

    for more details, check this link and look for Java

    <=== { casper } ===>
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

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