Solved

Installing Sun Java VM from the command line

Posted on 2003-11-07
6
286 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 

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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

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…
The recent Petya-like ransomware attack served a big blow to hundreds of banks, corporations and government offices The Acronis blog takes a closer look at this damaging worm to see what’s behind it – and offers up tips on how you can safeguard your…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses

630 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