diff options
Diffstat (limited to 'Documentation/dev-eclipse.txt')
-rw-r--r-- | Documentation/dev-eclipse.txt | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/Documentation/dev-eclipse.txt b/Documentation/dev-eclipse.txt index 6205858abd..c335a2d086 100644 --- a/Documentation/dev-eclipse.txt +++ b/Documentation/dev-eclipse.txt @@ -3,7 +3,7 @@ This document is about configuring Gerrit Code Review into an Eclipse workspace for development and debugging with GWT. -Java 6 or later SDK is also required to run GWT's compiler and +Java 8 or later SDK is also required to run GWT's compiler and runtime debugging environment. @@ -49,6 +49,19 @@ the same way you would when link:dev-build-plugins.html#_bundle_custom_plugin_in_release_war[bundling in release.war] and run `tools/eclipse/project.py`. +[[Newer Java versions]] + +Java 9 and later are supported, but some adjustments must be done, because +Java 8 is still the default: + +* Add JRE, e.g.: directory: /usr/lib64/jvm/java-9-openjdk, name: java-9-openjdk-9 +* Change execution environemnt for gerrit project to: JavaSE-9 (java-9-openjdk-9) +* Check that compiler compliance level in gerrit project is set to: 9 +* Add this parameter to VM argument for gerrit_daemin launcher: +---- + --add-modules java.activation \ + --add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED +---- [[Formatting]] == Code Formatter Settings |