views:

45

answers:

3

I just downloaded the Java SDK/JDK versions 5 and 6, and I just need the development tools (and some libraries) contained in the installation packages, I don't need to perform an installation and that's why I was only looking for a zip package at first (for Windows there is only an exe installation file), I only need to extract the contents of the installation packages, I think this can be done from the command line but so far I haven't found how to do this (I already considered WinRar and 7-Zip, but I really want to find how to do it without using these tools)

Have you done this before and how?

+2  A: 

I use 7-zip to do that...it seems to handle that installer/self-extracting executables nicely...

Hope this helps, Best regards, Tom.

tommieb75
@Abel: You just open the installer with 7-Zip - I've done this before.
Software Monkey
Thanks, I tried this one, and worked great for JDK 6, but for JDK 5 I get files that are useless and that I'm sure that need to be handled in some way by the installer in order to be converted to something useful.
Abel Morelos
+1  A: 

Maybe you can try Universal Extractor. The site looks legit, but I havent tried it myself.

Thimmayya
+2  A: 

You can do the installation once and then zip up the installed stuff placed under \Programs\Java.

This can be unzipped elsewhere later and used as a JDK in most IDE's without needing a full reinstall (but then Windows does not know about it)

Thorbjørn Ravn Andersen
Thanks, this is what I have decided to do =)
Abel Morelos