Skip to content
This repository has been archived by the owner on May 2, 2019. It is now read-only.

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

Open
wants to merge 1 commit into
base: next
Choose a base branch
from

Conversation

ivilata
Copy link
Collaborator

@ivilata ivilata commented Aug 30, 2016

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:

    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.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant