Ignore:
Timestamp:
2017-08-04T19:05:08+12:00 (6 years ago)
Author:
ak19
Message:

Java code no longer works out what the ultimate URL to download from is, after all the redirects have been resolved. Wget seems to handle some of this, and for the rest, assume the user specificed URL is what the user is after

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/gli/findjava.bat

    r25678 r31852  
    4646    del "%TMP%\set_java_home.bat"
    4747
     48    ::set JAVA_HOME=%GS_JAVA_HOME%
     49    ::set PATH=%GS_JAVA_HOME%\bin;%PATH%
     50   
    4851:: found java, JAVA_EXECUTABLE and GS_JAVA_HOME env vars set, can exit this script
    4952    goto exit
     
    6568    set JAVA_EXECUTABLE=%JAVA_HOME%\bin\java
    6669    set GS_JAVA_HOME=%JAVA_HOME%
     70    ::set JAVA_HOME=%GS_JAVA_HOME%
     71    ::set PATH=%GS_JAVA_HOME%\bin;%PATH%
    6772    goto exit
    6873
     
    100105
    101106endlocal & set JAVA_EXECUTABLE=%JAVA_EXECUTABLE%& set GS_JAVA_HOME=%GS_JAVA_HOME%
     107::& set JAVA_HOME=%JAVA_HOME%& set PATH=%PATH%
     108
     109::echo ** JAVA_HOME: %JAVA_HOME%
     110::echo ** PATH: %PATH%
Note: See TracChangeset for help on using the changeset viewer.