Page 1 of 1

RegisterGameServer.Bat

Posted: Sun Apr 11, 2010 9:55 am
by Twilight
Hello, ive had a look around on the forums for this answer but wasn't able to find anything.

When i go to run the "RegisterGameServer.Bat" it opens but instanly closes. Some text does appear i managed to get what it said quickly by taking screenshot. The text reads "Java" is not a recognized as an internal or external command, operable program or batch file.

Any help would be great thanks!!!



If you want to receive support we need this info to help you properly.
ยป Find Revision
L2J Revision Number: 4056
L2JDP Revision Number: 4056

Re: RegisterGameServer.Bat

Posted: Sun Apr 11, 2010 11:15 am
by Zoey76
This happen when you don't have Java installed or you haven't set up the path to it as a global variable in the operative system.
L2J Wiki wrote:Setting the PATH for Java
1.) Open Control Panel
2.) Open System and go to the Advanced tab.
3.) Click on Environment Variables
PATH
In order to run Java programs from anywhere, the files javac.exe java.exe need to be included in the path system.
REPLACE X.X.X With the Java JDK you Have.
Windows NT/2000/XP: path "C: \ JDKX.X.X \ BIN" for the PATH variable.

CLASSPATH
Java needs to find classes in Java, which is where CLASSPATH comes in.
Windows NT/2000/XP: classpath "."
4.) You are now done.
Also take a look:
http://wso2.org/project/wsas/java/1.1/d ... -home.html
http://developers.sun.com/docs/javacaps ... ome_t.html

I hope it helped you.

Re: RegisterGameServer.Bat

Posted: Sun Apr 11, 2010 3:53 pm
by jurchiks
run the GSregister.exe instead