Difference between revisions of "Install Java"

From FreekiWiki
Jump to navigation Jump to search
 
(15 intermediate revisions by 6 users not shown)
Line 1: Line 1:
The instructions at http://www.togaware.com/linux/survivor/Install_Sun.shtml worked to
+
Note that most machines will already have Java installed. If you would like to manually install it, please follow the instructions [[Multimedia_and_DVDs_in_Ubuntu]].
install Java.
 
  
download sun's self-extracting file j2sdk-1_4_2_05-linux-i586.bin
+
==Installing Java by Force (not THE Force)==
(requires agreement to license)
 
  
move or copy it to /usr/local
+
On most machines, Java should be installed already. If it's not, you can just open up Ubuntu Sofware Center and search for Java.
be root
 
<pre># j2sdk-1_4_2_05-linux-i586.bin</pre>
 
(this requires that you agree to the license again)
 
<pre># ln -s /usr/local/j2sdk1.4.2_05/bin/* /usr/local/bin</pre>
 
(link the bin files into /usr/local/bin)
 
  
This does not put the plugin into mozilla, that must be done manually.
+
For the Java browser plugin, see [[Ubuntu_restricted_extras]]
 
 
In mozilla, go to '''file://usr/local/j2sdk1.4.2_05'''
 
open the '''README.html''' file
 
go to '''System Requiremnts & Installation'''
 
click on the installation instructions link
 
click on the '''J2SDK for Linux''' link
 
go to '''Java Plug-In Browser Registration Instructions'''
 
Click on '''Manual Registration Instructions'''
 
 
 
Or click on the following link: http://java.sun.com/j2se/1.4.2/manual_install_linux.html
 
 
 
follow the instructions
 
(requires creating a symbolic link from the correct file in the plugins
 
directory into the mozilla plugins directory)
 
<pre>
 
# cd /usr/lib/mozilla/plugins
 
# ln /usr/local/j2sdk1.4.2_05/jre/plugin/i386/ns610/libjavaplugin_oji.so .
 
</pre>
 
  
 
[[Category:Tech support]]
 
[[Category:Tech support]]

Latest revision as of 11:41, 24 January 2012

Note that most machines will already have Java installed. If you would like to manually install it, please follow the instructions Multimedia_and_DVDs_in_Ubuntu.

Installing Java by Force (not THE Force)

On most machines, Java should be installed already. If it's not, you can just open up Ubuntu Sofware Center and search for Java.

For the Java browser plugin, see Ubuntu_restricted_extras