RegisterGameServer.Bat

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
Twilight
Posts: 1
Joined: Sun Apr 11, 2010 9:25 am

RegisterGameServer.Bat

Post 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
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7008
Joined: Tue Aug 11, 2009 3:36 am

Re: RegisterGameServer.Bat

Post 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.
Powered by Eclipse 4.34 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.3.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: RegisterGameServer.Bat

Post by jurchiks »

run the GSregister.exe instead
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Post Reply