Skip to content

sostk/useful_scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Java 17 installer script:: How to Use: Save the script: Copy the script to a file named install-java17.ps1 Save it to your Desktop or any convenient location

Run as Administrator: powershell # Right-click PowerShell and select "Run as Administrator"

Navigate to where you saved the script

cd C:\Users\xxx\OneDrive\Desktop

If you get an execution policy error, run this first:

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser

Run the script

.\install-java17.ps1 What the script does: ✅ Downloads the latest Java 17 JDK from Adoptium (Eclipse Temurin) ✅ Installs Java silently without user interaction ✅ Sets the JAVA_HOME environment variable system-wide ✅ Adds Java to the system PATH ✅ Verifies the installation ✅ Cleans up temporary files

About

Collection of my useful scripts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published