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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
08-25-2007, 11:05 PM
|
#16
|
|
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: Dallas, TX, USA
Distribution: Fedora
Posts: 58
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
|
|
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: Dallas, TX, USA
Distribution: Fedora
Posts: 58
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:03 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
|
|