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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
08-25-2007, 11:05 PM
|
#16
|
LQ Guru
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019
Rep:
|
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.
|
|
|
08-27-2007, 04:05 AM
|
#17
|
Member
Registered: Aug 2006
Location: Garland, TX, USA
Distribution: Fedora
Posts: 90
Original Poster
Rep:
|
Quote:
Originally Posted by jay73
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?
|
|
|
08-27-2007, 11:49 AM
|
#18
|
LQ Guru
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019
Rep:
|
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.
|
|
|
08-27-2007, 12:31 PM
|
#19
|
Member
Registered: Aug 2006
Location: Garland, TX, USA
Distribution: Fedora
Posts: 90
Original Poster
Rep:
|
Quote:
Originally Posted by jay73
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.
|
|
|
All times are GMT -5. The time now is 01:41 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|