Results 1 to 2 of 2
Since I can't post a how to in the Linux Tutorials HowTos I figured I would do it here in case anybody is looking to do this. This is on ...
- 09-24-2009 #1
How I installed Java 6u16 in AntiX 8.2
Since I can't post a how to in the Linux Tutorials HowTos I figured I would do it here in case anybody is looking to do this. This is on a AntiX 8.2 install on a IBM T23 Laptop. I have Java 6u16 running in Opera 10 and Iceweasel 3.0.14.
What I did was download the non rpm self extracting pkg from javas site to my Desktop and made it executable . do not copy and paste the $ and # in the code boxes. They are there to show when I am just user $. And to show when I am root user # .
type in passwordCode:$sux
enter
I am now in root.
enterCode:# cd Desktop
then to make it executable I did
enterCode:#chmod a+x jre-6u16-linux-i586.bin
Then I checked to make sure it was executable
enterCode:#ls -l
then I execute it
enterCode:./jre-6u16-linux-i586.bin
Then I say yes to license agreement.
I end up with a Java folder on Desktop next to self extractor file. I trash the self extractor file.
Next I do
Because I am in root. This opens PCMaN file manager as root user also.Code:#pcmanfm
I cut and paste the Java folder from Desktop to /opt folder.
Then I close PCManFM and Terminal. I prefer using rox for making symlinks.
I open Rox and go to show hidden files in /home and pick out /home/.mozilla
I open up the .mozilla folder. I right click on empty space in Rox and make a new directory/folder called plugins. After folder is made . I go to my /opt folder and open it. There is my jre1.60_16 folder. I open it Up. I then open plugin folder . I then open i386 folder. I then open N7 folder. I right click
lavajavaplugin_ojis.so and select link. A small window opens. I will use it to drag and drop the image in it in a second. I open up another Rox file Window.
I tell it to show hidden files and go to /home/.mozilla/plugins folder I just made earlier. I open up the plugins folder. I then drag and drop that image that is in the other link window I mentioned into plugins. I now have a symlink to plugins in /opt/java/plugin/i386/lavajavaplugin_ojis.so in Iceweasel.
I tested this at javas site and it passed the java test. I had no previous java installed on my browser or Antix Install. For Opera 10 it was a lot simpler.
You need to close Opera and Iceweasel and restart them before you test java at javas site.# Go to Tools > Preferences > Advanced > Content.
#
Click the "Java options" button. If this button is dimmed, first check the "Enable Java" option.
#
Click the "Choose" button for the "Java path" field.
#
Navigate to the Java directory and click "OK". The path you are looking for is the directory of your Java installation containing the files libjava.so and libawt.so. On the command line, type:
find / -name libjava.so 2> /dev/null
For example, on a Debian system, the path is:
/usr/lib/jvm/java-1.5.0-sun/jre/lib/i386
#
Click the "Validate Java path" button. If you get an error message, try again with a different path.
#
Click "OK" to save your changes and exit the Java dialog.
#
Click "OK" to save your changes and exit the Preferences dialog.
I just figured I would post how I did it in case anybody reads this. I did not have any previous version of Java installed when I did this.
On my Mint 7 fluxbox install I have a Java6u13 installed on it (comes out of the box with it) and even though I tried this out in Mint. Because I have a previous version of Java. When I test it at Javas site. It reverts to the Java6u13 instead of my Java6u16 in Firefox . In Opera 10 it passes the test OK. Still working my way around that yet. Got some searching to do still.Linux Registered User # 475019
Lead,Follow, or get the heck out of the way
AntiX,Puppy,Ubuntu,Windows 7=(cuz of scooters)
Open CourseWare for Linux Geeks
- 09-27-2009 #2
I was refered to this post which I haven't tested yet but it is a killer script to do what I did with one terminal command.
How To Update Java ??? - MEPISlovers ForumsLinux Registered User # 475019
Lead,Follow, or get the heck out of the way
AntiX,Puppy,Ubuntu,Windows 7=(cuz of scooters)
Open CourseWare for Linux Geeks


Reply With Quote
