mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-25 12:25:46 +01:00
Add note about Nashorn
This commit is contained in:
parent
14ec7fb816
commit
60b5f5fe48
@ -68,6 +68,14 @@ public class JavaVersionCheck {
|
||||
if (javaVersionNumber < 11) {
|
||||
JavaVersionCheck.notify(javaVersion, logger);
|
||||
}
|
||||
if (javaVersionNumber >= 11) {
|
||||
logger.error("************************************************************");
|
||||
logger.error("* PlotSquared uses Nashorn for the internal scripting engine.");
|
||||
logger.error("* Within Java 15, Nashorn has been removed from Java.");
|
||||
logger.error("* Until we add a suitable workaround, you should stick to Java 11");
|
||||
logger.error("* to use all features of PlotSquared.");
|
||||
logger.error("************************************************************");
|
||||
}
|
||||
}
|
||||
|
||||
public static void notify(final String version, final Logger logger) {
|
||||
|
Loading…
Reference in New Issue
Block a user