makeitfaster

performance, scalability and optimizing processes

Java JDK silent install on windows

leave a comment »

I hate next-next-next installers. Up until now, I had to endure the horrors of that, while installing the Java JDK on windows.
Thank to my colleague Erik, I don’t have to do that anymore. With his help, I discovered how to do a silent command line install of the entire JDK:

UPDATE: this article turned obsolete. Instead I’ll provide the link to the “Installation notes” for the windows JDK 7:

http://www.oracle.com/technetwork/java/javase/documentation/install-windows-152927.html

I had succes with this command line:

 

jdk-7u2-windows-i586.exe /s ADDLOCAL="ToolsFeature,SourceFeature" INSTALLDIR="%CD%\jdk7u2"

 

Advertisement

Written by Sebastian Vilstrup

March 25, 2011 at 14:36

Posted in Java

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.