+ Post New Thread
Results 1 to 4 of 4
How do you do....it? Thread, Update Java on Windows via command line in Technical; I have a specific time-period in which I need to download and update Java on Windows machines. The machines will ...
  1. #1

    jinnantonnixx's Avatar
    Join Date
    Mar 2011
    Location
    In the Calamatorium.
    Posts
    1,968
    Thank Post
    112
    Thanked 489 Times in 335 Posts
    Blog Entries
    2
    Rep Power
    283

    Update Java on Windows via command line

    I have a specific time-period in which I need to download and update Java on Windows machines. The machines will then be re-frozen by DeepFreeze.

    The machines wake up via a BIOS feature at a set time on Sundays, so this will need to be done completely automatically. The Java client (GUI) has a feature to download updates, but it asks before updating. The script will be run by a feature of DeepFreeze, but it must be DOS batch, or at least something started by DOS batch.

    I need a way of doing this completely automatically, from a command line.

    can this be done?
    Last edited by jinnantonnixx; 18th March 2014 at 12:01 PM.

  2. #2

    Join Date
    Mar 2007
    Posts
    1,760
    Thank Post
    79
    Thanked 290 Times in 221 Posts
    Rep Power
    86
    jre-7u45-windows-i586.exe /s /passive /norestart AUTOUPDATECHECK=0 IEXPLORER=1 JAVAUPDATE=0 JU=0 EULA=0 REBOOT=Suppress

    should do the trick, it just installs a new version rather than run an update.

  3. Thanks to strawberry from:

    jinnantonnixx (18th March 2014)

  4. #3

    jinnantonnixx's Avatar
    Join Date
    Mar 2011
    Location
    In the Calamatorium.
    Posts
    1,968
    Thank Post
    112
    Thanked 489 Times in 335 Posts
    Blog Entries
    2
    Rep Power
    283
    That'll do, thanks.

  5. #4

    jinnantonnixx's Avatar
    Join Date
    Mar 2011
    Location
    In the Calamatorium.
    Posts
    1,968
    Thank Post
    112
    Thanked 489 Times in 335 Posts
    Blog Entries
    2
    Rep Power
    283
    Found this for reference.
    https://www.java.com/en/download/hel...nt_install.xml


    Command Line Install
    The Java SE 7 Windows offline installer command has following syntax:

    <jre>.exe [/s] [INSTALLDIR=<drive>:\<JRE_install_path>] [STATIC=1] [WEB_JAVA=0/1] [WEB_JAVA_SECURITY_LEVEL=VH/H/M/L]

    where

    <jre>.exe is the single executable installer for Java
    /s, if used, indicates silent installation
    INSTALLDIR, if used, specifies the drive and path of the JRE.
    If INSTALLDIR is not specified, the installation will go into C:\Program Files\java\jre (default location).
    STATIC=1, if used, specifies a static installation. This option is available in the 6u10 release and above. For more information see Static Installation.
    WEB_JAVA=0, if used, disables any Java application from running in the browser.
    WEB_JAVA=1, the default, enables Java applications in the browser. This field is available as of the 7u10 release. For more information see Setting Security Levels of the Java Client..
    WEB_JAVA_SECURITY_LEVEL: if used, sets the security level of unsigned Java apps running in a browser. The possible values for this field are V (very high), H (high), M (medium, the default) or L (low). This field is available as of the 7u10 release.

SHARE:
+ Post New Thread

Similar Threads

  1. Deploying appv client via command line....
    By mrbios in forum Enterprise Software
    Replies: 8
    Last Post: 5th July 2012, 01:23 PM
  2. ems launch via command line with variable
    By zbjsy in forum Windows Server 2008 R2
    Replies: 10
    Last Post: 2nd April 2012, 05:15 PM
  3. folder not visible except via command line
    By rocknrollstar in forum Windows
    Replies: 13
    Last Post: 13th June 2009, 08:24 PM
  4. Configuring Netgear WG302 via command line
    By randle in forum Hardware
    Replies: 8
    Last Post: 17th September 2008, 01:01 PM
  5. Replies: 3
    Last Post: 4th January 2007, 09:09 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •