SlideShare a Scribd company logo
Silent Install JAVA
In this tutorial will explain Java silent install msi version 8 and disable auto
update. The command line will uninstall older version of Java and install a
new version.
Java Silent Install msi.
• Download and extract msi.
• Create .cmd file for java silent install.
• Execute command.
• Uninstall all version of java
Download and extract msi for Java
silent install 8.
You can use the .EXE to extract the .MSI. Go to the Java Update
website >>http://www.java.com/en/download/manual.jsp to
download the latest Java Update.
Select windows offline to download the .exe on PC. After downloaded,
execute the .exe file and once you see the “Welcome to Java” go to
:
C:UsersUserNameAppDataLocalLowSunJava and you will see a
directory of past Java Updates plus the new installation
directory denoted by the Java version number.
Get the msi file and save to a folder in your computer with name
java8.40x32.msi.
Repeat this for the 64-bit version and save msi to the same folder with
name java8.40x64.msi.
Create the .cmd file for java silent
install.
We will create command line to uninstall older version of
java and silent install java 8 version.
Find java product code.
First we need to find the product code of java older version. For this
go to regedit in path:
“HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentV
ersionUninstall” and find your java version.
• For my case of Java 8 Update 31 is “26A24AE4-039D-4CA4-87B4-
2F83218031F0” for 32 bit.
• For 64 bit only change this number 32 to 64: “2F83218031F0” to
“2F86418031F0”.
Create .cmd script for java silent install.
Open notepad and write the following command line:
@echo off
REM Uninstall Java X 32bit (replace with your java version)
Start /wait msiexec.exe /x {Product code of your older java 32 bit} /qn /norestart
REM Uninstall Java X 64bit (replace with your java version)
Start /wait msiexec.exe /x {Product code of your older java 64bit} /qn /norestart
REM Java Silent Install version X 32Bit (replace with your java version downloaded)
start /wait msiexec /i "%~ java8.40x32.msi " JU=0 JAVAUPDATE=0 AUTOUPDATECHECK=0
RebootYesNo=No WEB_JAVA=1 /q
REM Java Silent Install version X 64Bit (replace with your java version downloaded)
start /wait msiexec /i "%~ java8.40x64.msi " JU=0 JAVAUPDATE=0 AUTOUPDATECHECK=0
RebootYesNo=No WEB_JAVA=1 /q
del /S /F /Q "C:Program Files (x86)Common FilesJava"
@End
This part is for disable java auto update “JU=0 JAVAUPDATE=0 AUTOUPDATECHECK=0”.
Save the notepad file inside the folder where copied java msi file and named install.cmd.
Uninstall other version of java.
If you need to uninstall other version of java just copy
another line on notepad (install.cmd) and replace product
code with your other java version product code:
REM Uninstall Java X 32bit (replace with your java version)
Start /wait msiexec.exe /x {Product code of your older java}
/qn /norestart
In this way you can uninstall all version of java in your
computer.
Deploy Java.
You can deploy java with sccm 2012. For more
information follow the link : Deploy Java
For more Info go to: www.get-itsolutions.com
Thank YOU

More Related Content

Recently uploaded

AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
Alluxio, Inc.
 

Recently uploaded (20)

5 Reasons Driving Warehouse Management Systems Demand
5 Reasons Driving Warehouse Management Systems Demand5 Reasons Driving Warehouse Management Systems Demand
5 Reasons Driving Warehouse Management Systems Demand
 
Workforce Efficiency with Employee Time Tracking Software.pdf
Workforce Efficiency with Employee Time Tracking Software.pdfWorkforce Efficiency with Employee Time Tracking Software.pdf
Workforce Efficiency with Employee Time Tracking Software.pdf
 
iGaming Platform & Lottery Solutions by Skilrock
iGaming Platform & Lottery Solutions by SkilrockiGaming Platform & Lottery Solutions by Skilrock
iGaming Platform & Lottery Solutions by Skilrock
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
A Guideline to Zendesk to Re:amaze Data Migration
A Guideline to Zendesk to Re:amaze Data MigrationA Guideline to Zendesk to Re:amaze Data Migration
A Guideline to Zendesk to Re:amaze Data Migration
 
AI/ML Infra Meetup | Perspective on Deep Learning Framework
AI/ML Infra Meetup | Perspective on Deep Learning FrameworkAI/ML Infra Meetup | Perspective on Deep Learning Framework
AI/ML Infra Meetup | Perspective on Deep Learning Framework
 
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product UpdatesGraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
 
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
 
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...
 
