The official JDK, rather than OpenJDK, has been released as jdkPortable: https://portableapps.com/apps/utilities/jdkportable
Description: OpenJDK (Open Java Development Kit) is a free and open source implementation of the Java programming language.
Note: This took almost 2 hours to compile successfully, 15 or so compile tries, and two weeks to figure out what went wrong each time. Woo!
Download OpenJDK Portable 7 Update 9 b02 Development Test 2 [62.6MB download / 159.0MB installed]
Development Test 1 (2012-11-23):
- Initial Release
This is the
j2sdk-imageof the OpenJDK compile output folder. It matched what was in Oracle's distributed JDK, so I copied that. The root output directory included a bunch of other folders/files I didn't recognize, and it totaled up to 1.10GB output. j2sdk-image matches what the file size and contents were suppose to be.
It is compiled from the latest Mercurial official source on November 23rd, 2012, which I believe is b02.
Please test it out and see if it works as it should! Thanks!
When I tried to download this, and the download completed, I got an error message:
OpenJDKPortable_7_....exe is malicious, and Chrome has blocked it.
Before I tweak my antivirus, etc, for a one-off, I'd like to confirm that nothing untoward has happened to the file in the last two years. Can someone confirm that the file is correct, and possibly steer me toward a straightforward resolution?
Click here (virustotal)
I think you just have to click on "keep file" or something in Chrome.
Seems to work fine on Netbeans, if I readjust the launcher.
Too bad PAL doesn't have a built in JDK variable, so I'll probably need to rig custom code up (I assume apps like Eclipse do so to find multiple paths) to find either OpenJDK or other places for JDK.
I created a build of BlueJ portable that uses your build as a dependency. As far as I can tell, my jury-rigged code references it correctly. Thanks again for the work!
Edit: Actually, thanks to your update, I figured out that BlueJ uses a single registry entry, which I had to fix before your version worked appropriately.
I'll be writing up a new guide on compiling this on my web site later. I used some existing ones, but had to tweak it a bit (mainly for 32-bit).
I was just wondering if you could build one of the newer versions (since the massive gaping security holes in Java were found recently). I know it takes a while, so I'm seeing if it's possible to get a jump on this. Thanks again for your work.
I plan to.
Thanks for the hard work.
I know to compile an large open source project it not easy task!
when you upload your guide how to compile in your website,
can you post it here?
you think there is can be to add it to eclipse project and compile it in a single click?
Hopefully this can get made official and nice integration made in the launcher.
I have my Netbeans Portable set to require this, and I managed to make IntelliJ IDEA portable and use this. I could release the "Community" edition of IntelliJ instead of the "Ultimate" edition I made for myself.
It ends up needing this and jPortable in the current form, as I am setting it to use jPortable to not include custom code to find JDK.
I'll probably write a patch to PAL to integrate this in natively.
When I converted BlueJ Portable over to using the JDK Portable, I decided to make the necessary patches. I posted them in Sourceforge and I think that there's still a README file in there about what the changes I made actually do. Hope this helps.
It would be nice to get this pushed into the main app, along with the double backslash stuff I requested. I would like to use this but don't want to mod source and then get an update that overwrites something.
I would gladly commit the changes I made except that I am not that good when it come to knowing how to... If anyone else wants to take those changes and commit them (or tell me how to myself) then feel free to. I think they'd benefit any app that needs the JDK.
Openjdk unofficial builds Github
Stack-overflow relevant quations
I think this guy in Stack-overflow can help you to build the OpenJDK.
I hope it will help.
Not sure how related this is to the official release of jdkPortable. IIRC Oracle's official JDK has some connection with OpenJDK, but I don't know how this should be handled.
Should this be marked as [Released] or not?
If so, the link for the officially released jdkPortable is https://portableapps.com/apps/utilities/jdkportable.
I'm not tagging this as released, as jdkPortable is entirely different, being based off of the original official JDK provided by Oracle.
However, I have added a statement to the original post about jdkPortable being released.
Oracle's JDK for Java 7 & Java 8 have been based on OpenJDK code, so while they are different they are closely related.
I don't see the statement you mentioned in the original post. [Edit: It's showing up now.]