We moved our repositories to BitBucket!

If you can't login or you can't register to the forums do not rise an issue, instead please write to support (at) l2jserver.com

Check our wiki!

Report server issues here

Forum has been updated to phpBB 3.2, let's see if this fixes some minor bugs we had.

Thank you for visiting http://www.l2jserver.com/

Updating Project to Java 11

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
mezing
Posts: 7
Joined: Thu Oct 01, 2015 3:55 am

Updating Project to Java 11

Post by mezing » Sun Oct 20, 2019 7:36 pm

Hello, I'm trying to update my l2jserver to java 11 and it's ok, I can compile and no error in eclipse but when console begin to load the scripts, this msg appears and stop to loading. Why is this?.

Code: Select all

Exception in thread "main" org.mdkt.compiler.CompilationException: Unable to compile the source
[kind=ERROR, line=1, message='.' expected]
[kind=ERROR, line=2, message=';' expected]
[kind=ERROR, line=2, message='.' expected]
[kind=ERROR, line=3, message=';' expected]
[kind=ERROR, line=3, message='.' expected]
[kind=ERROR, line=4, message=';' expected]
[kind=ERROR, line=4, message='.' expected]
[kind=ERROR, line=5, message=';' expected]
[kind=ERROR, line=5, message='.' expected]
[kind=ERROR, line=6, message=';' expected]
[kind=ERROR, line=6, message='.' expected]
[kind=ERROR, line=7, message=';' expected]
[kind=ERROR, line=7, message='.' expected]
[kind=ERROR, line=7, message=';' expected]
[kind=ERROR, line=8, message='.' expected]
[kind=ERROR, line=9, message=';' expected]
[kind=ERROR, line=9, message='.' expected]
[kind=ERROR, line=10, message=';' expected]
[kind=ERROR, line=10, message='.' expected]
[kind=ERROR, line=11, message=';' expected]
[kind=ERROR, line=11, message='.' expected]
[kind=ERROR, line=12, message=';' expected]
[kind=ERROR, line=12, message='.' expected]
[kind=ERROR, line=13, message=';' expected]
[kind=ERROR, line=15, message=illegal character: '#']
[kind=ERROR, line=15, message=illegal character: '#']
[kind=ERROR, line=15, message=illegal character: '#']
[kind=ERROR, line=15, message=illegal character: '#']
[kind=ERROR, line=15, message=illegal character: '#']
[kind=ERROR, line=15, message=illegal character: '#']
[kind=ERROR, line=15, message=illegal character: '#']
[kind=ERROR, line=15, message=illegal character: '#']
[kind=ERROR, line=15, message=illegal character: '#']
[kind=ERROR, line=15, message=illegal character: '#']
[kind=ERROR, line=15, message=illegal character: '#']
[kind=ERROR, line=15, message=illegal character: '#']
[kind=ERROR, line=15, message=illegal character: '#']
[kind=ERROR, line=15, message=illegal character: '#']
[kind=ERROR, line=15, message=illegal character: '#']
[kind=ERROR, line=15, message=illegal character: '#']
[kind=ERROR, line=15, message=illegal character: '#']
[kind=ERROR, line=15, message=illegal character: '#']
[kind=ERROR, line=15, message=illegal character: '#']
[kind=ERROR, line=15, message=illegal character: '#']
[kind=ERROR, line=15, message=illegal character: '#']
[kind=ERROR, line=15, message=illegal character: '#']
[kind=ERROR, line=15, message=illegal character: '#']
[kind=ERROR, line=15, message=illegal character: '#']
[kind=ERROR, line=15, message=illegal character: '#']
[kind=ERROR, line=15, message=illegal character: '#']
[kind=ERROR, line=15, message=illegal character: '#']
[kind=ERROR, line=15, message=illegal character: '#']
[kind=ERROR, line=15, message=illegal character: '#']
[kind=ERROR, line=15, message=illegal character: '#']
[kind=ERROR, line=16, message=illegal character: '#']
[kind=ERROR, line=17, message=illegal character: '#']
[kind=ERROR, line=17, message=illegal character: '#']
[kind=ERROR, line=17, message=illegal character: '#']
[kind=ERROR, line=17, message=illegal character: '#']
[kind=ERROR, line=17, message=illegal character: '#']
[kind=ERROR, line=17, message=illegal character: '#']
[kind=ERROR, line=17, message=illegal character: '#']
[kind=ERROR, line=17, message=illegal character: '#']
[kind=ERROR, line=17, message=illegal character: '#']
[kind=ERROR, line=17, message=illegal character: '#']
[kind=ERROR, line=17, message=illegal character: '#']
[kind=ERROR, line=17, message=illegal character: '#']
[kind=ERROR, line=17, message=illegal character: '#']
[kind=ERROR, line=17, message=illegal character: '#']
[kind=ERROR, line=17, message=illegal character: '#']
[kind=ERROR, line=17, message=illegal character: '#']
[kind=ERROR, line=17, message=illegal character: '#']
[kind=ERROR, line=17, message=illegal character: '#']
[kind=ERROR, line=17, message=illegal character: '#']
[kind=ERROR, line=17, message=illegal character: '#']
[kind=ERROR, line=17, message=illegal character: '#']
[kind=ERROR, line=17, message=illegal character: '#']
[kind=ERROR, line=17, message=illegal character: '#']
[kind=ERROR, line=17, message=illegal character: '#']
[kind=ERROR, line=17, message=illegal character: '#']
[kind=ERROR, line=17, message=illegal character: '#']
[kind=ERROR, line=17, message=illegal character: '#']
[kind=ERROR, line=17, message=illegal character: '#']
[kind=ERROR, line=17, message=illegal character: '#']
[kind=ERROR, line=17, message=illegal character: '#']
[kind=ERROR, line=18, message=illegal character: '#']
[kind=ERROR, line=19, message=illegal character: '#']
[kind=ERROR, line=19, message=illegal character: '#']
[kind=ERROR, line=19, message=illegal character: '#']
[kind=ERROR, line=19, message=illegal character: '#']
[kind=ERROR, line=19, message=illegal character: '#']
[kind=ERROR, line=19, message=illegal character: '#']
[kind=ERROR, line=19, message=illegal character: '#']
[kind=ERROR, line=19, message=illegal character: '#']
[kind=ERROR, line=19, message=illegal character: '#']
[kind=ERROR, line=19, message=illegal character: '#']
[kind=ERROR, line=19, message=illegal character: '#']
[kind=ERROR, line=19, message=illegal character: '#']
[kind=ERROR, line=19, message=illegal character: '#']
[kind=ERROR, line=19, message=illegal character: '#']
        at org.mdkt.compiler.InMemoryJavaCompiler.compileAll(InMemoryJavaCompiler.java:106)
        at com.l2jserver.gameserver.scripting.ScriptEngineManager.executeScriptList(ScriptEngineManager.java:132)
        at com.l2jserver.gameserver.GameServer.<init>(GameServer.java:307)
        at com.l2jserver.gameserver.GameServer.main(GameServer.java:616)
Line number 132 of ScriptEngineManager

Code: Select all

final Map<String, Class<?>> classes = COMPILER.compileAll();

Post Reply