Difference between revisions of "Install Java"

From FreekiWiki
Jump to navigation Jump to search
(apt-get version)
(some clarifications)
Line 7: Line 7:
  
 
==self-extracting file==
 
==self-extracting file==
 +
 +
Adopters with the [[FreekBox|Freek Box 2]] should use the following instructions.
  
 
The instructions at http://www.togaware.com/linux/survivor/Install_Sun.shtml worked to
 
The instructions at http://www.togaware.com/linux/survivor/Install_Sun.shtml worked to
Line 16: Line 18:
 
move or copy it to /usr/local
 
move or copy it to /usr/local
 
be root
 
be root
<pre># j2sdk-1_4_2_05-linux-i586.bin</pre>
+
run the following command to install
 +
./j2sdk-1_4_2_05-linux-i586.bin  
 
(this requires that you agree to the license again)
 
(this requires that you agree to the license again)
<pre># ln -s /usr/local/j2sdk1.4.2_05/bin/* /usr/local/bin</pre>
+
and then the following command to make it findable by the system
 +
ln -s /usr/local/j2sdk1.4.2_05/bin/* /usr/local/bin  
 
(link the bin files into /usr/local/bin)
 
(link the bin files into /usr/local/bin)
  
Line 36: Line 40:
 
(requires creating a symbolic link from the correct file in the plugins
 
(requires creating a symbolic link from the correct file in the plugins
 
directory into the mozilla plugins directory)
 
directory into the mozilla plugins directory)
<pre>
+
 
# cd /usr/lib/mozilla/plugins
+
cd /usr/lib/mozilla/plugins
# ln /usr/local/j2sdk1.4.2_05/jre/plugin/i386/ns610/libjavaplugin_oji.so .
+
ln /usr/local/j2sdk1.4.2_05/jre/plugin/i386/ns610/libjavaplugin_oji.so .
</pre>
+
 
  
 
[[Category:Tech support]]
 
[[Category:Tech support]]

Revision as of 07:19, 13 May 2005

apt-get

Adopters with the Freek Box 3 can use the following method to install Java. Add the following line to /etc/apt/sources.list

deb ftp://ftp.tux.org/java/debian/ sarge non-free

Then use the following commands to install it.

apt-get update
apt-get install j2re1.4

self-extracting file

Adopters with the Freek Box 2 should use the following instructions.

The instructions at http://www.togaware.com/linux/survivor/Install_Sun.shtml worked to install Java.

download sun's self-extracting file j2sdk-1_4_2_05-linux-i586.bin (requires agreement to license)

move or copy it to /usr/local be root run the following command to install

./j2sdk-1_4_2_05-linux-i586.bin 

(this requires that you agree to the license again) and then the following command to make it findable by the system ln -s /usr/local/j2sdk1.4.2_05/bin/* /usr/local/bin (link the bin files into /usr/local/bin)

This does not put the plugin into mozilla, that must be done manually.

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)

cd /usr/lib/mozilla/plugins
ln /usr/local/j2sdk1.4.2_05/jre/plugin/i386/ns610/libjavaplugin_oji.so .