Server Build Failed - Java Compiler Failed (Aion Germany v7.8)

Newbie Spellweaver
Joined
Nov 4, 2021
Messages
6
Reaction score
1
Hello

I've been trying to start the Aion Germany Server for a few days.
Source:
Unfortunately there is always a problem with JAVA and compiling.

Well: JDK 8 and 7 give me this error:
-Javac not found.
Screenshot:

And JDK 17 and 11 give me this error:
- package javax.xml.bind.annotation does not exist
- cannot find symbol
Screenshot:
Full Text:
But the Chat & Login Server worksfinde

So my Question: How i can fix it?, Which Java version need it? x86 or x64?
And where the hell is the MySql files? Im to stupid/blind or is that not included?
Im new in this and want to learn to create modificating an own Private Server.


BTW: This emulator works very fine: https://forum.ragezone.com/f587/aion-7-7-a-1195559/

I tested it and It's a very nice work , but useless for me. But the biggest problem is, the GM-Panel doesn't work because of missing script/handlers. I need the function of the GM-Panal. That is realy important for my project. So im Sorry but every Emuklator without GM-Panal function and lower than V7 is useless for my project.

so I hope you can help to me.
 
Newbie Spellweaver
Joined
Nov 4, 2021
Messages
6
Reaction score
1
Ok ok, it's solved. I am sorry...
The entry JAVA_HOME and the path were missing in the [System Environment Variables]
But why the entry is not made when installing Java JDK 8 SE is still a mystery to me.
 
Upvote 0
Newbie Spellweaver
Joined
Nov 4, 2021
Messages
6
Reaction score
1
Use Java 1.7 64bit for GameServer
and Java 1.8 64bit for Login e ChatServer.

Yes, there are many things to add to the project.
Yes. Thanks i noticed that Well, my next problem is, I am now failing with MySQL ... database is executed and ready. But the LS and GS servers cannot find the connection. Although the Config\Database & Network.proberties contain the correct entries.


MySQL Workbench = OK! (Server status online)
NavaiCat = OK! (Server status online)
CMD = Access Denied (server status online but access is denied despite correct PW.)
Aion (Login Server) = Connection to the database server could not be established.

Im confused...
 
Upvote 0
Joined
Sep 21, 2013
Messages
2,319
Reaction score
3,123

Take a look at this tutorial https://forum.ragezone.com/f588/aion-core-v4-7-5-a-1073648/

Try to use as base to configure.
 
Upvote 0
Newbie Spellweaver
Joined
Nov 4, 2021
Messages
6
Reaction score
1
I followed the tutorial, Unfortunately without success.
The error remains the same.

But is the file path right?
I mean i have after the compiling 2 paths.

Example:
Default: 1. "\AL-Login\config\network\database.properties"
Compiled: 2. "\AL-Login\build\dist\AL-Login\config\network.database.properties"

I editing both files.
But which will used?

and the once working BAT is here: "\AL-Login\build\dist\AL-Login\StartLS.bat"
(with the mentioned error.)
other other BAT is located here: "AL-Login\dist\StartLS.bat"
(mainclass com.aionemu.loginserver.Loginserver could not found.)

Im still confused...
A "one click" Launcher for 3 servers is not existing.
 
Upvote 0
Joined
Sep 21, 2013
Messages
2,319
Reaction score
3,123

Use the Compiled: 2. "\AL-Login\build\dist\AL-Login\config\network.database.properties"

Use: StartLoginServer.bat

Configure java here... on StartLoginServer.bat

TITLE Aion German - Login Server Console
REM SET PATH="C:\Program Files\Java\jre1.8.0_121\bin"
REM SET PATH="Type here your path to java jdk/jre (including bin folder)."
REM NOTE: Remove tag REM from previous line.

You should fix the build in \aion-germany.git\trunk\AL-Login\build

On line 29, change it: nowarn="off" source="1.7" target="1.7" includeantruntime="false">

for it: nowarn="off" source="1.8" target="1.8" includeantruntime="false">

To compile correctly.
 
Last edited:
Upvote 0
Newbie Spellweaver
Joined
Nov 4, 2021
Messages
6
Reaction score
1
Thanks
Build Folder Deleted and again compiled without issues.

which of the two?
\AL-Login\dist\StartLoginServer.bat
(mainclass com.aionemu.loginserver.Loginserver could not found.)
or
\AL-Login\build\dist\AL-Login\StartLoginServer.bat
(connection to MySQL failed)

but both have the same issues.

and - REM SET PATH="C:\Program Files\Java\jre1.8.0_121\bin" - is already set in both.
 
Upvote 0
Joined
Sep 21, 2013
Messages
2,319
Reaction score
3,123

Use the second: ...\AL-Login\build\dist\AL-Login\StartLoginServer.bat

You must add the sql: ...\aion-germany.git\trunk\AL-Login\sql

Sorry!! also use: Compiled: 2. "\AL-Login\build\dist\AL-Login\config\network.database.properties"
 
Last edited:
Upvote 0
Newbie Spellweaver
Joined
Nov 4, 2021
Messages
6
Reaction score
1
hehe, okey!
I tried another thing. I switched the "mysql-connector-java-5.1.34.jar" to "mysql-connector-java-8.0.26.jar"
Now i have htis:


Maybe It is a version problem. My MYSQL is v8.0, thats why it could't find a connection.
Yea, IDK how to fix Invalid index or i could think the "mysql-connector-java-8.0.26" is incompatible java 8 or 7.

-------------------------------EDIT---------------------------

Alright, the Server is Working. With MySQL v5.1 - v8 was realy to new!
I'm so stupid. I'm sorry.
 
Last edited:
Upvote 0