get_java-1.1 - April 30, 2018

Core libraries and systems
Message
Author
User avatar
rerwin
Posts: 2017
Joined: Wed 24 Aug 2005, 22:50
Location: Maine, USA

get-java-0.4-beta uploaded

#16 Post by rerwin »

I have upgraded get_java to its final configuration and released it for testing. Its main improvements are:
  • - Downloads either Java Runtime or Java Development Kit.
    - Functions in pupmode 5, new bootup from CD.
    - "Magic" editing scripts moved to configuration file for maintenance when web pages are modified.
Plus some bug fixes.

I intend that 0.4 will become 1.0 after any newly found bugs are fixed. Please post/PM any issues you might have with this version. Everything should be intuitive or self explanatory. Please help me make it so.

Thanks for all of your help in testing this project.
Richard

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

get_java-0.4-beta - December 2, 2015

#17 Post by L18L »

Updated German translation attached.
Attachments
get_java_de.tar.gz
(6.01 KiB) Downloaded 598 times

User avatar
rerwin
Posts: 2017
Joined: Wed 24 Aug 2005, 22:50
Location: Maine, USA

get-java-0.5-rc and updated javaif uploaded

#18 Post by rerwin »

I have further upgraded both get_java and javaif to new final configurations and released them as release candidates. Their main improvements are:
  • - Added support for flash drive installations (pupmodes 3,7,13)
    - SFS file compression (gz/xz) and naming similar to that of get_libreoffice
    - Dialog text clarifications (Thanks, L18L)
    - Interface improvement for SFS packages with conflicting profiles
Plus more bug fixes.

I now intend that version 0.5 will become 1.0, but with any further fixes needed.

Note that get_java works on both 32-bit and 64-bit puppy installations and can produce packages for either architecture and will not offer to install an inappropriate package.

As to get_java in FatDog64, it produces the SFS and PET files, but they cannot be installed automatically due its different package and SFS loading functions. Furthermore, when I tried converting the PET file to the fatdog structure, the converted file failed to install. I could not find any diagnostic information, so could not pursue the issue further.

As before, please report anything that does not seem right with get_java or the Java interface (javaif) package.
Richard
Last edited by rerwin on Sun 27 Dec 2015, 18:51, edited 1 time in total.

User avatar
rerwin
Posts: 2017
Joined: Wed 24 Aug 2005, 22:50
Location: Maine, USA

get_java-1.0 released! Done!

#19 Post by rerwin »

I have replaced the release candidates with the actual releases, although the contents are identical to the candidates. I simply renamed the directories and rebuilt them without any changes.

Thank you, all, for working with me on this project, which is now complete, unless bugs are found and reported.
Richard

User avatar
rerwin
Posts: 2017
Joined: Wed 24 Aug 2005, 22:50
Location: Maine, USA

javaif package replaced

#20 Post by rerwin »

This package is now maintained under woof-CE, so can be included in future Puppy distro versions. While submitting it, I updated the interface package to correct a minor bug that eventually resolves itself anyway. The details are in the new "UPDATE" paragraph in the first message of this thread.

A day later, I updated the package further, to avoid the possibility of duplicate menu entries for the Java Control Panel.
Richard

tlchost
Posts: 2057
Joined: Sun 05 Aug 2007, 23:26
Location: Baltimore, Maryland USA
Contact:

error in download

#21 Post by tlchost »

in tahr605, get_java reports it can not find the files to download the runtime environment

tlchost
Posts: 2057
Joined: Sun 05 Aug 2007, 23:26
Location: Baltimore, Maryland USA
Contact:

Bump

#22 Post by tlchost »

Bump

User avatar
rerwin
Posts: 2017
Joined: Wed 24 Aug 2005, 22:50
Location: Maine, USA

#23 Post by rerwin »

tlchost,
Sorry to be so slow in addressing the problem. Thanks for keeping after me about it.

I have added a fix package at the beginning of this thread, that changes 3 editing scripts that extract links to the download packages. This is just a matter of keeping up with Oracle's web page changes.

EDIT: Also uploaded get_java version 1.0.1, which contains the patch and now shows the version number (1.0.1) in the window title.
Last edited by rerwin on Sun 21 Aug 2016, 17:01, edited 1 time in total.

tlchost
Posts: 2057
Joined: Sun 05 Aug 2007, 23:26
Location: Baltimore, Maryland USA
Contact:

