You are here

The Java JDK

14 posts / 0 new
Last post
segev208
Offline
Last seen: 2 years 8 months ago
Joined: 2010-07-16 08:41
The Java JDK

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.

John T. Haller
John T. Haller's picture
Online
Last seen: 29 min 13 sec ago
AdminDeveloperModerator
Joined: 2005-11-28 22:21
Permission

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!

segev208
Offline
Last seen: 2 years 8 months ago
Joined: 2010-07-16 08:41
Orcale...

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

cela0811
Offline
Last seen: 2 years 11 months ago
Joined: 2010-10-07 17:50
OpenJDK???

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

segev208
Offline
Last seen: 2 years 8 months ago
Joined: 2010-07-16 08:41
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.

techgurufloyd
Offline
Last seen: 3 years 10 months ago
Joined: 2011-05-31 23:03
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]

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 3 days 17 hours ago
DeveloperModerator
Joined: 2007-04-15 21:08
Incompatible

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

techgurufloyd
Offline
Last seen: 3 years 10 months ago
Joined: 2011-05-31 23:03
JDK and Python

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

Aluísio A. S. G.
Offline
Last seen: 1 month 2 weeks ago
DeveloperTranslator
Joined: 2010-11-09 17:43
Not yet, it seems

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

Previously known as kAlug.

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 3 days 17 hours ago
DeveloperModerator
Joined: 2007-04-15 21:08
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

flybyray
Offline
Last seen: 3 years 9 months ago
Joined: 2010-03-27 08:12
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.

darksabre76
Offline
Last seen: 3 hours 47 min ago
Developer
Joined: 2011-04-19 23:28
The discussion kinda moved...

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

farat_as
Offline
Last seen: 1 day 4 hours ago
Joined: 2012-02-14 09:02
https://blogs.oracle.com/henr
John T. Haller
John T. Haller's picture
Online
Last seen: 29 min 13 sec ago
AdminDeveloperModerator
Joined: 2005-11-28 22:21
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:
https://github.com/alexkasko/openjdk-unofficial-builds#openjdk-unofficia...

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

Log in or register to post comments