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
Solved

Installing Sun Java VM from the command line

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Cursor typing problems 5 47
Remote Desktop Software 6 455
Windows 2000 Sever Lab Setup 1 683
Server 2012R2 Foundation and Server 2000 3 131
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…
IT certifications are a concrete representation of continual learning on the part of the candidate.  Continual learning is necessary for the long term success of an IT professional, but are IT certifications the right path for you?
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

766 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