Solved

Installing Sun Java VM from the command line

Posted on 2003-11-07
6
281 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Sapphire RAGE 128 Pro 32M - Windows 2000 Driver 2 930
Registry Error Stop 0X0000051 3 2,806
Locking down a taskpad 1 163
windows 2000 - Enable wifi 7 142
If you thought ransomware was bad, think again! Doxware has the potential to be even more damaging.
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…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

803 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