[Help]Java error ? :S L2J 

Newbie Spellweaver
Joined
May 17, 2008
Messages
25
Reaction score
0
Hello there. I am trying to open a C6 l2j server on my friend's pc. I am setting up the mysql correct, navicat ok, database installed. But when I am trying to create the hexid file by pressing RegisterGameServer.bat, it appears me this:
prwtos - [Help]Java error ? :S - RaGEZONE Forums

ps: The OS is Windows Vista Ultimate x64

Any1 can help?
Thnx
 
u have to place ur java directory in the startgameserver.bat...right click on startgameserver.bat and go to EDIT. look for these lines:
{ SET OLDCLASSPATH=%CLASSPATH%
call setenv.bat}

under call setenv.bat,put this line in. SET PATH=C:\Program Files\Java\jre1.5.0_06\bin

normally its SET PATH= but then after the =, you have to put the BIN directory of ur java folder...its something like the one above..

Sorry i said GAMESERVER.bat...this error will come to every .bat file u initiate, even the login... so u have to do that SET PATH= onto every .bat file...
And another thing, if after that you get a "main" error, you need to increase the heap size of ur gameserver.
 
Upvote 0
Back