Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: denim on December 16, 2009, 03:30:08 AM

Title: Install JRE
Post by: denim on December 16, 2009, 03:30:08 AM
Hi
I want use toonel.net in Tiny Core Linux (Generic Swing Package) http://www.toonel.net/
What Tiny Core Extensions i need install for work this
I think it's jre. But I don't found any in appbrowser
Title: Re: Install JRE
Post by: danielibarnes on December 17, 2009, 11:00:54 AM
I don't know if the license permits TC to redistribute Java. Perhaps others can comment here to help clear that up. However, it is fairly straightforward to install it yourself.

1) Download the jdk-*-linux-i586.bin (or jre) of your choice from java.sun.com. Note: the jdk includes the jre.

2) Execute it in the directory in which you would like to install it (preferably on persistent storage) like this: Assuming the jdk-6u17-linux-i586.bin file is in /home/tc and you want to install to the mounted (make sure!) drive /mnt/sda1, the command is
cd /mnt/sda1/; /home/tc/jdk-6u17-linux-i586.bin -noregister

3) I like to add
export JAVA_HOME=/usr/local/java
ln -s /mnt/hda1/jdk1.6.0_17 $JAVA_HOME
export PATH=$PATH:$JAVA_HOME/bin
to my /etc/profile for programs that require it.
Title: Re: Install JRE
Post by: vinnie on December 19, 2009, 01:10:22 AM
Good information.
However i knew that open jdk has a compatible license.