Solved

Installing Sun Java VM from the command line

Posted on 2003-11-07
6
279 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
Comment Utility
0
 

Author Comment

by:jaydee180
Comment Utility
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
Comment Utility
PAQed, with points refunded (250)

modulo
Community Support Moderator
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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…
HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

772 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now