Skip to content

Commit

Permalink
Clarify Ice for Java/Java Compat JDK requirements (#1542)
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardnormier authored Oct 9, 2023
1 parent 45cf4a9 commit c8a1ca9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
9 changes: 6 additions & 3 deletions java-compat/BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ prefer, you can also download a [binary distribution].
* [Build Requirements](#build-requirements)
* [Operating Systems](#operating-systems)
* [Slice to Java Compiler](#slice-to-java-compiler)
* [Java Version](#java-version)
* [JDK Version](#jdk-version)
* [Gradle](#gradle)
* [Bzip2 Compression](#bzip2-compression)
* [Building Ice for Java Compat](#building-ice-for-java-compat)
Expand All @@ -29,12 +29,14 @@ Ice for Java Compat. The Slice to Java compiler (`slice2java`) is a command-line
written in C++. You can build the Slice to Java compiler from source, or alternatively
you can install an Ice [binary distribution] that includes this compiler.

### Java Version
### JDK Version

Ice for Java Compat requires Java 7 or later.
You need JDK 8, JDK 11, or JDK 17 to build Ice for Java Compat.

Make sure that the `javac` and `java` commands are present in your PATH.

> The build produces bytecode in the Java 7 class file format ([major version] 51).
### Gradle

Ice for Java Compat uses the [Gradle] build system, and includes the Gradle wrapper
Expand Down Expand Up @@ -247,3 +249,4 @@ Studio you should omit the `--controller-app` option from the commands above.
[supported platforms]: https://doc.zeroc.com/ice/3.7/release-notes/supported-platforms-for-ice-3-7-10
[Gradle]: https://gradle.org
[Apache Commons Compress]: https://commons.apache.org/proper/commons-compress/
[major version]: https://docs.oracle.com/javase/specs/jvms/se21/html/jvms-4.html#jvms-4.1-200-B.2
9 changes: 6 additions & 3 deletions java/BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ you prefer, you can also download a [binary distribution].
* [Build Requirements](#build-requirements)
* [Operating Systems](#operating-systems)
* [Slice to Java Compiler](#slice-to-java-compiler)
* [Java Version](#java-version)
* [JDK Version](#jdk-version)
* [Gradle](#gradle)
* [Bzip2 Compression](#bzip2-compression)
* [JGoodies](#jgoodies)
Expand Down Expand Up @@ -34,12 +34,14 @@ written in C++. You can build the Slice to Java compiler from source, or
alternatively you can install an Ice [binary distribution] that includes
this compiler.

### Java Version
### JDK Version

Ice for Java requires Java 8 or later.
You need JDK 8, JDK 11, JDK 17, or JDK 21 to build Ice for Java.

Make sure that the `javac` and `java` commands are present in your PATH.

> The build produces bytecode in the Java 8 class file format ([major version] 52).
The IceGrid GUI tool's Metrics Graph feature requires JavaFX support. If you
build the source with a JVM that lacks JavaFX support, this feature will be
unavailable. Alternatively, building the source in an environment with
Expand Down Expand Up @@ -310,6 +312,7 @@ can start the IceGrid GUI tool by double-clicking the IceGrid GUI icon in
Finder.

[binary distribution]: https://zeroc.com/downloads/ice
[major version]: https://docs.oracle.com/javase/specs/jvms/se21/html/jvms-4.html#jvms-4.1-200-B.2
[supported platforms]: https://doc.zeroc.com/ice/3.7/release-notes/supported-platforms-for-ice-3-7-10
[Gradle]: https://gradle.org
[ProGuard]: http://proguard.sourceforge.net
Expand Down

0 comments on commit c8a1ca9

Please sign in to comment.