censorship-no-archive / ceno1

(Deprecated PoC) Innovative censorship evading technology based on p2p distributed caching network
https://censorship.no
GNU Affero General Public License v3.0
58 stars 14 forks source link

Set target Java version of plugins to same as official Freenet build #283

Open ivilata opened 7 years ago

ivilata commented 7 years ago

This avoids issues when building CENO on a platform with a newer JDK than the one used to build or run Freenet, in particular this error reported in Freenet alerts when building CENO on JDK 8:

    Could not load plugin!

    The plugin CENOBridge.jar could not be loaded: unexpected error while plugin loading java.lang.UnsupportedClassVersionError: plugins/CENO/Bridge/CENOBridge : Unsupported major.minor version 52.0

By setting the target version to 1.7 we ensure that CENO plugins will work wherever Freenet does.