I want to be able to install it silently if possible.  I want to also turn on automatic updates for Java when it is installed.

1 Comment   [ + ] Show Comment


Please log in to comment


Answered 09/24/2013 by: tecrumors
Sixth Degree Black Belt

  • ...and we'll just guess what language you'd like the script to be in. Or maybe you're talking about BAT/CMD? Or KBox? See the problem when you give just *too much* information? :-)
    • And which version you want to install/uninstall... I bet we can give you a good answer if we have more information
  • I was installing the latest version. It was Version 7 Update 40. I was able to figure it out. Thank you.
    • It would be excellent if you could provide your solution as an answer to this problem for others who may encounter your issue.
  • This is what I did for the latest version of Java Version 7 Update 40:

    On Success
    1. Run the batch file "Remove Old Versions of Java" with params "".
    2. Run the batch file "Wait" with params "".
    3. Launch "$(KACE_DEPENDENCY_DIR)\jre-7u40-windows-x64.exe" with params "/s /v /norestart AUTOUPDATECHECK=0 JAVAUPDATE=0 JU=0"

    This worked for both 64bit and 32bit versions of Java. You just have to change out the file.
Please log in to comment
Answer this question or Comment on this question for clarity