Jump to content

Java SDK and JRE switches


ps7

Recommended Posts

Hi there,

Hope that you are having a good day. I was wondering if anyone knows how to install J2sdk and jre (which is contained in j2sdk) silently.

I have tired to look up in the forum and so far I got this:

ECHO Installing Sun Java VM 1.4.2

ECHO Please wait...

start /wait %systemdrive%\Install\Applications\SunJava\j2re-1_4_2_01-windows-i586.exe /s /v"/qn ADDLOCAL=jrecore IEXPLORER=1"

However, as you know this only install JRE. Thanks in advance.

Parvindar

Link to comment
Share on other sites


Here is the command line for installing in silent mode with all options available

<jre>.exe [/L<language ID>] /s /v "/qn [ADDLOCAL=jrecore[,extra][,other_US] | ALL] [iEXPLORER=1] [NETSCAPE6=1] [MOZILLA=1] [iNSTALLDIR=<drive>:\<install_path>] [REBOOT=Suppress] [JAVAUPDATE=0] [WEBSTARTICON=0]"

Do you want to install the full sdk, as in all components?

start /w jwhatever.exe /s /v "/qn ADDLOCAL=ALL IEXPLORER=1

that should do the trick

The URL for this + extra info:

http://java.sun.com/j2se/1.4.2/docs/guide/...nt.html#running

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...