New Platform 12.0.5. Download or Buy on Drive
Over 300 free and legal portable apps including Xonotic (Mar 1, 2015) needs your help: Please donate today

The Java JDK

segev208 - October 7, 2010 - 8:52am
Share on Facebook

Are there any plans to make a portable Java JDK available?

The extra tools and such it includes are quite useful for portable Java development.

( categories: )


We're in talks with Oracle for permission to do this. It requires permission to repackage and doesn't work as a live installer.

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


Guess they packeged it in some propariety installer.

I wonder how much time it will take them to anwser you...
Considering OpenOffice...

Thanks for anwsering my question Smiling


Couldn't you use OpenJDK? I would love to be able to compile Java programs from my flash drive.

OpenJDK is different

It uses different componenets in a few areas in order to become open source.
Yet this sometimes creates compatibility issues with sun's JRE.

I'm also not really sure on the current state of OpenJDK (how much is complete and such)
As I couldn't find any page specifing this.

In addition they don't seem to supply any pre-built package for Windows. (It might mean that it can't be used on Windows...)

If OpenJDK is offered it should be in addition to the standard closed-source JDK not as a replacment.

Updates? and contribution:

Any word about Oracle's blessing on a portable JDK?

For myself, I've put the JDK in X:\PortableApps\Common\JDK as I don't want to have to install a separate instance of the JDK for every app that needs it.

I'm using the PA.c Launcher for SpringSource Tool Suite, an eclipse based project. I could do the following in some custom NSIS code, but I thought it would be more broadly useful, so I modified Launcher's Java.nsh. You can download the file, and the patch (based off version 2.1):

Then, I simply use: CommandLineArguments= -vm "%JDK_HOME%\bin" to have eclipse use the right JDK.

Any thoughts? Is there a more elegant way to integrate this patch? Something I didn't take into account? Would you prefer a different methodology? General complaints? How do you use the JDK?

[Replaced MediaFire links with Pastebin to make text easier to get at - mod Chris]


This will be forwards incompatible (though updating it to the way it will be done in PAL 2.2 won't be hard). I discussed this and Python support a month ago with John and we came to an approximate decision, I'll finalise it and check with him again and then publish the information. We are planning on supporting the JDK properly in PAL (including for apps that need the JDK, prefer the JDK or need just JRE and not JDK).

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

JDK and Python

Cool - I look forward to seeing PAL 2.2. Are these changes in a source repo somewhere?

Not yet, it seems

I just checked the Launcher's Mercurial repository and there are not changes on it yet.

Previously known as kAlug.

Java stuff

That is to say, the Java stuff isn't in yet. A few new things for 2.2 are, however.

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

Anything new on this? Would

Anything new on this?
Would be funny if there is a review and modification in repository for jdk (beta) support. I would like to test it with netbeans or PortableNetbeans which requires jdk.

The discussion kinda moved...

I know this is way later than most replies, but the discussion just got a reboot here.

Reference Only

The reference implementation is only useful for folks implementing JDK in products. It isn't updated for security issues after release like the Oracle JDK is. It's only purpose is to serve as a reference for other implementations. It's not designed for actual end-user use.

We could do it based on this unofficial OpenJDK for Windows build, though:

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