source:
main/trunk/release-kits/rk-setup.bat@
35679
Last change on this file since 35679 was 35679, checked in by , 2 years ago | |
---|---|
File size: 865 bytes |
Line | |
---|---|
1 | @echo off |
2 | |
3 | set RK_HOME=%CD% |
4 | set PATH=%RK_HOME%\bin;%PATH% |
5 | |
6 | echo Set RK_HOME and added RK_HOME/bin into PATH |
7 | |
8 | :: Set JAVACFLAGS (used in the relevant javac lines in our win32.mak files) |
9 | :: so that any compiled Java code is backwards compatible with Java v1.8 |
10 | |
11 | :: To fully support backward compatible compilation need to specfiy |
12 | :: -bootclasspath in addition to -source and -target |
13 | |
14 | set jrt_home_dir=%RK_HOME%\shared\core\java-rt |
15 | |
16 | set rt_jar=%jrt_home_dir%\rt-openjdk8.jar |
17 | set jce_jars=%jrt_home_dir%\jce1_2_2.jar;%jrt_home_dir%\local_policy.jar;%jrt_home_dir%\US_export_policy.jar;%jrt_home_dir%\sunjce_provider.jar |
18 | |
19 | set bootclasspath=%rt_jar%;%jce_jars% |
20 | |
21 | set JAVACFLAGS=-source 1.8 -target 1.8 -bootclasspath %bootclasspath_% -extdirs '' |
22 | |
23 | echo Set JAVACFLAGS to compile for source, and to target, 1.8 |
24 | |
25 | set rt_home_jar= |
26 | set rt_jar= |
27 | set rce_jars= |
28 | set bootclasspath= |
29 |
Note:
See TracBrowser
for help on using the repository browser.