Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

sostk/useful_scripts

Open more actions menu

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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.