Solved

Installing Sun Java VM from the command line

Posted on 2003-11-07
6
284 Views
Last Modified: 2010-04-13
Hi all

I'm desigining an automated client installation for my company using a variety of tools.
I want to get as much software installed on my client PC's as quickly and as automatically as possible.

I'm having problems with the Sun Java VM.
The machines which I'm building dont have a java VM when they're built.

As part of the build process I'm trying to install Sun Java VM (1.4.2) from the command line, and register it as the VM to use within IE6

I already have a commandline to install the VM silently.

"j2re-1_4_2_01-windows-i586.exe /S /v/qn"

This works well.

What I've been unable to do is find a way to register this VM within IE,
either with the command line, or by way of registry hacks

No matter what I try, it seems I cant get IE to see the Sun Java VM
anyone know any way around this?

cheers
J

0
Comment
Question by:jaydee180
6 Comments
 
LVL 2

Expert Comment

by:Mihailo
ID: 9702031
0
 

Author Comment

by:jaydee180
ID: 9912015
sadly, the info provided was not of any use in solving my problem

I found a solution myself, however.

The installer for Sun java VM has the following switches

<jre>.exe /s /v"/qn[ADDLOCAL=jrecore[,extra][,other_US] | ALL][IEXPLORER=1][NETSCAPE6=1] [MOZILLA=1][INSTALLDIR=<drive>:\<install_path>][REBOOT=Suppress]"

where

<jre>.exe is the single executable installer for the Java Runtime Environment (JRE)

ADDLOCAL is either jrecore[,extra][,other_US] or ALL

IEXPLORER=1 indicates that the Plug-in should be registered with the Internet Explorer browser

NETSCAPE6=1 indicates that the Plug-in should be registered with Netscape 6 or later browsers

MOZILLA=1 indicates that the Plug-in should be registered with Mozilla 1.1 and later browsers

INSTALLDIR specifies the drive and path of the installation

REBOOT=Suppress indicates that if locked files are encountered the computer should not be rebooted.



Hope this helps someone else.
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 11182211
PAQed, with points refunded (250)

modulo
Community Support Moderator
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Arrow Electronics was searching for a KVM  (Keyboard/Video/Mouse) switch that could display on one single monitor the current status of all units being tested on the rack.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question