IT Software Development Resume, Vaibhav jha 2024
IT Software Development Resume, Vaibhav jha 2024IT Software Development Resume, Vaibhav jha 2024
IT Software Development Resume, Vaibhav jha 2024
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
 
Advanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should KnowAdvanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should Know
 
A Python-based approach to data loading in TM1 - Using Airflow as an ETL for TM1
A Python-based approach to data loading in TM1 - Using Airflow as an ETL for TM1A Python-based approach to data loading in TM1 - Using Airflow as an ETL for TM1
A Python-based approach to data loading in TM1 - Using Airflow as an ETL for TM1
 
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdfA Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
 
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
 
OpenChain @ LF Japan Executive Briefing - May 2024
OpenChain @ LF Japan Executive Briefing - May 2024OpenChain @ LF Japan Executive Briefing - May 2024
OpenChain @ LF Japan Executive Briefing - May 2024
 
How to install and activate eGrabber JobGrabber
How to install and activate eGrabber JobGrabberHow to install and activate eGrabber JobGrabber
How to install and activate eGrabber JobGrabber
 
Crafting the Perfect Measurement Sheet with PLM Integration
Crafting the Perfect Measurement Sheet with PLM IntegrationCrafting the Perfect Measurement Sheet with PLM Integration
Crafting the Perfect Measurement Sheet with PLM Integration
 
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAG
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAGAI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAG
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAG
 
Breaking the Code : A Guide to WhatsApp Business API.pdf
Breaking the Code : A Guide to WhatsApp Business API.pdfBreaking the Code : A Guide to WhatsApp Business API.pdf
Breaking the Code : A Guide to WhatsApp Business API.pdf
 

Featured

Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Featured (20)

Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 

Silent install java

  • 2. In this tutorial will explain Java silent install msi version 8 and disable auto update. The command line will uninstall older version of Java and install a new version. Java Silent Install msi. • Download and extract msi. • Create .cmd file for java silent install. • Execute command. • Uninstall all version of java
  • 3. Download and extract msi for Java silent install 8. You can use the .EXE to extract the .MSI. Go to the Java Update website >>http://www.java.com/en/download/manual.jsp to download the latest Java Update. Select windows offline to download the .exe on PC. After downloaded, execute the .exe file and once you see the “Welcome to Java” go to : C:UsersUserNameAppDataLocalLowSunJava and you will see a directory of past Java Updates plus the new installation directory denoted by the Java version number. Get the msi file and save to a folder in your computer with name java8.40x32.msi. Repeat this for the 64-bit version and save msi to the same folder with name java8.40x64.msi.
  • 4. Create the .cmd file for java silent install. We will create command line to uninstall older version of java and silent install java 8 version. Find java product code. First we need to find the product code of java older version. For this go to regedit in path: “HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentV ersionUninstall” and find your java version. • For my case of Java 8 Update 31 is “26A24AE4-039D-4CA4-87B4- 2F83218031F0” for 32 bit. • For 64 bit only change this number 32 to 64: “2F83218031F0” to “2F86418031F0”.
  • 5. Create .cmd script for java silent install. Open notepad and write the following command line: @echo off REM Uninstall Java X 32bit (replace with your java version) Start /wait msiexec.exe /x {Product code of your older java 32 bit} /qn /norestart REM Uninstall Java X 64bit (replace with your java version) Start /wait msiexec.exe /x {Product code of your older java 64bit} /qn /norestart REM Java Silent Install version X 32Bit (replace with your java version downloaded) start /wait msiexec /i "%~ java8.40x32.msi " JU=0 JAVAUPDATE=0 AUTOUPDATECHECK=0 RebootYesNo=No WEB_JAVA=1 /q REM Java Silent Install version X 64Bit (replace with your java version downloaded) start /wait msiexec /i "%~ java8.40x64.msi " JU=0 JAVAUPDATE=0 AUTOUPDATECHECK=0 RebootYesNo=No WEB_JAVA=1 /q del /S /F /Q "C:Program Files (x86)Common FilesJava" @End This part is for disable java auto update “JU=0 JAVAUPDATE=0 AUTOUPDATECHECK=0”. Save the notepad file inside the folder where copied java msi file and named install.cmd.
  • 6. Uninstall other version of java. If you need to uninstall other version of java just copy another line on notepad (install.cmd) and replace product code with your other java version product code: REM Uninstall Java X 32bit (replace with your java version) Start /wait msiexec.exe /x {Product code of your older java} /qn /norestart In this way you can uninstall all version of java in your computer.
  • 7. Deploy Java. You can deploy java with sccm 2012. For more information follow the link : Deploy Java For more Info go to: www.get-itsolutions.com Thank YOU