Java Runtime Environment 8u45 sfs for PuppyLinux

Miscellaneous tools
Message
Author
musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

Java Runtime Environment 8u45 sfs for PuppyLinux

#1 Post by musher0 »

Hello, all.

Judging from the results in the forum search function, it doesn't seem that
anyone has advertised a recent JRE upload for Puppy, so I created one.

I've assembled the latest JRE-8u45 as an sfs file. You can download it
from here.

Created from the original, downloaded from this Oracle site.

It's for 32-bit Puppies. If you're a 64-bit Puppy user, woosh-woosh, run
along, there's nothing here for you! ;)

I've set it up in /opt with links to java binaries in /usr/bin. jajuk, borg,
datacrow, etc., run just fine with it on my slacko-6.0b.

Questions & comments welcome.

Enjoy. Bye for now.

musher0
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

slavvo67
Posts: 1610
Joined: Sat 13 Oct 2012, 02:07
Location: The other Mr. 305

#2 Post by slavvo67 »

I'm a 32! Woo Hoo!

User avatar
Argolance
Posts: 3767
Joined: Sun 06 Jan 2008, 22:57
Location: PORT-BRILLET (Mayenne - France)
Contact:

#3 Post by Argolance »

Bonjour,
Thank you very much musher0. :D
Question: are "JRE-8u45" and "jre-1.8.0-25" (for example!) different things? Are they both to be installed? Can the first one replace the second?
I admit it is not very clear for me, sorry!
I plan to upload jajuk and datacrow on the ToOpPy server soon...

Cordialement.

User avatar
OscarTalks
Posts: 2196
Joined: Mon 06 Feb 2012, 00:58
Location: London, England

#4 Post by OscarTalks »

Hi musher0,

If I may offer a suggestion it might be an idea to chown -R everything to root:root. I often find that unpacked tarballs have strange ownerships. Usually it still all works when Puppy is running as root but I seem to recall that when shinobar was uploading JRE packages there was a problem and we tracked it down to this issue.

I do sometimes upload JRE packages to my http://smokey01.com/OscarTalks storage, but I don't mention it much. Recently I have started using JDK instead which I unpack in /mnt/home (so as not to use savefile space) and then I just add the bin path to PATH in /etc/profile. I believe poster gjuhasz also sometimes uploads JRE packages http://murga-linux.com/puppy/viewtopic.php?t=91560 but not always so the more the merrier I say. We do really need someone who uses java regularly to post the updates regularly.

@ Argolance,

Someone will correct me if I am wrong but I believe they are pretty much the same thing. The package name is jre-8u45 but when you extract the tarball the directory name is jre1.8.0_45 so you do not need to install 2 packages.
Oscar in England
Image

User avatar
Argolance
Posts: 3767
Joined: Sun 06 Jan 2008, 22:57
Location: PORT-BRILLET (Mayenne - France)
Contact:

#5 Post by Argolance »

OscarTalks wrote:@ Argolance,

Someone will correct me if I am wrong but I believe they are pretty much the same thing. The package name is jre-8u45 but when you extract the tarball the directory name is jre1.8.0_45 so you do not need to install 2 packages.
Thanks!

Cordialement.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#6 Post by musher0 »

Argolance wrote:
OscarTalks wrote:@ Argolance,

Someone will correct me if I am wrong but I believe they are pretty much the same thing. The package name is jre-8u45 but when you extract the tarball the directory name is jre1.8.0_45 so you do not need to install 2 packages.
Thanks!

Cordialement.
Hello, Argolance.

As OscarTalks says, they are the same thing. I used upper-case letters
in the name of the sfs, that's all. (Typo: the "25" in your post should
actually be a "45".)

@OscarTalks
I didn't know that, about permissions in some sfs's. Thanks for
stretching my antennas!

Bye for now.

musher0
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

gcmartin

#7 Post by gcmartin »

Hello @OscarTalks. And yes, I remember your prior works with @Shinobar.

