source: main/trunk/release-kits/rk-setup.bat@ 35679

Last change on this file since 35679 was 35679, checked in by davidb, 2 years ago

Initial rk setup file for Windows, based on rk-setup.bash converted to DOS scripting syntax

File size: 865 bytes
Line 
1@echo off
2
3set RK_HOME=%CD%
4set PATH=%RK_HOME%\bin;%PATH%
5
6echo 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
14set jrt_home_dir=%RK_HOME%\shared\core\java-rt
15
16set rt_jar=%jrt_home_dir%\rt-openjdk8.jar
17set 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
19set bootclasspath=%rt_jar%;%jce_jars%
20
21set JAVACFLAGS=-source 1.8 -target 1.8 -bootclasspath %bootclasspath_% -extdirs ''
22
23echo Set JAVACFLAGS to compile for source, and to target, 1.8
24
25set rt_home_jar=
26set rt_jar=
27set rce_jars=
28set bootclasspath=
29
Note: See TracBrowser for help on using the repository browser.