LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-25-2007, 11:05 PM   #16
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133

That should be the path to the jre directory. And yes, it can be placed in a separate script just as well.
If you place it in /etc/profile, you need to log out first or to do
source /etc/profile
for the changes to take effect.

By the way, did you use update-alternatives to select your new jre over the gcj one? That can make a difference too.

Run
java -version
and
(as root)
echo $JRE_HOME
If neither points to your jre6, then there is some more work to be done.
 
Old 08-27-2007, 04:05 AM   #17
andymck
Member
 
Registered: Aug 2006
Location: Garland, TX, USA
Distribution: Fedora
Posts: 90

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jay73 View Post
That should be the path to the jre directory. And yes, it can be placed in a separate script just as well.
If you place it in /etc/profile, you need to log out first or to do
source /etc/profile
for the changes to take effect.

By the way, did you use update-alternatives to select your new jre over the gcj one? That can make a difference too.

Run
java -version
and
(as root)
echo $JRE_HOME
If neither points to your jre6, then there is some more work to be done.
OK, I backed out JRE6 and re-installed JRE5, as bathory suggested, and that solved my "no visible output" problem, although I still can't run applets requiring JRE6. Does your $JRE_HOME fix also address the "no visible output" problem in a different way, or are we looking at two different problems here?
 
Old 08-27-2007, 11:49 AM   #18
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
No, the entry in /etc/profile is most useful for running java applications (azureus , hjsplit , etc.). Have you checked update-alternatives? There's a galternatives front-end in the repositories that may make things a bit more intuitive.
 
Old 08-27-2007, 12:31 PM   #19
andymck
Member
 
Registered: Aug 2006
Location: Garland, TX, USA
Distribution: Fedora
Posts: 90

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jay73 View Post
No, the entry in /etc/profile is most useful for running java applications (azureus , hjsplit , etc.). Have you checked update-alternatives? There's a galternatives front-end in the repositories that may make things a bit more intuitive.
Well, since reverting to 1.5 fixed my browser display problem, I'll settle for that for the time being. I looked at the update-alternatives info and will keep it in mind; before actually using it, though, I need to get to where I understand it better. I'll keep the $JRE_HOME thing in mind as well, but so far the only problem I'm having is with the browser; either I'm not using any java programs outside of the browser or they're working OK.

BTW, I also tried using the GNU Java plugin (libgcjwebplugin.so). It worked fine in some cases, but one of the ones I especially wanted to get going (a word puzzle program on one of the newspaper websites) it did a clear-and-refresh about two or three times a second; VERY annoying. I'll be exploring that alternative as well, but I won't be holding my breath.
 
  


Reply



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
JRE in Firefox dalponis Linux - Software 2 01-07-2006 10:23 PM
firefox 1.0.4 / jre 1.4.1_02 undef00 Linux - Software 7 08-11-2005 05:18 PM
FC4, Firefox 1.0.4 and JRE 1.4.2 webwolf70 Fedora 11 06-19-2005 01:13 PM
jre blips out Firefox dfowensby Fedora 1 01-26-2005 01:48 AM
Firefox and JRE merchtemeagle Linux - Newbie 3 10-17-2004 09:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:19 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