Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Other Distributions > MEPIS Help > How I installed Java 6u16 in AntiX 8.2

Forgot Password?
 MEPIS Help   For help and discussions related to MEPIS

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 09-24-2009   #1 (permalink)
Linux Guru
 
rokytnji's Avatar
 
Join Date: Jul 2008
Location: Pecos, Texas
Posts: 1,503
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 # .

Code:
$sux
type in password
enter
I am now in root.
Code:
# cd Desktop
enter
then to make it executable I did
Code:
#chmod a+x jre-6u16-linux-i586.bin
enter

Then I checked to make sure it was executable
Code:
#ls -l
enter
then I execute it
Code:
./jre-6u16-linux-i586.bin
enter
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
Code:
#pcmanfm
Because I am in root. This opens PCMaN file manager as root user also.
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.
Quote:
# 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.
You need to close Opera and Iceweasel and restart them before you test java at javas site.

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.
__________________
Free Linux Books
Linux Registered User # 475019
And I’ll keep using Linux until they pry it from my cold dead fingers.
rokytnji is offline  


Reply With Quote
Old 09-27-2009   #2 (permalink)
Linux Guru
 
rokytnji's Avatar
 
Join Date: Jul 2008
Location: Pecos, Texas
Posts: 1,503
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 Forums
__________________
Free Linux Books
Linux Registered User # 475019
And I’ll keep using Linux until they pry it from my cold dead fingers.
rokytnji is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 06:53 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2