I would ask; respectfully, if you,like @Musher0, would post an entry on this forum page any updates/links to JDK that you buld. This makes it easy for users and developers to know what's available/preexisting for JAVA.

The only other item to mention is this
JAVA libraries: If all developers use a consistent library pathing, it could make life very simple to movements withing versions. I am NOT sure what JAVA recommends on the issue of library placements for consistency.

Thanks for what you guys do in this area of need.

User avatar
OscarTalks
Posts: 2196
Joined: Mon 06 Feb 2012, 00:58
Location: London, England

#8 Post by OscarTalks »

The method I am using now is to download the jdk tarball, unpack it into /mnt/home, rename the directory as just jdk for simplicity, add the path /mnt/home/jdk/bin to the end of the PATH line (separated by a colon) in /etc/profile and reboot. You have the option to create the symlink too if you want the browser plugin. Others may wish to try doing this or something similar, but it is not practical to offer this as a package for others to install or load.

EDIT:-
If anyone does want jdk as a package I guess you could just do it like this. I placed the main directory with its name unaltered in /usr/local/java and symlinked all the bins into /usr/local/bin plus the symlink for the browser plugin in /usr/lib/mozilla/plugins and icon and .desktop file for the control panel. (Now hosted at Yandex Disk)
https://yadi.sk/d/5aP6BYgSoJ5Hp
Last edited by OscarTalks on Tue 01 Mar 2016, 12:06, edited 1 time in total.
Oscar in England
Image

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

#9 Post by darkcity »

Thanks for new JavaRE package, added to

http://www.puppylinux.org/wikka/JavaRuntimeEnvironment

8)

Unfortunately, I get the 'unable to mount' error when I try to load with SFS-Load (on the fly), I'm using Slacko 5.3.1.

---

For anyone struggling with Mozilla integration there is a new symlink plugin location:

ln -s /usr/java/java/lib/i386/libnpjp2.so ~/.mozilla/plugins/libnpjp2.so

Also, it seems JavaRE now requires every site to be made a security exception to run?

gcmartin

JDK packages for 32bit PUP distros

#10 Post by gcmartin »

Edited: @OscarTalks has already created the JDKs over a month ago. My knowledge of his current JDK packages did NOT exist prior to my post. Anyone else looking for the current JDK will find it on this site from him.

Original post
OscarTalks wrote:... If anyone does want jdk as a package I guess you could just do it like this. ...
Yes, I feel something like this for community use would be a plus. It would match free education requirement which currently is set only for Windows/Macs JDK installs (because most developers have Windows/Macs PCs; including @BarryK). If the libraries are standard, it would make it easy for the JAVA plugins (eClipse, for example) to be added.

Thanks if this can be placed alongside the JRE in the opening thread(s) and alert us via its subject field.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#11 Post by musher0 »

darkcity wrote:Thanks for new JavaRE package, added to
http://www.puppylinux.org/wikka/JavaRuntimeEnvironment
8)

Unfortunately, I get the 'unable to mount' error when I try to load with SFS-Load (on the fly), I'm using Slacko 5.3.1.

---
For anyone struggling with Mozilla integration there is a new symlink plugin location:
ln -s /usr/java/java/lib/i386/libnpjp2.so ~/.mozilla/plugins/libnpjp2.so

Also, it seems JavaRE now requires every site to be made a security exception to run?
Hi, darkcity.

Thanks much for the reference on the Puppy wikka and for the new
symlink advice.

As to an SFS-Load error, I didn't seem to get one when I tried it (on
Puppy Precise 5.4.3 and the new 666philb's upups). I must say that I
seldom use SFS-Load. "By default", I prefer to include my sfs files in the
regular sfs add-on list that is processed at boot time.

BFN.

musher0
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

#12 Post by darkcity »

Thanks for the reply : -)

Pelo

JRE8U45 is needed

#13 Post by Pelo »

