Last change
on this file since 36236 was 36236, checked in by davidb, 16 months ago |
Additional locations needed in PATH for Strawberry Perl5 (portable) to operate, otherwise getting an error about Expat.dll failed to load, even though it exists
|
File size:
905 bytes
|
Line | |
---|
1 | @echo off
|
---|
2 |
|
---|
3 | ::set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_20
|
---|
4 | set JAVA_HOME=%CD%\zulu-jdk8-64bit
|
---|
5 | ::set JAVA_HOME=%CD%\zulu-jdk11-64bit
|
---|
6 |
|
---|
7 | if not exist "%JAVA_HOME%" (
|
---|
8 | echo %JAVA_HOME% not found. Exiting...
|
---|
9 | goto done
|
---|
10 | )
|
---|
11 | set PATH=%JAVA_HOME%\bin;%PATH%
|
---|
12 | echo + Set JAVA_HOME to local instance and updated PATH
|
---|
13 |
|
---|
14 |
|
---|
15 | ::set PERL_HOME=C:\strawberry-perl-64bit\perl
|
---|
16 | set _PERL_TOPLEVEL=%CD%\strawberry-perl5-64bit
|
---|
17 | set PERL_HOME=%_PERL_TOPLEVEL%\perl
|
---|
18 |
|
---|
19 | if not exist "%PERL_HOME%" (
|
---|
20 | echo %PERL_HOME% not found. Exiting...
|
---|
21 | goto done
|
---|
22 | )
|
---|
23 | echo + Set PERL_HOME to local instance and updated PATH
|
---|
24 |
|
---|
25 | set ANT_HOME=%CD%\apache-ant-1.9.5
|
---|
26 |
|
---|
27 | if not exist "%ANT_HOME%" (
|
---|
28 | echo %ANT_HOME% not found. Exiting...
|
---|
29 | goto done
|
---|
30 | )
|
---|
31 | set PATH=%PERL_HOME%\site\bin;%PERL_HOME%\bin;%_PERL_TOPLEVEL%\c\bin;%ANT_HOME%\bin;%PATH%
|
---|
32 | echo + Set ANT_HOME to local instance and updated PATH
|
---|
33 |
|
---|
34 | :: Unset local variable(s)
|
---|
35 | set _PERL_TOPLEVEL=
|
---|
36 |
|
---|
37 | :done
|
---|
Note:
See
TracBrowser
for help on using the repository browser.