Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify Ice for Java/Java Compat JDK requirements #1542

Merged
merged 3 commits into from
Oct 9, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
bernardnormier marked this conversation as resolved.
Show resolved Hide resolved

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.
bernardnormier marked this conversation as resolved.
Show resolved Hide resolved

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