You are here

How to use JDK/OpenJDK in PortableApps Launcher?

3 posts / 0 new
Last post
XJDHDR
Offline
Last seen: 2 days 17 hours ago
Joined: 2014-12-31 09:15
How to use JDK/OpenJDK in PortableApps Launcher?

I'm working on making a Java program run in a PortableApps Launcher (specifically Ghidra). The problem I see so far is that this program specifically needs to be run in a JDK environment, and doesn't work with just JRE.

How would someone writing a PA Launcher use any portable JDK the user has installed? For JRE, you simply set the [Dependencies] -> UsesJava key to true/require, set javaw.exe as the ProgramExecutable, and supply the java program as a command line argument. Is there something like this for JDK? Or would I need to write some custom NSIS code to make this work?

XJDHDR
Offline
Last seen: 2 days 17 hours ago
Joined: 2014-12-31 09:15
Any answer?

I'm still interested in finding the answer to this question.

XJDHDR
Offline
Last seen: 2 days 17 hours ago
Joined: 2014-12-31 09:15
Used to be supported

I did some searching and found that at some point in the past, the PAL codebase did have some level of support for the JDK but it was removed at some point. If you open that same file in the current PAL source code, all references to this JDK Mode and code to find JDK directories is not present.

Log in or register to post comments