Skip to content

Instantly share code, notes, and snippets.

@LXGaming
Created April 1, 2020 01:41
Show Gist options
  • Save LXGaming/6742f9cfb633bd20738302e5cfee0f39 to your computer and use it in GitHub Desktop.
Save LXGaming/6742f9cfb633bd20738302e5cfee0f39 to your computer and use it in GitHub Desktop.
Java Proxy Batch Script
@ECHO OFF
SET JDK=
IF NOT EXIST "%JDK%" (
ECHO No JDK found.
EXIT /B
)
SET JAVA_EXE=%JDK%\bin\java.exe
IF NOT EXIST "%JAVA_EXE%" (
ECHO No Java executable found.
EXIT /B
)
"%JAVA_EXE%" %*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment