Commit 83afe83f authored by John Zhang's avatar John Zhang

[doc] update JDK requirements, and potential max filehandle limit issue

parent 0636a37e
Pipeline #2100 failed with stage
in 0 seconds
...@@ -29,7 +29,7 @@ For convinience, javacc and maven are included in the tools directory: ...@@ -29,7 +29,7 @@ For convinience, javacc and maven are included in the tools directory:
BUILDING: BUILDING:
0. JDK requirement: 0. System requirement:
Building DaCapo requires latest JDK 8. Building DaCapo requires latest JDK 8.
JDK 9 is currently not supported (some benchmarks will fail with error). JDK 9 is currently not supported (some benchmarks will fail with error).
If building PMD and/or DayTrader, If building PMD and/or DayTrader,
...@@ -37,11 +37,15 @@ BUILDING: ...@@ -37,11 +37,15 @@ BUILDING:
it's path set in local.properties file. it's path set in local.properties file.
See 3 below. See 3 below.
Building the whole suite at once on macOS **may** have problem with max filehandle limits.
You may want to set it to a larger value, and launch ant with:
$ JAVA_OPTS="-XX:-MaxFDLimit" ant
1. Set your JAVA_HOME environment variable appropriately: 1. Set your JAVA_HOME environment variable appropriately:
On Mac OS X something like: On Mac OS X something like:
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home/ export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home/
On Ubuntu 16.04 something like: On Ubuntu 16.04 something like:
export JAVA_HOME=/usr/lib/jvm/jdk1.8.0_151/ export JAVA_HOME=/usr/lib/jvm/jdk1.8.0_151/
2. Set ant and maven environment variables if necessary. In particular, 2. Set ant and maven environment variables if necessary. In particular,
for some jvms it is necessary to explicitly request a larger heap size. for some jvms it is necessary to explicitly request a larger heap size.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment