Installing Java -How If One Can?

Post here if you are a new Porteus member and you're looking for some help.
jimwg
Shogun
Shogun
Posts: 322
Joined: 09 Oct 2013, 18:15
Distribution: porteus
Location: NYC

Installing Java -How If One Can?

Post#1 by jimwg » 07 Feb 2015, 01:02

Greetings:

What's the best method for installing Java as I've run into sites that won't proceed until you install it. USM files give no hint.

Thanks for any suggestions!

Jim in NYC

Michele13
Black ninja
Black ninja
Posts: 60
Joined: 18 Aug 2013, 10:23
Distribution: Based on Debian and Slackware
Location: Italy

Re: Installing Java -How If One Can?

Post#2 by Michele13 » 07 Feb 2015, 11:53

You can install OpenJDK (The Open Source equivalent of Oracle's Java JRE) using Porteus Unified Package Manager
If you want to install the Official Java package you can read this
https://www.java.com/en/download/help/linux_install.xml

I will give you more info as soon as I will try to install it on my porteus as well. I've done it before so I know how to do but, you know, a little revising is harmless :wink:

Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Installing Java -How If One Can?

Post#3 by Bogomips » 07 Feb 2015, 13:06

Would be nice if you can make a tutorial of it 8)
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

User avatar
Slaxmax
Contributor
Contributor
Posts: 408
Joined: 03 Jan 2013, 09:51
Distribution: KDE4
Location: Campinas Brazil https://goo.gl/yrxwKi

Re: Installing Java -How If One Can?

Post#4 by Slaxmax » 07 Feb 2015, 20:09

I make this tutorial for java oracle (source closed)
viewtopic.php?f=75&t=3332
---------------------------------------------------------------------------------------------------------
or download alienbob txz package openjre (opensource)
for 32bit (download openjre txz)
http://www.slackware.com/~alien/slackbu ... g/current/

for 64bit (download openjre txz)
http://www.slackware.com/~alien/slackbu ... 4/current/
----------------------------------------------------------------------------------------------------------
If you download alienbob openjre you need icedtea java plugin
for 32bit (download txz)
http://www.slackware.com/~alien/slackbu ... g/current/

for 64bit (download txz)
http://www.slackware.com/~alien/slackbu ... 4/current/

txz is a slackware package you need convert to xzm porteus module and activate.
Pay attention if you have activate CUPS package or have activate printing module for work java.
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: Installing Java -How If One Can?

Post#5 by Ed_P » 08 Feb 2015, 06:23

Hey Slaxmax, I've used your process to create a 8u31 module but I am having problems with this link: http://www.javagameplay.com/th.html and either of the two java links it points to. I've added the host's URL to the Java Exception Site List but still a no go. Any suggestions?
Ed

User avatar
Slaxmax
Contributor
Contributor
Posts: 408
Joined: 03 Jan 2013, 09:51
Distribution: KDE4
Location: Campinas Brazil https://goo.gl/yrxwKi

Re: Installing Java -How If One Can?

Post#6 by Slaxmax » 08 Feb 2015, 20:40

Hi Ed_P

Please verify your java version
here: https://www.java.com/en/download/installed8.jsp

I have installed java 8u31 and my internet banking works fine (needed java). I use firefox only.

I tested http://www.javagameplay.com/th.html, but does not work. Show ClassFormatError.

Please post your feedback (errors).
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead

jimwg
Shogun
Shogun
Posts: 322
Joined: 09 Oct 2013, 18:15
Distribution: porteus
Location: NYC

Re: Installing Java -How If One Can?

Post#7 by jimwg » 08 Feb 2015, 21:56

Greetings!

Thanks to you all! You folks have handed me an education and a half! If this non-techie can sweat through making it, I'm donating the Java module to the Porteus archives so that other newbies don't have to get burned by trial by fire just to use a new OS too! :D

Jim in NYC

cttan
Shogun
Shogun
Posts: 333
Joined: 26 Jan 2011, 16:15
Distribution: Porteus 3.2 and 4.0 64bit KDE
Location: Malaysia

Re: Installing Java -How If One Can?

Post#8 by cttan » 09 Feb 2015, 03:32

Hi jimwg,

Download these modules using usm select the latest version and put them in /porteus/modules/:-

Code: Select all

# usm -g rhino

 The following items were found.
 Choose an number to confirm. 
 ctrl+c to quit

1) rhino-1_7R3-noarch-1alien.tgz
2) rhino-1_7R4-x86_64-4sl.txz
#? ^C
# usm -g iced

 The following items were found.
 Choose an number to confirm. 
 ctrl+c to quit

1) icedtea-web-1.4.1-x86_64-1alien.txz  3) icedtea-web-1.5.2-x86_64-2alien.txz
2) icedtea-web-1.5.2-x86_64-1sl.txz
#? ^C
# usm -g openjre

 The following items were found.
 Choose an number to confirm. 
 ctrl+c to quit

1) openjre-7u51_b31-x86_64-2gv.txz     3) openjre-7u75_b13-x86_64-1alien.txz
2) openjre-7u71_b14-x86_64-2sl.txz
#? ^C 

Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Installing Java -How If One Can?

Post#9 by Bogomips » 09 Feb 2015, 12:31

@jimwg

And if you are not able to do it, francois will be able to show you how to make one giant module with USM, out of them all, so I believe, for us all. :good:
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

jimwg
Shogun
Shogun
Posts: 322
Joined: 09 Oct 2013, 18:15
Distribution: porteus
Location: NYC

Re: Installing Java -How If One Can?

Post#10 by jimwg » 09 Feb 2015, 20:33

cttan wrote:Hi jimwg,

Download these modules using usm select the latest version and put them in /porteus/modules/:-

Code: Select all

# usm -g rhino

 The following items were found.
 Choose an number to confirm. 
 ctrl+c to quit

1) rhino-1_7R3-noarch-1alien.tgz
2) rhino-1_7R4-x86_64-4sl.txz
#? ^C
# usm -g iced

 The following items were found.
 Choose an number to confirm. 
 ctrl+c to quit

1) icedtea-web-1.4.1-x86_64-1alien.txz  3) icedtea-web-1.5.2-x86_64-2alien.txz
2) icedtea-web-1.5.2-x86_64-1sl.txz
#? ^C
# usm -g openjre

 The following items were found.
 Choose an number to confirm. 
 ctrl+c to quit

1) openjre-7u51_b31-x86_64-2gv.txz     3) openjre-7u75_b13-x86_64-1alien.txz
2) openjre-7u71_b14-x86_64-2sl.txz
#? ^C 
Okay, thanks! Looks daunting but I'll take a shot at it by this weekend by the book!

Jim in NYC

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Installing Java -How If One Can?

Post#11 by francois » 10 Feb 2015, 01:01

Merging would be a good idea, but I do not find brokenmans merge script with updatedb and locate merge commands.

But by putting them in the same folder java-for-web, in the /porteus/module folder it should be enough.

There might be a problem with the porteus 3.1 firefox version. It would be obsolete by a more recent version. See:
viewtopic.php?f=117&t=4346
Prendre son temps, profiter de celui qui passe.

jimwg
Shogun
Shogun
Posts: 322
Joined: 09 Oct 2013, 18:15
Distribution: porteus
Location: NYC

Re: Installing Java -How If One Can?

Post#12 by jimwg » 11 Feb 2015, 13:18

VERY Hard to do so far! :(

Jim in NYC

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Installing Java -How If One Can?

Post#13 by francois » 11 Feb 2015, 14:26

It might look hard but this is easy. There is one package to remove and three to add. There are two methods:

Prerequisite: deactivate and remove 004-firefox.xm.

1) easy solution: use usm gui do download and convert mozilla-firefox-31.4, openjre (or openjdk), rhino and icedtea-web. They will be in the /tmp/usm folder.

2) Or if you prefer working from slackware packages, convert and activate them:
- firefox most recent version:
32 bit:
http://pkgs.org/slackware-14.1/salix-i4 ... /download/
64 bit:
http://pkgs.org/slackware-14.1/salix-x8 ... /download/
- Jdk (jre, does not work):
http://www.slackware.com/~alien/slackbuilds/openjdk/
rhino dependency:
http://www.slackware.com/~alien/slackbuilds/rhino/
icedtea:
http://www.slackware.com/~alien/slackbu ... edtea-web/


Test java here from within firefox:
http://java.com/en/download/installed.jsp

Report on what is difficult for you. We will be glad to help. :)
Prendre son temps, profiter de celui qui passe.

tome
Contributor
Contributor
Posts: 675
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Russia is causing the immense damage to humanity
Contact:

Re: Installing Java -How If One Can?

Post#14 by tome » 11 Feb 2015, 14:34

So many helpers and no-one can help? See last my post here: http://forum.porteus.org/viewtopic.php? ... 6&start=15
If it doesn't help you, I can create for you java module, but tell me what porteus version you use, i486 or x86_64.
You have mind and feelings. Be wise and clever.

Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Installing Java -How If One Can?

Post#15 by Bogomips » 11 Feb 2015, 14:39

We are all helping in our own way :wink:
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

Post Reply