Google Site SearchFN Site Search FN Blog Login FN Blog Login
Site Navigation:
 
 

TUTORIAL: Blackdown Java

by Thomas Chung

In this tutorial you will learn how to install Blackdown Java for Fedora Core 1.

What is Blackdown Java?

The term "Blackdown Java" describes a group of Sun Java products ported to Linux by the Blackdown development team. Blackdown was the first group to port Java 1.0, 1.1, and then 1.2 to Linux.

For more information about Blackdown Java Linux Project, please visit java-linux@java.blackdown.org FAQ

Download j2re-1.4.2-rc1-linux-i586-gcc3.2.bin from following URL: 
TIP: Press shift key before click on the file to download.

ftp://ftp.tux.org/pub/java/JDK-1.4.2/i386/rc1 
or
ftp://metalab.unc.edu/pub/linux/devel/lang/java/blackdown.org/JDK-1.4.2/i386/rc1

Check the Mirror Site as well.

###

Add executable bit to the file then execute it to extract the contents.

[tchung@localhost tchung]$ cd ~/download/
[tchung@localhost download]$ ll
total 13024
-rw-rw-r--    1 tchung   tchung   13315794 Jan 23 00:16 j2re-1.4.2-rc1-linux-i586-gcc3.2.bin
[tchung@localhost download]$ chmod +x j2re-1.4.2-rc1-linux-i586-gcc3.2.bin
[tchung@localhost download]$ ll
total 13024
-rwxrwxr-x    1 tchung   tchung   13315794 Jan 23 00:16 j2re-1.4.2-rc1-linux-i586-gcc3.2.bin
[tchung@localhost download]$ ./j2re-1.4.2-rc1-linux-i586-gcc3.2.bin

You will need to agree with license terms in order to continue.

###

Move the extracted directory j2re1.4.2 to /usr/local and
add /usr/local/j2re1.4.2/bin for PATH environment in your local bash profile

[tchung@localhost download]$ ll
total 13028
drwxr-x---    8 tchung   tchung       4096 Jan 23 00:27 j2re1.4.2
-rwxrwxr-x    1 tchung   tchung   13315794 Jan 23 00:16 j2re-1.4.2-rc1-linux-i586-gcc3.2.bin
[tchung@localhost download]$ sudo mv j2re1.4.2 /usr/local
Password:
[tchung@localhost download]$ cd ~
[tchung@localhost tchung]$ vi .bash_profile

PATH=$PATH:$HOME/bin:/usr/local/j2re1.4.2/bin

[tchung@localhost tchung]$                                                                                               

###

Create a symbolic link for javaplugin in Mozilla Plugins directory

[tchung@localhost tchung]$ cd /usr/lib/mozilla/plugins
[tchung@localhost plugins]$ sudo ln -s /usr/local/j2re1.4.2/plugin/i386/mozilla/libjavaplugin_oji.so .
[tchung@localhost plugins]$ ll libjavaplugin_oji.so
lrwxrwxrwx    1 root     root           61 Jan 23 00:56 libjavaplugin_oji.so -> /usr/local/j2re1.4.2/plugin/i386/mozilla/libjavaplugin_oji.so
[tchung@localhost plugins]$

###

Logout from your system and log back in
Check javaplugin from Mozilla by going to Help > About Plug-ins

Screenshot: about-plugins.png