LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   installing Java platform (https://www.linuxquestions.org/questions/linux-newbie-8/installing-java-platform-538434/)

mattcantgetsome 03-18-2007 01:31 AM

installing Java platform
 
Hey,

I am trying to install the Java runtime environment on FC6 (because it's necessary in order to run LimeWire) and I can't seem to get anything to work right. I finally followed all the instructions given to me on their website, and I received a message that said that the latest version of Java is already installed. However, when I try to open a site that uses javascript or that requires JRE, it tells me that it is NOT installed and gives me the link to Java's site. Also, when I try to install LimeWire, it gives me an error message that it cannot install correctly because Java is not installed on my system. Now, I found out that Java comes pre-packaged with FC6, so installing it is actually unnecessary.

Any ideas on what's going on? This has got me thoroughly stumped. Thanks in advance, guys.


Matt

jay73 03-18-2007 04:14 AM

You need to add two magical lines to the "profile" file under /etc:

JRE_HOME=/path/to/JRE
export JRE_HOME

Then log out and back in and as root type this in a terminal:

echo $JRE_HOME

if that returns the path to your JRE, your problem should be solved.


All times are GMT -5. The time now is 03:44 AM.