wiki:java

Java JRE and SDK Support and Performance

Please help fill this out

JRE/SDK Works Compiles Performance
Oracle/Sun? 5 no no I2P 0.9.12 and newer require Java 1.6 or newer
Oracle/Sun? 6 no no I2P 0.9.24 and newer require Java 1.7 or newer
Oracle/Sun? 7 yes yes good
Oracle/Sun? 8 yes yes good
Oracle/Sun? 9 some issues some issues good; See ticket #1870 for status of several issues
GCJ (compiled to C) no no very poor
GCJ-JRE (gij-4.4) no I2P 0.9.12 and newer requires Java 1.6 or newer
Iced Tea 5 no no I2P 0.9.12 and newer requires Java 1.6 or newer
Iced Tea 6 no no I2P 0.9.24 and newer require Java 1.7 or newer
Iced Tea 7 yes yes good
Iced Tea 8 yes yes good
Open JDK 5 no no I2P 0.9.12 and newer require Java 1.6 or newer
Open JDK 6 no no I2P 0.9.24 and newer require Java 1.7 or newer.
Open JDK 7 yes yes good, except on ARM systems such as the Raspberry Pi. Use Oracle Java 7 or 8 on these platforms.
Open JDK 8 yes yes good, except on ARM systems such as the Raspberry Pi. Use Oracle Java 7 or 8 on these platforms.
Open JDK 9 some issues some issues good; See ticket #1870 for status of several issues
IBM Reportedly does not http://zzz.i2p/topics/577
IBM 8 Reportedly does not see #2165 Due to TLS/SNI issues on Linux Mint 18.2, see #2165
Android yes yes (core and other subsystems) poor/OK depending on hardware; 512 MB RAM recommended
Oracle/BEA JRockit 1.6 no no I2P 0.9.24 and newer require Java 1.7 or newer
Apache Harmony 5 no - bug in Deflater fixed with workaround in 0.7.12-15; reports huge clock skews in UDP Transport; works with TCP only? I2P 0.9.24 and newer require Java 1.7 or newer
Apache Harmony 6 I2P 0.9.24 and newer require Java 1.7 or newer
JamVM 1.5.3 no n/a I2P 0.9.24 and newer require Java 1.7 or newer
CacaoVM/openjdk6 wrapper hangs at jvm launch yes fail
IKVM yes on Windows, no on Linux ?? good See tickets #1021 and #1655

Notes and Minimum Requirements

JDK/JRE

As of I2P 0.9.24, a Java 7 compatible SDK is required to compile I2P. A Java 7 or higher JRE is required to run I2P. Java 8 is recommended. Java 9 support is beta and support may vary depending on the underlying OS distribution.

TLS Requirements for Reseeding

Most if not all reseed hosts require TLS 1.2 with Server Name Indication (SNI) support. Many Java 7 installations do not have this support, and even some Java 8 installations do not. Support may depend on the underlying distribtion and installed libraries, not on the particular version of Java itself. One possible workaround is to reseed manually, see the /configreseed page in the router console.

Last modified 8 months ago Last modified on Feb 12, 2018 5:59:30 PM