updater weirdness on OSX
Posted: 23 Aug 2018 19:23
Just upgraded to 0.9.36 from source.
Used "ant updater" with javac.version set to the destination platform. Build system is 32-bit Armbian 5.3.8 Stretch with OpenJDK 10.0.1. i2pupdate.zip produced works fine on Linux with OpenJDK 9.0.4 and 10.0.1.
On latest OSX with Java 10.0.2 I get after updating: WrapperSimpleApp Error: Class net.i2p.router.Router found but could not be initialized: java.lang.UnsupportedClassVersionError: net/i2p/router/Router has been compiled by a more recent version of the Java Runtime (class file version 54.0), this version of the Java Runtime only recognizes class file versions up to 53.0.
Installation is wrecked afterwards. Does not update anymore. Overwriting with stock 0.9.36 OSX installer does not help. I needed to delete /Applications/i2p and again installed from stock 0.9.36 OSX installer.
I can swear this worked for earlier Java 10 versions an OSX.
Used "ant updater" with javac.version set to the destination platform. Build system is 32-bit Armbian 5.3.8 Stretch with OpenJDK 10.0.1. i2pupdate.zip produced works fine on Linux with OpenJDK 9.0.4 and 10.0.1.
On latest OSX with Java 10.0.2 I get after updating: WrapperSimpleApp Error: Class net.i2p.router.Router found but could not be initialized: java.lang.UnsupportedClassVersionError: net/i2p/router/Router has been compiled by a more recent version of the Java Runtime (class file version 54.0), this version of the Java Runtime only recognizes class file versions up to 53.0.
Installation is wrecked afterwards. Does not update anymore. Overwriting with stock 0.9.36 OSX installer does not help. I needed to delete /Applications/i2p and again installed from stock 0.9.36 OSX installer.
I can swear this worked for earlier Java 10 versions an OSX.