WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Java on TinyCore Plus  (Read 13650 times)

Offline bn3232

  • Newbie
  • *
  • Posts: 13
Java on TinyCore Plus
« on: February 21, 2014, 03: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?

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Java on TinyCore Plus
« Reply #1 on: February 21, 2014, 06:41:21 AM »
Suggestion:
Peruse search function of this forum with term oracle java
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline volkerp

  • Jr. Member
  • **
  • Posts: 63
Re: Java on TinyCore Plus
« Reply #2 on: February 21, 2014, 11: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
« Last Edit: February 21, 2014, 11:51:08 AM by volkerp »

Offline bn3232

  • Newbie
  • *
  • Posts: 13
Re: Java on TinyCore Plus
« Reply #3 on: February 21, 2014, 02:07:35 PM »
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


Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11618
Re: Java on TinyCore Plus
« Reply #4 on: February 21, 2014, 03: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

Offline volkerp

  • Jr. Member
  • **
  • Posts: 63
Re: Java on TinyCore Plus
« Reply #5 on: February 21, 2014, 04: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

Offline bn3232

  • Newbie
  • *
  • Posts: 13
Re: Java on TinyCore Plus
« Reply #6 on: February 22, 2014, 01:07:35 AM »
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.

Offline thane

  • Hero Member
  • *****
  • Posts: 697
Re: Java on TinyCore Plus
« Reply #7 on: February 22, 2014, 03: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

« Last Edit: February 22, 2014, 03:27:25 AM by thane »

Offline malikawan

  • Full Member
  • ***
  • Posts: 243
Re: Java on TinyCore Plus
« Reply #8 on: February 24, 2014, 05: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