Use j2sdk installer to silently install public JRE

With the interactive installer there is an option to install a public JRE using the 1.4.2 j2sdk installer.
Does anyone know the magic incantation to have the j2sdk installer install the public JRE silently?
Actually, a comprehensive list of all of the magic parameters to the MSI installer would be great. I've been trying to beat the information out of google for a while now but it isn't helping. Thanks a lot.

thank you, thank you for this post
Here's what I did with it.
@echo off
echo %cd%
set Initial_Dir=%cd%
echo Below is the original directory
echo %Initial_Dir%
cd Java
echo %cd%
if exist "C:\Program Files\Java\jdk1.6.0_12\bin\java.exe" goto InstallJRE
echo          -------------------------
echo          Installing Java SDK 1.6.0_12
echo           Please wait....
echo          -------------------------
cd JDK-1.6.0_12
msiexec.exe /i "jdk1.6.0_12.msi" /qn /l*v "d:\jdk6-inst.log" ADDLOCAL=ALL IEXPLORER=1 JAVAUPDATE=0 AUTOUPDATECHECK=0 EULA=0 REBOOT=ReallySuppress
echo Install completed
setx JAVA_HOME "C:\Program Files\Java\jdk1.6.0_12" /M
echo           current JAVA_HOME setting
echo           %JAVA_HOME%
echo           Java Home variable verification
echo           "%JAVA_HOME%"\bin\java.exe -version
"%JAVA_HOME%"\bin\java.exe -version
set JAVA_HOME="C:\Program Files\Java\jdk1.6.0_12"
%JAVA_HOME%\bin\java.exe -version
:InstallJRE
if exist "C:\Program Files\Java\jre6\bin\java.exe" goto InstallFCM
echo          -------------------------
echo          Installing JRE 1.6.0_12
echo           Please wait....
echo          -------------------------
start /w msiexec.exe /i "C:\Program Files\Java\jdk1.6.0_12\jre.msi" /qn                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • Silent install of JRE 7 with some options FAILS

    Hi,
    I'm trying to configure a silent install of JRE 7 using NSIS.
    The command line that launches the JRE installation is this:
    jre-7u4-windows-i586.exe /s INSTALLDIR="C:\Program Files (x86)\MyApp\Java" STATIC=1 /L "C:\Program Files (x86)\MyApp\log\jre_7_inst.log"
    But when launched (both from NSIS script and from command line) a windows popup explaining the options for launching the MSI installer tells me that there's something wrong with the .exe that launches the MSI with these options.
    My system is a Windows 7 64bits and I'm trying to install a JRE 32bits, as this is what's needed for my app.
    Any ideas of what can be failing?
    It would be much appreciated!
    Thanks in advance,
    Carlos

    go to tools\internet options\advanced\java vm etc.in IE
    and check out the check boxes as appropriate may be it helps u

  • Silent install of JRE (java 5 update 11) doesnot disable java update tab

    I need to disable the Update tab in java pluign.
    Manually it can be achieved by setting the HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\Policy
    EnableJavaUpdate = 0.
    But i want to achieve this through java script
    I've read the doc... http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/silent.html .
    From this i tried silent install through command prompt by using the following.
    jre-1_5_0_11-windows-i586-p.exe /s /v"/qn IEXPLORER=1 ADDLOCAL=ALL JAVAUPDATE=0 /L C:\jre.txt"
    also tried
    jre-1_5_0_11-windows-i586-p.exe /s /v"/qn ADDLOCAL=ALL JAVAUPDATE=0 JU=0 AUTOUPDATECHECK=0 /L C:\jre.txt"
    but this successfully installs the jre but the update tab in the plugin is still shown.
    Can anybody help me to disable the update tab of java plugin through javascript while installing the jre.
    Thank you in advance.
    Mamatha

    This is a very poor solution. It looks extremely unprofessional, especially when you're relying on Java for your products. You want to install your product with Java (because it doesn't exist on many machines) and people think it's instant Spyware and bundle garbage. I have to agree with them (even though I'm a certified Java developer with 8+ years experience). Very poor...

  • Silent Install of JRE 1.4.1 fails to check IE and Netscape browser entries

    I followed the Silent Installation web page article to install JRE 1.4.1. But strangely, while creating the response file and using custom install, the screen showing IE6 and Netscape6 browser plugin default checkmarks didn't show. I then installed the JRE using the response file following the article's directions. When I opened up the JRE Plugin in the Control Panel and went to the Browsers tab, both choices were not checked. Even using the -IExplorer and -Netscape6 parameters during install didn't make them checked. How do I do a silent automated install and have these browser choices checked and browser plugins installed?

    go to tools\internet options\advanced\java vm etc.in IE
    and check out the check boxes as appropriate may be it helps u

  • Silent Install for JRE 1.4.2_02

    I am having trouble running a silent install of the JRE. I've referenced the following document, but have not had any luck. http://java.sun.com/j2se/1.4.2/docs/guide/plugin/developer_guide/silent.html
    The command I attempted to use is:
    j2re-1_4_2_02-windows-i586-p.exe /s /v
    Is this not the correct format? I tried many different versions of the command based on the silent install document, none worked. I still get prompted to accept the install.
    http://java.sun.com/products/archive/j2se/1.4.2_02/jre/install-windows.html

    This would be more appropriate forum for this question:
    http://forum.java.sun.com/forum.jsp?forum=14

  • Silent Install of JRE 1.4.2_02

    I am having trouble running a silent install of the JRE. I've referenced the following document, but have not had any luck. http://java.sun.com/j2se/1.4.2/docs/guide/plugin/developer_guide/silent.html
    The command I attempted to use is:
    j2re-1_4_2_02-windows-i586-p.exe /s /v
    Is this not the correct format? I tried many different versions of the command based on the silent install document, none worked. I still get prompted to accept the install.
    http://java.sun.com/products/archive/j2se/1.4.2_02/jre/install-windows.html

    I would like to execute a silent install of other java components, namely the Java Advanced Imaging package. I have tried a combination of the arguments to the .exe installers, but it only seems to unpackage to the temp directory, which gets deleted 30 seconds later and nothing gets installed.
    I can't really provide an .iss file, because the install location may change. So, I'd like to be able to provide all the necessary info at the command-line. Below is my command-line, anyone see anything overtly wrong?
    C:\Projects\thirdparty\jai\jai-1_1_2-lib-windows-i586-jdk.exe -a /s /v"/qn ADDLOCAL=ALL NETSCAPE6=1 MOZILLA=1 IEXPLORER=1 INSTALLDIR=%JAVA_HOME%/jre REBOOT=Suppress"
    Notes:
    If I don'g provide the -a option, it ignores the silent option and the install gui is displayed anyway.
    JAVA_HOME environment variable is currently set.
    Thanks.

  • Installation Fails ( SILENT Install)

    I am using following syntax to install Oracle 10g using response file and silent option.
    /home/oracle/database/runInstaller -silent -responseFile=enterprise.rsp
    This fails with:
    Unexpected Signal : 11 occurred at PC=0xF7D807CE
    Function=(null)
    Library=/tmp/OraInstall2011-11-15_06-13-22AM/jre/1.4.2/lib/i386/client/libjvm.so
    NOTE: We are unable to locate the function name symbol for the error
    just occurred. Please refer to release documentation for possible
    reason and solutions.
    Current Java thread:
    at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.chgrp(Native Method)
    at oracle.sysman.oii.oiip.oiipg.OiipgBootstrap.changeGroup(OiipgBootstrap.java:1206)
    at oracle.sysman.oii.oiip.oiipg.OiipgBootstrap.writeInvLoc(OiipgBootstrap.java:900)
    at oracle.sysman.oii.oiip.oiipg.OiipgBootstrap.updateInventoryLoc(OiipgBootstrap.java:408)
    at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.doInvSetupOperations(OiicSessionInterfaceManager.java:400)
    at oracle.sysman.oii.oiic.OiicSilentInterfaceManager.doInvSetupOperations(OiicSilentInterfaceManager.java:679)
    at oracle.sysman.oii.oiic.OiicInvSetupWCCE.doOperation(OiicInvSetupWCCE.java:217)
    at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.
    0007000 08:03 176980436 /tmp/OraInstall2011-11-15_06-17-32AM/jre/1.4.2/lib/i386/native_threads/libhpi.so
    ffc2a000-ffc3f000 rwxp 7ffffffe9000 00:00 0 [stack]
    Heap at VM Abort:
    Heap
    def new generation total 576K, used 271K [0xe65f0000, 0xe6690000, 0xe7170000)
    eden space 512K, 51% used [0xe65f0000, 0xe6632828, 0xe6670000)
    from space 64K, 8% used [0xe6680000, 0xe66816b0, 0xe6690000)
    to space 64K, 0% used [0xe6670000, 0xe6670000, 0xe6680000)
    tenured generation total 1408K, used 1074K [0xe7170000, 0xe72d0000, 0xefbf0000)
    the space 1408K, 76% used [0xe7170000, 0xe727ca18, 0xe727cc00, 0xe72d0000)
    compacting perm gen total 4864K, used 4645K [0xefbf0000, 0xf00b0000, 0xf3bf0000)
    the space 4864K, 95% used [0xefbf0000, 0xf0079468, 0xf0079600, 0xf00b0000)
    Local Time = Tue Nov 15 06:17:34 2011
    Elapsed Time = 0
    # HotSpot Virtual Machine Error : 11
    # Error ID : 4F530E43505002EF
    Heap at VM Abort:
    Heap
    def new generation total 576K, used 271K [0xe66e0000, 0xe6780000, 0xe7260000)
    eden space 512K, 51% used [0xe66e0000, 0xe6722828, 0xe6760000)
    from space 64K, 8% used [0xe6770000, 0xe67716b0, 0xe6780000)
    to space 64K, 0% used [0xe6760000, 0xe6760000, 0xe6770000)
    tenured generation total 1408K, used 1074K [0xe7260000, 0xe73c0000, 0xefce0000)
    the space 1408K, 76% used [0xe7260000, 0xe736ca18, 0xe736cc00, 0xe73c0000)
    compacting perm gen total 4864K, used 4645K [0xefce0000, 0xf01a0000, 0xf3ce0000)
    the space 4864K, 95% used [0xefce0000, 0xf0169458, 0xf0169600, 0xf01a0000)
    Local Time = Tue Nov 15 06:13:23 2011
    Elapsed Time = 0
    # HotSpot Virtual Machine Error : 11
    # Error ID : 4F530E43505002EF
    # Please report this error at
    is the above a space issue??? Not clear on the error messages..
    thanks
    OS is: CentOS release 5.7
    thanks

    Pl identify exact version of "10g" being installed. CentOS is not a supported distro, so things may or may not work as expected. Search this forum for others who have tried to install on CentOS.
    http://download.oracle.com/docs/cd/B19306_01/install.102/b15660/pre_install.htm#sthref111
    HTH
    Srini

  • "The computer started using Windows installation media." Installing windows 10 technical preview on virtual machine

    The computer started using Windows installation media. Remove the installation media and restart your computer so that Windows starts normally. The, insert the installation media and restart the upgrade. (Do not
    select |custom[advanced]| to perform an upgrade. |custom[advanced]| installs a new copy of Windows and deletes your programs and settings.)
    That is the Compatibility report that I'm getting when trying to install onto parallels 10 Version 10.2.0 (28956) on my mid 2009 Macbook 13. This happens just after I click 'Install now' and accept the T&Cs.
    I am selecting 'Upgrade: Install Windows and keep files, setting and applications'. 
    I am upgrading from the Windows Technical Preview Evaluation Copy. Build 9879.
    I have updated my EFI and tried a few restarts and am booting from a CD. No luck yet.
    Any help would be muchos appreciated. 

    Hi bitofagiggle,
    I am not familiar with mac machines, based on what I know, there should be more settigns that need to be configured before the installation of Windows, I suggest you contact the manufacturer for further help regarding how to make Windows to upgrade smoothly.
    The below is some articles for reference:
    Install
    Windows 8.1 on a Mac
    Your Manufacturer website:
    How to install Windows using Boot Camp
    Please note: Since this website is not hosted by Microsoft, the information may change without notice. Microsoft does not guarantee the accuracy of this information.
    Best regards
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • ODI installation error while installing Public Services

    Hi All,
    I was trying to install ODI 11.1.1.7 after downloading the setup files from e-delivery.
    During the installation of Public web services, the setup prompts an error saying " stage\components\oracle.odi.webservice .......filegroup2.jar" is cannot be found.
    I checked my extracted files and found out that it was not present there.
    Am I missing out anything or it is part of the odi companion files ?

    The issue is actually with the setup files available on e-delivery. If you download the ODI setup available under EPM 11.1.2.3, the webservices, agent etc files are missing from the setup. First observation is the overall size of file is 1.7 GB which includes files from both Disk1 & Disk 2.
    For whole setup, download the setup from the ODI download page or from Oracle Business Intelligence page on e-delivery. In both the cases, whole setup is split into 2 disks of 1.7 and 1.1 GB respectively. After downloading them I did not face any issue.

  • Silent install Air Runtime and Air App with custom installer?

    I want to use a custom installer that will perform some actions, and then silently install air runtime and an air application. The goal here is to be able to perform a customized install for an Air application (for a user that might not have Air installed) without confusing the user with multiple install screens. Can I use a custom installer to silently install Air (if the user doesn't have it installed) and the Air app? If so, are there any restrictions on the custom installer? If there are any examples of this, please provide the links.

    Since you applied for the distribution from Adobe you should
    have received a link to a page where you can download what they
    call the "side-car" installer. It's basically an installation
    system they are making available to developers that can be easily
    configured to deliver a bundled runtime and application
    installation for Mac and Windows.
    Check your email again and see if you can't find a link in
    there pointing you to a download page for the AIR runtime as well
    as the aforementioned side-car installer. For those who don't know,
    here
    is where you can apply for a redistribution permit for AIR.
    I have a small tutorial posted that might be of help to you
    on my blog:
    http://blog.arnimaack.com/flex-air-series-4-air-all-in-one-installers-on-CD-DVD

  • Silent x64 Java JRE 1.6u2 install

    Hi.
    We are trying to create a .bat file for silently installing x64 JRE 1.6u2 from a shared network drive to Vista x64 machines. This works fine for the x86 variant, but the same switches do nothing for the x64 version.
    The command I am trying to run is:
    "//Networksharedfolder/x64JREnamehere.exe" /s IEXPLORER=1 MOZILLA=1
    Again, this structure seems to work fine on x86 Windows variants with x86 JREs, but not with x64 Windows variants with x64 JREs.
    Thanks!
    -S

    You have to add the following (dummy) key to your registry:
    [HKEY_LOCAL_MACHINE\SOFTWARE\mozilla.org\Mozilla]
    "CurrentVersion"="1.0"

  • PKG can't silent install on Mac Os 10.5

    I have made an Installer by PackageMaler3.0.6 on Mac OS 10.8. Also I have add a JavaScript function in Distribution,This function use for detect the certain App is running or not. Some code like this:
    var allProcess = new Array();
    allProcess = system.applications.all();
    var allProcessCount = allProcess.length;
    If I normally install (With Installer UI) this pkg on 10.8,10.7,10.5, it's Ok, all function works fine. If i use command line to silent install On 10.8,10.7 it's OK, no error. But if i silent install on 10.5.8, there will be an error in terminal(JavaScript error), can't install. If i remove the code of "var allProcessCount = allProcess.length;"  It can silent install on 10.5.8, once  if added the code like "allProcess.length" ,there will be an error,it looks like can't use the  array property in silent install on 10.5, but 10.7,10.8 it's OK and install with UI it's also Ok on 10.5. Did anyone knows how can i slove this issue? Thanks!!!

    Hi Eric,
    If you don't get an answer here, you might try reposting over here...
    https://discussions.apple.com/community/developer_forums

  • Silent Install of Acrobat Pro 11

    Hey All,
    I am using MDT to deploy Images and install apps.  I have packaged Acrobat Pro XI with the Customization Wizard XI and have used both  Unattended and Silent Install in the mst.
    The below command starts the install but it is completely interactive except that my serial # and other settings are present so I know it is reading the mst.
    command line:  msiexec /i AcroPro.msi TRANSFORMS=AcroPro.mst
    adding  /qn  causes the install to fail w MDT error code 1603 - Fatal error during installation.
    Any ides?
    Thank You

    MDT = Microsoft deployment toolkit  
    I must add the install fails when I run it from a command line as well and use the /qn switch but works  non-silently   if I don't use the switch. 
    So the solution is to add the /qn  but this is what is causing the failure.
    This is exactly what it is doing:
    Why doesn’t my install respect the “silent install” settings I specified with the Wizard?
    If your command line is something like:
    MSIEXEC /I C:\A9\AcroPro.msi TRANSFORMS="C:\A9\AcroPro.mst
    . . . then you are not using Setup.ini your workflow. The Wizard rewrites Setup.ini when you specify a silent install to include this option. The silent install switch is not saved in the MST. Either run Setup.ini or change your command line to:
    MSIEXEC /I C:\A9\AcroPro.msi TRANSFORMS="C:\A9\AcroPro.mst" /qn

  • Linux silent install stops at Starting to execute configuration assistants

    I am using putty to perform silent install of oracle db 10g on my remote server (redhat) through the command line:
    ./runInstaller -silent -responseFile /tmp/enterprise.rsp
    it works fine till reaching > starting to execute configuration assistants, where i receive no further response or even any errors, it just hangs up saying this, here is a summary :
    Installation in progress (Wed Oct 29 18:06:32 CST 2008)
    ............................................................... 11% Done.
    ............................................................... 23% Done.
    ............................................................... 35% Done.
    ............................................................... 47% Done.
    ........................................... 55% Done.
    Install successful
    Linking in progress (Wed Oct 29 18:08:54 CST 2008)
    . 55% Done.
    Link successful
    Setup in progress (Wed Oct 29 18:10:07 CST 2008)
    .................... 100% Done.
    Setup successful
    End of install phases.(Wed Oct 29 18:10:13 CST 2008)
    Starting to execute configuration assistants
    What should I do to overcome this and complete the installation successfully?

    Hub wrote:
    Hi
    you are welcome, unfortunately you didn't mark this thread as a question so no stars for me .
    Nervermind, herewith the feedback on your questions :
    <em>Should I make a dbca.rsp ? how would I pass it to my install command line?</em>
    In silent mode, DBCA uses values that you specify in the response file or as command-line options to create a database. DBCA does not display any screens or information while it creates the database. It logs all messages (including information, errors, and warnings) in a log file.
    From the command line, enter the following command to see all of the DBCA options that are available when you use the silent mode:
    $ @ora_root:[bin]dbca.com -help
    Read more in that document : http://download.oracle.com/docs/html/B13681_01/a_nonint.htm#CIHDHHBE
    <em>I tried: ps -efd | grep -i run , alot of process appeared, how would I know if the installer is among them?</em>
    try to grep with a much longer name i.e :
    ps -efd | grep -i runinstaller
    <em>What is fuser * in the log directory ? is this a file I should create or what?</em>
    No fuser is a unix/linux command that enable you to identify processes using a file or file structure. The fuser utility displays the process IDs of the processes that are using the files specified as arguments.
    So if the runinstaller still active you will see i.e.
    fuser silentInstall2008-08-08_10-50-48AM.log
    silentInstall2008-08-08_10-50-48AM.log: 14506o
    14506 is your process ID
    Hope this helps you!
    Thanks Hub,
    It seems the installation still stuck at >>> Starting to execute configuration assistants
    Here is what I am getting using fuser * in the /log dir:
    installActions2008-10-30_10-27-52AM.log: 32275
    oraInstall2008-10-30_10-27-52AM.err: 32275
    oraInstall2008-10-30_10-27-52AM.out: 32275
    But when run : ps -efd | grep -i runinstaller - it just gives me something like repeating my command:
    root 3035 31653 0 10:36 pts/2 00:00:00 grep -i runinstaller >> does this mean that runInstaller isn't there anymore, though the fuser * is showing that the log files are still being used?
    I'm not using dbca.rsp since I didn't choose Advanced configuration of database in my enterprise.rsp, and it is saying that using dbca.rsp is only incase I choose advanced configuration which is number =2 .
    So what parameters should I pass to the runInstaller, am i still missing something that is keeping the installation stuck without giving any responses or errors ?
    Edited by: user9940821 on Oct 30, 2008 8:48 AM

  • Response Code in Silent Install

    What is the response code supposed to be in the setup log?
    Mine was -3

    Hi,
    I performed a silent install of jre 1.4.1.I happen to get result code as -3.If you were successful in fixing the issue..could you please share it.

Maybe you are looking for