Datacrows needs Java to fly and research all the data needed by your Database .JRE8U45 is needed by makagiga because it's a brand new todoList
Datacrow is needed by people, not by linuxians, Makagiga would be more for your wifes, to remember what tasks remain to do at home, apart from dressing and undressing our sweet Puppy. (puppy comes from poupée).

Java Runtime Environment is a virtualbox, is'nt it ?
Unfortunately developers are missing for updating the menu of Java applications. Only remain some retired people computing at home. So you can often find better apps without Java needed.
Last edited by Pelo on Thu 07 Jul 2016, 06:18, edited 1 time in total.

Pelo

Thanks Musher0 ! Last Datacrows could not fly without it.

#14 Post by Pelo »

Java Runtime Environment 8u45 sfs for PuppyLinux.
Thanks Musher0 ! Last Datacrows could not fly without it.
Warning :!: some apps will not run with last Java . Why ? I don't know.
Attachments
Marans.jpg
Java Runtime Environment 8u45 sfs for PuppyLinux loaded on the fly
(63.78 KiB) Downloaded 2690 times

User avatar
Argolance
Posts: 3767
Joined: Sun 06 Jan 2008, 22:57
Location: PORT-BRILLET (Mayenne - France)
Contact:

#15 Post by Argolance »

Bonjour,
Pelo wrote:Last Datacrows could not fly without it.
You just found it? Is it the place to report your great discovery? More: It seems that you never heard of the French translation I uploaded for testing on the relatve French Data Crow thread...
"Much ado about nothing" (Shakespeare) :roll:

Cordialement.

User avatar
s-kami
Posts: 138
Joined: Thu 30 Apr 2009, 11:56
Location: Hungary
Contact:

#16 Post by s-kami »

insert at the bottom of the file /etc/profile:

Code: Select all

export JAVA_HOME=/java
export PATH=$PATH:$JAVA_HOME/bin

LD_LIBRARY_PATH=/java/lib:$LD_LIBRARY_PATH   

Image
[b]Hungarian Puppy Linux HQ[/b]
[url]http://skamilinux.hu[/url]
[img]https://skamilinux.hu/phpBB3/styles/prosilver/theme/images/site_logo.gif[/img]

User avatar
s-kami
Posts: 138
Joined: Thu 30 Apr 2009, 11:56
Location: Hungary
Contact:

#17 Post by s-kami »

Hungarian forum member NTamas creates latest java packages, avaible here:

http://skamilinux.hu/phpBB3/viewtopic.p ... 4088#p4088
[b]Hungarian Puppy Linux HQ[/b]
[url]http://skamilinux.hu[/url]
[img]https://skamilinux.hu/phpBB3/styles/prosilver/theme/images/site_logo.gif[/img]

Pelo

JavaTunes needs version 6

#18 Post by Pelo »

:evil: you can use the Jre version that works for your application , or a newer.
I mean that for people with low ram on old computer, no need to install the last one.

JavaTunes needs version 6 of Jre to play Frenchs songs on the Hungarian Thin Slacko 5.3.3.
Sometimes a newer version will not work.
Attachments
LaBelleFermiere.jpg
Save computers from destroy, with s-kami's Slacko 533 Made in Hungaria !
(67.88 KiB) Downloaded 321 times

Pelo

find applications to run with it..

#19 Post by Pelo »

s-kami , the problem with java is not so much to find newest versions of Java Runtime Environment than to find applications to run with it..
DataCrow, Jajuk, and makagiga (needs version 8 ) are of some interest.
Last edited by Pelo on Mon 13 Feb 2017, 10:56, edited 1 time in total.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#20 Post by musher0 »

Hello all.

I don't think it is useful to continue this thread on the old JRE 8u45, since as
I looked today, the current version of java is Version 8 Update 121,
published Jan. 17, 2017.

Can I suggest that you discuss the java programs in their own threads or
create a new thread for discussion? People will not look here for a
discussion of datacrow, for example.

Best regards.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

Post Reply