Page 1 of 2

Java Runtime Environment 8u45 sfs for PuppyLinux

Posted: Fri 29 May 2015, 01:17
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

Posted: Fri 29 May 2015, 03:36
by slavvo67
I'm a 32! Woo Hoo!

Posted: Fri 29 May 2015, 12:23
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.

Posted: Fri 29 May 2015, 13:07
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.

Posted: Fri 29 May 2015, 18:18
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.

Posted: Fri 29 May 2015, 18:46
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

Posted: Fri 29 May 2015, 21:03
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.

Posted: Fri 29 May 2015, 23:14
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

Posted: Tue 07 Jul 2015, 13:09
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?

JDK packages for 32bit PUP distros

Posted: Tue 07 Jul 2015, 23:25
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.

Posted: Thu 09 Jul 2015, 20:40
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

Posted: Fri 10 Jul 2015, 14:51
by darkcity
Thanks for the reply : -)

JRE8U45 is needed

Posted: Tue 01 Mar 2016, 06:56
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.

Thanks Musher0 ! Last Datacrows could not fly without it.

Posted: Thu 09 Jun 2016, 17:53
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.

Posted: Fri 10 Jun 2016, 07:58
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.

Posted: Fri 10 Jun 2016, 17:48
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

Posted: Mon 13 Jun 2016, 06:53
by s-kami
Hungarian forum member NTamas creates latest java packages, avaible here:

http://skamilinux.hu/phpBB3/viewtopic.p ... 4088#p4088

JavaTunes needs version 6

Posted: Thu 07 Jul 2016, 06:06
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.

find applications to run with it..

Posted: Wed 08 Feb 2017, 11:52
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.

Posted: Wed 08 Feb 2017, 18:47
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.