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.
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:
By setting the target version to 1.7 we ensure that CENO plugins will work wherever Freenet does.