|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Novell Archives Archived content from Novell openSUSE support forums |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
The short question, what is the correct process to to update the version
of Java that is installed. The longer question. I downloaded and installed version 1.5.0. I then thrashed around for half a day and finally changed the installed plugin for Firefox. The change in the pointer for OpenOffice was much easier. Finally I went into the software management section of yast and discovered that yast thought ver. 1.4.2 was still the working version. So I went into file manger and discovered that I could update the yast information by pointing at the newly installed ver. 1.5.0 folders. Now when I go into software manager I can see both except that 1.4.2 is still checked as the installed version. Why did I do all of this in the first place. Well I am trying to install a bit torrent package called Azureus. It wants ver 1.5.0 of java. When I try to install Azureus, it still doesn't see ver. 1.5.0 of Java. I guess the longer question becomes, how do I now "gracefully" dump ver 1.4.2. of Java and invoke ver. 1.5.0? TIA Vic |
|
|||
|
On Tue, 25 Jul 2006 14:27:02 GMT
Victor Chapman <Victor.Chapman@sympatico.ca> wrote: > The short question, what is the correct process to to update the > version of Java that is installed. > > The longer question. I downloaded and installed version 1.5.0. I then > thrashed around for half a day and finally changed the installed > plugin for Firefox. The change in the pointer for OpenOffice was much > easier. Finally I went into the software management section of yast > and discovered that yast thought ver. 1.4.2 was still the working > version. > > So I went into file manger and discovered that I could update the yast > information by pointing at the newly installed ver. 1.5.0 folders. Now > when I go into software manager I can see both except that 1.4.2 is > still checked as the installed version. > > Why did I do all of this in the first place. Well I am trying to > install a bit torrent package called Azureus. It wants ver 1.5.0 of > java. When I try to install Azureus, it still doesn't see ver. 1.5.0 > of Java. > > I guess the longer question becomes, how do I now "gracefully" dump > ver 1.4.2. of Java and invoke ver. 1.5.0? TIA > > Vic Hi Update the softlinks, see man ln :-) malcolml@oscar:~> which java /usr/bin/java malcolml@oscar:~> ls -la /usr/bin/java lrwxrwxrwx 1 root root 22 2006-03-16 19:47 /usr/bin/java -> /etc/alternatives/java malcolml@oscar:~> ls -la /etc/alternatives/java lrwxrwxrwx 1 root root 37 2006-06-07 22:40 /etc/alternatives/java -> /usr/lib64/jvm/jre-1.5.0-sun/bin/java -- Cheers Malcolm °¿° |
|
|||
|
Malcolm wrote:
> On Tue, 25 Jul 2006 14:27:02 GMT > Victor Chapman <Victor.Chapman@sympatico.ca> wrote: > >> The short question, what is the correct process to to update the >> version of Java that is installed. >> >> The longer question. I downloaded and installed version 1.5.0. I then >> thrashed around for half a day and finally changed the installed >> plugin for Firefox. The change in the pointer for OpenOffice was much >> easier. Finally I went into the software management section of yast >> and discovered that yast thought ver. 1.4.2 was still the working >> version. >> >> So I went into file manger and discovered that I could update the yast >> information by pointing at the newly installed ver. 1.5.0 folders. Now >> when I go into software manager I can see both except that 1.4.2 is >> still checked as the installed version. >> >> Why did I do all of this in the first place. Well I am trying to >> install a bit torrent package called Azureus. It wants ver 1.5.0 of >> java. When I try to install Azureus, it still doesn't see ver. 1.5.0 >> of Java. >> >> I guess the longer question becomes, how do I now "gracefully" dump >> ver 1.4.2. of Java and invoke ver. 1.5.0? TIA >> >> Vic > Hi > Update the softlinks, see man ln :-) > > malcolml@oscar:~> which java > /usr/bin/java > malcolml@oscar:~> ls -la /usr/bin/java > lrwxrwxrwx 1 root root 22 2006-03-16 19:47 /usr/bin/java > -> /etc/alternatives/java malcolml@oscar:~> ls > -la /etc/alternatives/java lrwxrwxrwx 1 root root 37 2006-06-07 > 22:40 /etc/alternatives/java -> /usr/lib64/jvm/jre-1.5.0-sun/bin/java > > Here is what I have: > chapman@linux-victor:~> which java > /usr/bin/java > chapman@linux-victor:~> ls -la /usr/bin/java > lrwxrwxrwx 1 root root 22 2006-06-15 10:08 /usr/bin/java -> /etc/alternatives/ja va > chapman@linux-victor:~> ls -la /usr/bin/java > lrwxrwxrwx 1 root root 22 2006-06-15 10:08 /usr/bin/java -> /etc/alternatives/ja va > chapman@linux-victor:~> ls -la /etc/alternatives/java > lrwxrwxrwx 1 root root 35 2006-06-15 10:14 /etc/alternatives/java -> /usr/lib/jv m/jre-1.4.2-sun/bin/java Is it possible for you to provide a step by step set of instructions for the ln command. TIA Vic |
|
|||
|
On Tue, 25 Jul 2006 16:29:44 GMT
Victor Chapman <Victor.Chapman@sympatico.ca> wrote: > Malcolm wrote: > > On Tue, 25 Jul 2006 14:27:02 GMT > > Victor Chapman <Victor.Chapman@sympatico.ca> wrote: > > > >> The short question, what is the correct process to to update the > >> version of Java that is installed. > >> > >> The longer question. I downloaded and installed version 1.5.0. I > >> then thrashed around for half a day and finally changed the > >> installed plugin for Firefox. The change in the pointer for > >> OpenOffice was much easier. Finally I went into the software > >> management section of yast and discovered that yast thought ver. > >> 1.4.2 was still the working version. > >> > >> So I went into file manger and discovered that I could update the > >> yast information by pointing at the newly installed ver. 1.5.0 > >> folders. Now when I go into software manager I can see both except > >> that 1.4.2 is still checked as the installed version. > >> > >> Why did I do all of this in the first place. Well I am trying to > >> install a bit torrent package called Azureus. It wants ver 1.5.0 of > >> java. When I try to install Azureus, it still doesn't see ver. > >> 1.5.0 of Java. > >> > >> I guess the longer question becomes, how do I now "gracefully" dump > >> ver 1.4.2. of Java and invoke ver. 1.5.0? TIA > >> > >> Vic > > Hi > > Update the softlinks, see man ln :-) > > > > malcolml@oscar:~> which java > > /usr/bin/java > > malcolml@oscar:~> ls -la /usr/bin/java > > lrwxrwxrwx 1 root root 22 2006-03-16 19:47 /usr/bin/java > > -> /etc/alternatives/java malcolml@oscar:~> ls > > -la /etc/alternatives/java lrwxrwxrwx 1 root root 37 2006-06-07 > > 22:40 /etc/alternatives/java > > -> /usr/lib64/jvm/jre-1.5.0-sun/bin/java > > > > > Here is what I have: > > > chapman@linux-victor:~> which java > > /usr/bin/java > > chapman@linux-victor:~> ls -la /usr/bin/java > > lrwxrwxrwx 1 root root 22 2006-06-15 10:08 /usr/bin/java > > -> /etc/alternatives/ja va chapman@linux-victor:~> ls > > -la /usr/bin/java lrwxrwxrwx 1 root root 22 2006-06-15 > > 10:08 /usr/bin/java -> /etc/alternatives/ja va > > chapman@linux-victor:~> ls -la /etc/alternatives/java lrwxrwxrwx 1 > > root root 35 2006-06-15 10:14 /etc/alternatives/java -> /usr/lib/jv > > m/jre-1.4.2-sun/bin/java > > Is it possible for you to provide a step by step set of instructions > for the ln command. TIA > > Vic Hi Lets try another way, how did you install the version of java, downloaded from sun? Did you include non-oss install source in yast? e.g. ftp suse.mirrors.tds.net pub/opensuse/distribution/SL-10.1/non-oss-inst-source This has 1.5.0 available, try that first and see how it goes. -- Cheers Malcolm °¿° |
|
|||
|
Malcolm wrote:
<snip> > > Hi > Lets try another way, how did you install the version of java, > downloaded from sun? Did you include non-oss install source in yast? > > e.g. > ftp > suse.mirrors.tds.net > pub/opensuse/distribution/SL-10.1/non-oss-inst-source > > This has 1.5.0 available, try that first and see how it goes. > I followed (more or less) the following instruction from the Sun / Java web site: The installation is now complete. Skip to the Enable and Configure section. To install the Linux RPM (self-extracting) file Follow these instructions: 1. At the terminal: Type: su 2. Enter the root password. 3. Change to the directory in which you want to install. Type: cd For example, to install the software in the /usr/java/ directory, Type: cd /usr/java Note about root access: To install the JRE in a system-wide location such as/usr/local, you must login as the root user to gain the necessary permissions. If you do not have root access, install the JRE in your home directory or a subdirectory for which you have write permissions. 4. Change the permission of the file you downloaded to be executable. Type: chmod a+x jre-1_5_0-linux-i586-rpm.bin 5. Start the installation process. Type: ./jre-1_5_0-linux-i586-rpm.bin This displays a binary license agreement. Read through the agreement. Press the spacebar to display the next page. At the end, enter yes to proceed with the installation. type YES to agree to the license agreement 6. The installation file creates jre-1_5_0-linux-i586.rpm file in the current directory. RPM unpacking completes 7. Run the RPM command at the terminal to install the packages. Type: rpm -iv jre-1_5_0-linux-i586.rpm 8. The JRE is installed in jre1.5.(version number) sub-directory under the current directory. In this case, the JRE is installed in the /usr/java/jre1.5.0 directory. Verify that the jre1.5.0 sub-directory is listed under the current directory. Type: ls Verify the installation filename ---- Then I fought with next set of instructions to install the firefox plugin: Mozilla 1.4 and later 1. Go to the plugins sub-directory under the Mozilla installation directory cd <Mozilla installation directory>/plugins 2. In the current directory, create a symbolic link to the JRE ns7/libjavaplugin_oji.so file Type: ln -s <JRE installation directory>/plugin/i386/ns7/libjavaplugin_oji.so Example: * If Mozilla is installed in this directory: /usr/lib/mozilla-1.4/ * and if the JRE is installed at this directory: /usr/java/jre1.5.0 * Then type at the terminal to go to the browser plug-in directory: cd /usr/lib/mozilla-1.4/plugins * Enter the following command to create a symbolic link to the Java Plug-in for the Mozilla browser. ln -s /usr/java/jre1.5.0/plugin/i386/ns7 /libjavaplugin_oji.so . 3. Start Mozilla browser or restart it if it is already running. Note that if you have other Mozilla components (ie: Messenger, Composer, etc) running, you will need to restart them as well. 4. Go to Edit > Preferences. Under Advanced category > Select Enable Java IT WOULD HAVE BEEN HELPFUL IF THE WRITERS OF THE ABOVE POINTED OUT TO THE NAIVE THAT THE INSTRUCTION WAS ONE LINE WITH NO SPACE!! ln -s /usr/java/jre1.5.0/plugin/i386/ns7 /libjavaplugin_oji.so So now I have a parallel set of directories for Java 1.5.0 that I have for 1.4.2. I like to fiddle so I discovered that if I rt clicked on the top level directory for java 1.5.0 there was an option to make them available in yast / software manager. So I can see the same set of directories for both versions of java except the 1.4.2 version is the installed version. Is this helpful, or should I still follow your last suggestion? |
|
|||
|
On Tue, 25 Jul 2006 19:51:52 GMT
Victor Chapman <Victor.Chapman@sympatico.ca> wrote: > Malcolm wrote: > > <snip> > > > > > Hi > > Lets try another way, how did you install the version of java, > > downloaded from sun? Did you include non-oss install source in yast? > > > > e.g. > > ftp > > suse.mirrors.tds.net > > pub/opensuse/distribution/SL-10.1/non-oss-inst-source > > > > This has 1.5.0 available, try that first and see how it goes. > > > > I followed (more or less) the following instruction from the Sun / > Java web site: <snip> > Is this helpful, or should I still follow your last suggestion? Hi I would try the install source :-) I have been through the above.. it's all about learning :-) The command to softlink (symbolic link) from one thing to another is ln (Lower case L), you may need to be root user, but you can create links in your own directory. ln -s <source.of.file.to.link> <destination.of.what.you.want> Just like the command to get the java plugin section. Yes, you need to watch out for line wrap for the commands, but at least you won't fall into that trap again..... You will also find in the mozilla/firefox directory (/usr/lib/firefox) a program called add-plugins.sh which should sort the java out. Run this command as ./add-plugins.sh -- Cheers Malcolm °¿° |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|