LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to remove old JRE (https://www.linuxquestions.org/questions/linux-software-2/how-to-remove-old-jre-728354/)

dpeterson3 05-25-2009 08:16 AM

How to remove old JRE
 
I have JDK 1.6 update 13 installed on my machine from binaries. For my java web applets to work, I had to install JRE 1.6 update 12 from the Debian repos. I downloaded a webstart app the other day that should install a programing emulator for me, but it can't seem to find my JDK or my version of Netbeans (everything built from binaries). On another forum, someone suggested that the JRE was the problem, so we linked every referece we could find to a JRE to my JRE in the JDK folder. JAVA_HOME, my PATH and even the /usr/java directories point to my JDK. For some reason, if I log into other accounts, every variable seems correct, but the account still points at the old JRE? My solution was just to remove the old JRE so everything would be forced to look at the newer one, but I can't every time I try, I am told that Open Office and several libraries will be removed also. Is there some way to remove just the old JRE and its two basae pacakages without the rest of my programs?

kellinwood 05-25-2009 09:14 AM

The version of Java used in the web browser is determined by a symlink, usually in /usr/lib/mozilla/plugins (for Mozilla/Firefox browsers anyway). Follow the link for libjavaplugin.so to determine what's going on, and change it if necessary.

dpeterson3 05-25-2009 01:30 PM

I guess I should have made the problem a little clearer. My whole system is looking for jre 1.6 update 12. I want it to point at jdk 1.6 update 13. That should fix my browser but I need everything to see my newer version of java. Right now, my account can see and use the new version, but others can't. They can see it but not use it?


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