Skip to content

Instantly share code, notes, and snippets.

@akmadian
Created February 9, 2019 22:15
Show Gist options
  • Save akmadian/bb34e0d0debde865683e688ae8ab2a0f to your computer and use it in GitHub Desktop.
Save akmadian/bb34e0d0debde865683e688ae8ab2a0f to your computer and use it in GitHub Desktop.
Runs jshell without having to set environment vars.
start "C:\Program Files\Java\jdk-{VERSION}\bin\jshell.exe"
@akmadian
Copy link
Author

akmadian commented Feb 9, 2019

To run, place in C:\Windows\System32 and C:\Users\{USERNAME}, then start powershell, and type .\jshell

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment