~Rasmus~ Posted May 1, 2011 Posted May 1, 2011 :: EXAMPLE PATH :: set JAVA_PATH="C:\Program Files\Java\jdk1.6.0_20" set JAVA_PATH="" if NOT EXIST "%JAVA_HOME%"\lib\tools.jar GOTO check_path goto je :check_path if NOT EXIST %JAVA_PATH%\lib\tools.jar GOTO jne SET JAVA_HOME="%JAVA_PATH%" Quote
0 Flash™ Posted May 1, 2011 Posted May 1, 2011 1. prepei na exeis tin java 1. 2. prepei na kaneis ayto edw file mou look 3. to post gia to help ginete edw [Request] Dev Help [L2J] Gr Quote
0 FighterBoss Posted May 7, 2011 Posted May 7, 2011 Δεν κατάλαβα,τι πρόβλημα έχεις; Δεν μας λες κάτι τώρα... Quote
Question
~Rasmus~
:: EXAMPLE PATH
:: set JAVA_PATH="C:\Program Files\Java\jdk1.6.0_20"
set JAVA_PATH=""
if NOT EXIST "%JAVA_HOME%"\lib\tools.jar GOTO check_path
goto je
:check_path
if NOT EXIST %JAVA_PATH%\lib\tools.jar GOTO jne
SET JAVA_HOME="%JAVA_PATH%"
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.