LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 08-29-2001, 02:20 PM   #1
sunilkgarg
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, 03:18 PM   #2
rolf
Member
 
Registered: Jul 2001
Location: Oakland, CA
Distribution: Mageia 5 x86_64
Posts: 187

Rep: Reputation: 33
Howdy-

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, 07:36 AM   #3
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
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
Code:
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.

HTH

Jamie...
 
  


Reply


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 06:34 PM
JRE for azureus? batgranny Linux - Software 3 03-31-2005 09:13 PM
JRE for power PC gothrog JDS 1 03-22-2005 01:18 AM
Jre inescapeableus Linux - Newbie 3 04-18-2004 10:04 PM
java jre luap Linux - Software 5 02-16-2003 11:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:41 AM.

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