Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-29-2001, 03:20 PM   #1
LQ Newbie
Registered: Aug 2001
Posts: 6

Rep: Reputation: 0
Question JRE Problems

I downloaded the Java Runtime Environment 1.3.1 off of Sun's Java Website. It installed, but Linux doesn't recognize it. The command 'java -version' comes out as 1.1.8, which is what I was trying to upgrade from. I know 1.3.1 is installed, because it is in /usr/java/jdk1.3.1.

I am running SuSE Linux 7.2 Personal, which I just installed 2 mos. ago.

Thanks a lot.
Old 09-01-2001, 04:18 PM   #2
Registered: Jul 2001
Location: Oakland, CA
Distribution: Mageia 5 x86_64
Posts: 186

Rep: Reputation: 33

Did you follow the install instructions at the sun website? I did and found two things that were not clear.

One, it says to 'export the NPX_PLUGIN_PATH'. I did and, sure enough, $ env showed that this path was in effect. However,

Two, export only works for the current session so, after a reboot, the path was no longer in effect. Well, I figured to add the export-PATH line to the bottom of my ~/.bash_profile and it gets set at boot but, OK,

Three, this wiped out the path to my other netscape plugins, so I added that path to the line in .bash_profile:

export NPX_PLUGIN_PATH=/usr/java/jre1.3.1/plugin/i386/ns4:/home/rolf/.netscape/plugins

Suggest you take another look at sun's install directions and, maybe, try something like what I did.
Old 09-02-2001, 08:36 AM   #3
Senior Member
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
You'll want to find the 1.1.8 version of java and remove it, then make a symlink to the new java binary in somewhere like /usr/local/bin using something like
ln -s /usr/java/jdk1.3.1/java /usr/local/bin/java
that way it'll be available for all your users without needing to play with any paths.




Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
convert from jre-...-rpm.bin into jre-...rpm gimi_k2 Linux - Newbie 3 07-18-2005 07:34 PM
JRE for azureus? batgranny Linux - Software 3 03-31-2005 10:13 PM
JRE for power PC gothrog JDS 1 03-22-2005 02:18 AM
Jre inescapeableus Linux - Newbie 3 04-18-2004 11:04 PM
java jre luap Linux - Software 5 02-17-2003 12:41 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:45 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration