Tiny Core Linux

Tiny Core Base => CorePlus => Topic started by: bn3232 on February 21, 2014, 12:54:23 AM

Title: Java on TinyCore Plus
Post by: bn3232 on February 21, 2014, 12:54:23 AM
Is it possible to install Oracle Java on TinyCore?
java-installer (from repositories) failed to install it.
Is it possible to use Swing or SWT GUI tools in TinyCore?
Title: Re: Java on TinyCore Plus
Post by: tinypoodle on February 21, 2014, 03:41:21 AM
Suggestion:
Peruse search function of this forum with term oracle java
Title: Re: Java on TinyCore Plus
Post by: volkerp on February 21, 2014, 08:45:12 AM
Hi bn3232,

Quote
Is it possible to install Oracle Java on TinyCore?

In the repository you find at least sun-jre and sun-jdk in version 6 and 7. If I understood it correctly, you can install java directly from oracle using the java-installer as well.

Quote
java-installer (from repositories) failed to install it.

Which output did you get after having typed:
Quote
$ sudo java-installer

Quote
Is it possible to use Swing or SWT GUI tools in TinyCore?

I don't know anything about these tools in TC.

Volker
Title: Re: Java on TinyCore Plus
Post by: bn3232 on February 21, 2014, 11:07:35 AM
Quote
In the repository you find at least sun-jre and sun-jdk in version 6 and 7. If I understood it correctly, you can install java directly from oracle using the java-installer as well.
I found neigher sun-jre nor sun-jdk.

Quote
Which output did you get after having typed:
Quote
$ sudo java-installer
sudo java-installer
cleaning... sunccessfull !
unpacking... successfull !
creating... failed !
see /tmp/java-installer.log for details.
/tmp/java-installer.log is empty

Title: Re: Java on TinyCore Plus
Post by: Rich on February 21, 2014, 12:41:36 PM
Hi bn3232
Quote
I found neigher sun-jre nor sun-jdk.
You also don't mention which version of tinycore you are running.

TC4.x:
sun-jdk.tcz
sun-jdk7.tcz
sun-jre.tcz
sun-jre7.tcz

TC5.x:
sun-jre7.tcz
Title: Re: Java on TinyCore Plus
Post by: volkerp on February 21, 2014, 01:26:58 PM
Quote
I found neigher sun-jre nor sun-jdk.

Open the App Browser. Change Search to Tags. Type into the text field: java. Now you should be shown now all relevant Apps.

Quote
    $ sudo java-installer

sudo java-installer
cleaning... sunccessfull !
unpacking... successfull !
creating... failed !
see /tmp/java-installer.log for details.
/tmp/java-installer.log is empty

This output is really not very informative. It could be a version problem. I had a look to the or acle webpage and read, the actual version is 7 Update51.

Now try:

Code: [Select]
$ sudo UPD=51 java-installer
Title: Re: Java on TinyCore Plus
Post by: bn3232 on February 21, 2014, 10:07:35 PM
Quote
You also don't mention which version of tinycore you are running.
I use tinycore 5.2.
You are right. only sun-jre exists in repositories.
Thanks.
Title: Re: Java on TinyCore Plus
Post by: thane on February 22, 2014, 12:00:52 AM
Some time ago I installed Oracle jdk7 and jre7 using java-installer under TC 5.x (I forget the exact version).

Look at the Info for java-installer in the Apps browser.

Double-check that you downloaded the correct Oracle Java version and file type (I blew this a couple times), should be:

jdk-7u51-linux-i586.tar.gz

and should be in /home/tc directory.

Then at /home/tc terminal prompt type:

sudo UPD=51 java-installer

Title: Re: Java on TinyCore Plus
Post by: malikawan on February 24, 2014, 02:42:06 AM
download jdk-7u51-nb-7_4-linux-i586.sh then simply run in command line "sh jdk-7u51-nb-7_4-linux-i586.sh" it will start java installation

Malik Awan