Hello users of Ubuntu 11.10! 
When I first started using Linux (Ubuntu).. getting Java to work on my computer was completely horrible and always failed! The java tutorial on Java.com is a little misleading.. I finally got it to work sooo today in this tutorial we will be installing java and getting the (.so) files into the plugins folder of the firefox browser, so you can accomplish adding java to your computer so you can play java games on your firefox browser!!
LETS START! (*)= Tutorial (#)= Comment
(*) Download the x64 Bit Java LINK --->http://javadl.sun.com/webapps/downlo...BundleId=58119
(*)Drag the (.bin) file from your downloads file to your Desktop!
(*)Open up your terminal
(#)You're gonna need root permissions! I realize this is hard for new users to figure out so I'll show you how!
(#)[Look at spoiler]
(*)
Code:
$ sudo adduser (your name)
$ sudo -i
$ (your login pass)
(#)Now that your the root I advise that you use caution.. don't worry just follow this tutorial you'll be fine!
(#) Back to the tutorial!
(#)[Look in spoiler]
(*)
Code:
$ mkdir /usr/java
$ cd /usr/java
$ mv /home/(username)/Desktop/jre-6u30-linux-x64.bin /usr/java
(#)Now since you got your file to your location! simply make the file EXECUTABLE!
Code:
$ chmod a+x jre-6u30-linux-x64.bin
(#)Now we got it to be executable! lets install it!
$ ./jre-6u30-linux-x64.bin
(#)Now that we have it installed.. we need to install it to the firefox browser.
Code:
$ cd /usr/lib/mozilla/plugins
$ ln -s /usr/java/jre1.6.0_30/lib/amd64/libnpjp2.so
(#)GREAT! Now that the plugin is inside your plugins, we're finished! You now have Java installed on your browser! ;D It's been an honor helping you!
Please comment if this was helpful! Please! Thanks guys, remember to ask for more tutorials I will make a thread!
Bookmarks