#24 Post by tlchost »

rerwin wrote:tlchost,
Sorry to be so slow in addressing the problem. Thanks for keeping after me about it.
Thanks....works like a charm!

gcmartin

#25 Post by gcmartin »

+1

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#26 Post by Semme »

Richard, your latest version built the SFS OK, but when loaded has none of its /bin binaries symlinked on Tahr64-605's $PATH.

A quick manual symlink to ~/my-applications/bin revealed:

Code: Select all

java version "1.8.0_102"
Java(TM) SE Runtime Environment (build 1.8.0_102-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.102-b14, mixed mode)
So, sans the above mention, fine here.

==

:idea: I suppose it's more elegant to append the path in /etc/profile.
Attachments
no-plugin-symlink-for-ootb-palemoon-aboard-tahr64-605.jpg
(15.01 KiB) Downloaded 664 times
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<

User avatar
rerwin
Posts: 2017
Joined: Wed 24 Aug 2005, 22:50
Location: Maine, USA

#27 Post by rerwin »

Semme,
If you let get_java load the SFS file when it asks, the links get set. If you load the SFS later, they are not set because the SFS loader does not know that they are needed. Therefore, you need to reboot after loading the SFS file, because the links get set during bootup.

User avatar
Uten
Posts: 129
Joined: Tue 29 Jan 2008, 11:00

#28 Post by Uten »

Nice job @rerwin

Unfortunately, as of writing it looks like the web pages has changed, breaking this tool.

For some reason I stumbled upon the beta version of get_java before I found this 1.0.1 version. I got the beta working. Unfortunately those changes could not be merged into the 1.0.1 config file.

Wonder if the problem is that the download page asks for eula confirmation before downloading?

If someone has time to figure it out and update this tool, it would be great.

Happy coding..:o)
Uten

User avatar
rerwin
Posts: 2017
Joined: Wed 24 Aug 2005, 22:50
Location: Maine, USA

#29 Post by rerwin »

Uten,

Thanks for reporting this problem. I, too, noticed it but was a little slow in getting it resolved.

Package get_java-1.1 is now available for all puppies, because it is "gz" compressed. It does not work in Easy or the "dogs".

Richard

User avatar
vtpup
Posts: 1420
Joined: Thu 16 Oct 2008, 01:42
Location: Republic of Vermont
Contact:

#30 Post by vtpup »

Sorry Rerwin, it doesn't seem to work, again....
Attachments
Javaerrormsg.jpg
(80.34 KiB) Downloaded 235 times
[color=darkblue]Acer Aspire 5349-2635 laptop Tahrpup.[/color]
[color=blue]Acer R11 and C720 Chromebks Bionicpup64[/color]
[color=olive]Acer Iconia A1-830 tablet no pup[/color]
[color=orange]www.sredmond.com[/color]

User avatar
vtpup
Posts: 1420
Joined: Thu 16 Oct 2008, 01:42
Location: Republic of Vermont
Contact:

#31 Post by vtpup »

Another problem:

I tried manually downloading the JRE tarball from Oracle and installing w/ get-java 1.1. I chose the sfs option. It created an sfs, but it never worked.

I did try the immediate-use option, and also made sure it was selected for boot loading in Boot Manager. When it failed, I tried several times again by rebooting, but Java Control Panel never saw it as present.

Then I tried creating JRE as a .pet and loading with the Puppy package manager. This time it worked and Java Control Panel did see it. However several other of my programs stopped working.

I realized that the problem was that the Java Installer was installing to /opt/.

Because I run and test several puppies, I had long ago moved the opt folder to /mnt/home, and then I always link back to /. Apparently the Java Control Panel doesn't like this and overwrites the link with a new /opt/ folder, and installs JRE in that. Thus JRE works but my other apps in /mnt/home/opt don't.

However, I was able to move the /opt/ JRE contents over to /mnt/home/opt/, and then delete the /opt/ folder and make a new link back. And everything worked after that.

I suspect something similar happened when the sfs version failed to install in /mnt/home/opt/
[color=darkblue]Acer Aspire 5349-2635 laptop Tahrpup.[/color]
[color=blue]Acer R11 and C720 Chromebks Bionicpup64[/color]
[color=olive]Acer Iconia A1-830 tablet no pup[/color]
[color=orange]www.sredmond.com[/color]

Post Reply