wiki:java

Version 31 (modified by zzz, 3 years ago) (diff)

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
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:

<smeghead> icedtea is openjdk with the non-GPL-compatible parts replaced, and openjdk is sun's jdk with bits relicensed

<smeghead> for most purposes you shouldn't notice any difference between sun, openjdk, and icedtea

<smeghead> however, icedtea offers some alternatives to hotspot which can give worse or better performance


As of I2P 0.9.12, a 1.6 compatible SDK is required to compile I2P. A 1.6 or higher JRE is required to run I2P.