Oracle Sun Java 2 SDK

Version: 1
Views: 1.4k  |  Created: 10/01/2007

Average Rating: 0
Sun Java 2 SDK has 1 inventory records, 1 Questions, 0 Blogs and 0 links. Please help add to this by sharing more!

Deployment Tips (3)

Most Common Setup Type
Not Determined
Average Package Difficulty Rating
Rated 0 / 5 (Not Rated) based on 0 ratings
Most Commonly Reported Deployment Method
Not Determined
or cancel
118
Command Line
Here is the command line for installing in silent mode:

<sdk>.exe /s /v "/qn [ADDLOCAL=ToolsFeature[,DemosFeature][,SourceFeature] [INSTALLDIR=<drive>:\<install_path>] [REBOOT=Suppress]"


where

<sdk>.exe is the single executable installer for the Java 2 SDK; ADDLOCAL, if used, is either ToolsFeature[,DemosFeature][,SourceFeature]; INSTALLDIR, if used, specifies the drive and path of the installation; and REBOOT=Suppress, if used, indicates that if locked files are encountered the computer should not be rebooted.

If ADDLOCAL=ToolsFeature[,DemosFeature][,SourceFeature] is used,

ToolsFeature indicates the tools of the J2SDK will be installed;

DemosFeature (optional) indicates that the J2SDK demos will be installed;

SourceFeature (optional) indicates that the src.zip file including the j2sdk source will be installed.

If ADDLOCAL is not used, then all of the features will be installed.

If INSTALLDIR is not specified, the installation will go into [WindowsVolume]:Program Files\j2sdk1.5.0 (default location).

Examples

Suppose the J2SDK installer is j2sdk-1_5_0-beta-bin-b32-windows-i586-19_dec_2003.exe and you want to install the J2SDK tools and demos. Then the command would be:

j2sdk-1_5_0-beta-bin-b32-windows-i586-19_dec_2003.exe /s /v "/qn ADDLOCAL=ToolsFeature,DemosFeature"

Or suppose you want all features to be installed, and you want the installation on the D drive at java\j2sdk1.5.0. Then the command line could be simply:

j2sdk-1_5_0-beta-bin-b32-windows-i586-19_dec_2003.exe /s /v "/qn INSTALLDIR=D:\java\j2sdk1.5.0"

You may find it convenient to use the "start /w" command, as that will cause MS-DOS to wait until the install is complete. For example:

start /w j2sdk-1_5_0-beta-bin-b32-windows-i586-19_dec_2003.exe /s /v "/qn INSTALLDIR=D:\java\j2sdk1.5.0"

This is the command line for uninstalling in silent mode for Implementation-Version n1.n2.n3_n4n5:

MsiExec.exe /qn /x {32A3A4F4-B792-11D6-A78A-00B0D0n1n2n3n4n50}
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
117
Note

The command is case sensitive and there must be no spaces in the features listed with ADDLOCAL.

Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
0
Command Line

Must be upercase /S (at least in the case of the install of jdk-1_5_0_22-windows-amd64.exe)

Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment

Inventory Records (1)

View inventory records anonymously contributed by opt-in users of the K1000 Systems Management Appliance.

Versions

Sun Java 2 SDK

Version

1

Questions & Answers (1)

Questions & Answers related to Oracle Sun Java 2 SDK

Blogs (0)

Blog posts related to Oracle Sun Java 2 SDK

Reviews (0)

Reviews related to Oracle Sun Java 2 SDK