When you have already installed the newest JAVA-JRE or JAVA-JDK you have two choices.
1. Delete the newest JAVA-JDK and JAVA-JRE and install old version JAVA 1.7.0_79.
2. Install the old the old version 1.7.0_79. In some files you have to add some lines and set some paths
and variables to override the System-Variables and System-Paths of JAVA.
To compile the source and to get a running server, you have to set the Paths for Java in some config-files.
You also have to set the Path for JAVA_HOME and JAVA-BIN in the batch-files. The reason is, that the
gameserver is only working with Java-Version upto 1.7.0_79. Since Java 1.8.0 some JAVA-Commands
have been changed or deleted like the command
UseSplitVerifier.
Believe me, it's not worth to spend any time with Server Files 6.5 now. The quest-database is not ready.
Game-Over at level 9.
@
Echo off
REM Chat-Server
REM mode con: cols=80 lines=20
color 02
TITLE Aion Lightning - Chat Server Console
SET PATH="C:\Program Files\Java\jdk1.8.0_212\bin"
:START
CLS
IF "%MODE%" == "" (
CALL PanelCS.bat
)
ECHO Starting Aion Lightning Chat Server in %MODE% mode.
JAVA %JAVA_OPTS% -cp ./libs/*;AL-Chat.jar com.aionemu.chatserver.ChatServer
SET CLASSPATH=%OLDCLASSPATH%
IF ERRORLEVEL 2 GOTO START
IF ERRORLEVEL 1 GOTO ERROR
IF ERRORLEVEL 0 GOTO END
:ERROR
ECHO.
ECHO Chat Server has terminated abnormaly!
ECHO.
PAUSE
EXIT
:END
ECHO.
ECHO Chat Server is terminated!
ECHO.
PAUSE
EXIT
@
Echo off
REM Login-Server
REM mode con: cols=80 lines=20
color 02
TITLE Aion Lightning - Chat Server Console
SET PATH="C:\Program Files\Java\jdk1.8.0_212\bin"
:START
CLS
IF "%MODE%" == "" (
CALL PanelCS.bat
)
ECHO Starting Aion Lightning Chat Server in %MODE% mode.
JAVA %JAVA_OPTS% -cp ./libs/*;AL-Chat.jar com.aionemu.chatserver.ChatServer
SET CLASSPATH=%OLDCLASSPATH%
IF ERRORLEVEL 2 GOTO START
IF ERRORLEVEL 1 GOTO ERROR
IF ERRORLEVEL 0 GOTO END
:ERROR
ECHO.
ECHO Chat Server has terminated abnormaly!
ECHO.
PAUSE
EXIT
:END
ECHO.
ECHO Chat Server is terminated!
ECHO.
PAUSE
EXIT
@
Echo off
REM Game-Server
REM mode con:cols=150
color 02
TITLE Aion German - Game Server Console
SET PATH="C:\Program Files\Java\jdk1.7.0_79\bin"
:START
CLS
SET JAVAVER=1.7
SET NUMAENABLE=false
CLS
IF "%MODE%" == "" (
CALL PanelGS.bat
)
IF "%JAVAVER%" == "1.7" (
SET JAVA_OPTS=-XX:-UseSplitVerifier -XX:+TieredCompilation %JAVA_OPTS%
)
IF "%NUMAENABLE%" == "true" (
SET JAVA_OPTS=-XX:+UseNUMA %JAVA_OPTS%
)
ECHO Starting Aion German Game Server in %MODE% mode.
JAVA %JAVA_OPTS% -ea -javaagent:./libs/al-commons.jar -cp ./libs/*;AL-Game.jar com.aionemu.gameserver.GameServer
SET CLASSPATH=%OLDCLASSPATH%
IF ERRORLEVEL 2 GOTO START
IF ERRORLEVEL 1 GOTO ERROR
IF ERRORLEVEL 0 GOTO END
:ERROR
ECHO.
ECHO Game Server has terminated abnormaly!
ECHO.
PAUSE
EXIT
:END
ECHO.
ECHO Game Server is terminated!
ECHO.
PAUSE
EXIT
ant.bat in directory \aion-germany\AL-Tools\Ant\bin\
@
Echo off
REM Licensed to the Apache Software Foundation (ASF) under one or more
REM contributor license agreements. See the NOTICE file distributed with
REM this work for additional information regarding copyright ownership.
REM The ASF licenses this file to You under the Apache License, Version 2.0
REM (the "License"); you may not use this file except in compliance with
REM the License. You may obtain a copy of the License at
REM
REM
You must be registered to see links
REM
REM Unless required by applicable law or agreed to in writing, software
REM distributed under the License is distributed on an "AS IS" BASIS,
REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
REM See the License for the specific language governing permissions and
REM limitations under the License.
REM This is an inordinately troublesome piece of code, particularly because it
REM tries to work on both Win9x and WinNT-based systems. If we could abandon '9x
REM support, things would be much easier, but sadly, it is not yet time.
REM Be cautious about editing this, and only add WinNT specific stuff in code that
REM only runs on WinNT.
set JAVA_HOME="C:\Progra~1\Java\jdk1.7.0_79"
if "%HOME%"=="" goto homeDrivePathPre
if exist "%HOME%\antrc_pre.bat" call "%HOME%\antrc_pre.bat"
..................................................
You can also set the variable JAVA_HOME at the start of the batch-files
build_chatserver.bat
build_loginserver.bat
build_gameserver.bat
Example
echo off
REM set JAVA_HOME="C:\Progra~1\Java\jdk1.8.0_212"
REM set JAVA_HOME="C:\Progra~1\Java\jdk1.7.0_79"
set JAVA_HOME="C:\Progra~1\Java\jdk1.7.0_80"
cd AL-Chat
del /s /q build
start ..\AL-Tools\Ant\bin\ant
In this case you can use several versions of JAVA