|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| ARCHIVES - Tips, Tricks & Tweaks Post your tips, tricks and tweaks about SuSE Linux in here. Please do not ask questions here - this is for factual information |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Once you have downloaded the java package from java.sun.com and saved it to where ever you save files, you will need to chmod a+x the java file you just downloaded (I choose the self extracting rpm). Then issue the rpm command; rpm -Uvh <java file you extracted> .
In my case it was; >chmod a+x jre-6-linux-i586-rpm.bin Now su to root and issue the rpm command; #rpm -Uvh jre-6-linux-i586-rpm This will install the rpm to /usr Now if you think you're done, your not there yet. You still need to let your browsers know that you have upgraded java. Go into /usr/lib/browser-plugins and delete libjavaplugin_oji.so Since you're in /usr/lib/browser-plugins you will, now that you have deleted libjavaplugin_oji.so, need to; ln -s /usr/java/jre1.6.0/plugin/i386/ns7/libjavaplugin_oji.so Of course, the version will change as sun makes newer versions, but the technique is the same. What ever you do, don't use /usr/java/jre1.6.0/plugin/i386/ns7-gcc29/libjavaplugin_oji.so, doing so will cause Mozilla based browsers to crash. For Konqueror, go to settings, configure Konqueror, java & java script, and put this in Path to Java executable or 'java' /usr/java/jre1.6.0/bin/java For Opera go to Tools, Preferences, click on the Advanced tab, content (in the left frame), click "java options", and enter this /usr/java/jre1.6.0/lib/i386/ Enjoy
|
|
|||
|
Quote:
I didn't say java.suse.com. I did say, java.sun.com |
|
|||
|
Hi linux_learner,
Do you noticed an improvement in 1.6 as compared to 1.5.x? Since Firefox 2.0 came out, I noticed some bad functionality with java sites. Additionally, my daily used software is using java VM and later (after 1.5 has been released) problems came around here as well. I am hoping that the newer releases would overcome these problems. /taganu |
|
|||
|
I installed 1.6 on XP last night (no previous Java installed) and Azureus (would not boot up) I deleted 1.6 and installed 1.0.5_09 and everything worked fine. It may be a few apps are not compatible with 1.6 though this should not be a problem. Does anyone have Azureus running under 1.6 and Linux?
|
|
|||
|
Quote:
Before finding this topic on the forum, I downloaded jre-6-linux-i586-rpm.bin and did: # chmod a+x jre-6-linux-i586-rpm.bin # ./jre-6-linux-i586-rpm.bin this Unpacked, Checksummed, Extracted, ... and installed a subdirectory /usr/java (which did not exist previously) with a subdir jre1.6.0 Then I found this topic on the forum... I wanted to know if # rpm -Uvh jre-6-linux-i586-rpm.bin would do something different, so did # rm -r /usr/java thought this was safe since /usr/java didn't exist before... # rpm -Uvh jre-6-linux-i586-rpm but this gives an error: Failed dependencies and much more lines... retried # ./jre-6-linux-i586-rpm.bin this stops prematurely with package jre-1.6.0-fcs ia already installed (still nothing installed in /usr/java) tried # rmp -e jre-6-linux-i586-rpm to remote it this says it is not installed... Help ! how to fix this ? pdon |
|
|||
|
Quote:
You still have the fedora core java-1.6 rpm installed. Quote:
Code:
rpm -qa jre* I did forget to mention in my original post that you need to extract the package to get to the rpm. Sorry. So ./jre-6-linux-i586-rpm.bin to get the rpm. |
|
|||
|
Quote:
I did # rpm -qa jre* didn't output anything (also no error message) # rpm -e jre-1.6.0-fcs didn't output anything (also no error message) # rpm -Uvh jre-6-linux-i586.rpm errror: Failed dependencies: java is needed by (installed) wsdl4j-1.4-4 java-1.4.2-sun = 1.4.2.11-1.1 is needed by (installed) java-1_4_2-sun-alsa-1.4.2.11-1.1 and some 15 more similar messages about jndi, jndi-ldap, jdbc-stdext, jre1.2.x, jre.3.x, libjava.so, libjavt.so, libjvm.so 'is needed by (installed) packages-names, such al lcapm castor, ... OpenOffice... ?? 2. Also I do not understand very well, that after # ./jre-6-linux-i586-rpm.bin it created: - on the desktop a jre-6-linux-i586.rpm file (18 Mb) - AND a completely new /usr/java directory of 98 Mb (containing subdir jre1.6.0) What is that /usr/java ? is this already the installed new version of java ? If yes, why then still need to do # rpm -Uvh jre-6-linux-i586.rpm confusing... 3. Also, is there a way to have it installed under /opt instead of /usr ? pdon |
|
|||
|
Quote:
As per my initial post, when you install the java rpm from sun, it does create under /usr the sub directory /java. So that would be /usr/java. So you have already installed the java from sun. If you go further into /usr/java you should see /usr/java/jre1.6.0 which would indicate that you installed the java from sun and there is no need to run rpm -Uvh jre-6-linux-i586.rpm, which would explain the errors you are getting. rpm -qa jre* should give you; > rpm -qa jre* jre-1.6.0-fcs |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|