You are here 705137

[Bug] PAL does not jdkPortable 2x5o43

6 posts / 0 new
Last post
Gord Caswell
Gord Caswell's picture
Offline
Last seen: 1 month 6 days ago
Developer
ed: 2008-07-24 18:46
[Bug] PAL does not jdkPortable

With the release of jdkPortable, for the same has not yet been added to PAL. It is, however, on my todo list.

NB - Marked as a bug for tracking purposes.

Gord Caswell
Gord Caswell's picture
Offline
Last seen: 1 month 6 days ago
Developer
ed: 2008-07-24 18:46
2 methods

There are essentially two methods for adding this to PAL.

  1. is added for jdkPortable alongside jPortable in Java.nsh, when searching for the JRE. This requires adding no extra Activate keys in launcher.ini.
  2. is added for jdkPortable alongside jPortable in Java.nsh, but is searched for in line with a new launcher.ini Activate key.

I'm personally leaning towards the second option, as it's possible s have both jPortable and jdkPortable installed, and unless jdkPortable was given priority over jPortable, there's the possibility jdkPortable would not be found by the launchers if jPortable exists.

John T. Haller
John T. Haller's picture
Offline
Last seen: 8 hours 49 min ago
DeveloperTranslator
ed: 2005-11-28 22:21
1 and 2

I'm in favor of both. For the 1st instance, where an app needs a JRE, look for jPortable first and the JRE within jdkPortable second.

In the second instance, an app needs JDK not JRE, we should figure out how that works now with Netbeans and the like and add a key and logic just for that.

Sometimes, the impossible can become possible, if you're awesome!

Gord Caswell
Gord Caswell's picture
Offline
Last seen: 1 month 6 days ago
Developer
ed: 2008-07-24 18:46
Agreed

Ok, so we're in agreement then.

Matt made a merge request a while back, and I'm incorporating much of his work.

Gord Caswell
Gord Caswell's picture
Offline
Last seen: 1 month 6 days ago
Developer
ed: 2008-07-24 18:46
added

I've added for jdkPortable to PAL.

Please test in a forked copy of the repository.

If others can confirm this works as intended, I'll push the changes to the official repository.

John, I'll you offline with a copy.

Gord Caswell
Gord Caswell's picture
Offline
Last seen: 1 month 6 days ago
Developer
ed: 2008-07-24 18:46
Added August 2017

This was added to the official repo in August 2017.

to post comments