Jump to content

Question

Recommended Posts

  • 0
Posted

well I noticed that you're getting error because of java/server is missing and I realised wtf java server are using java/client files so maybe you downloaded a wrong java or the directories are wrong for java to work with.

  • 0
Posted

well I noticed that you're getting error because of java/server is missing and I realised wtf java server are using java/client files so maybe you downloaded a wrong java or the directories are wrong for java to work with.

a sollution for this/
  • 0
Posted

change/add the path of java so it would know where java is.

 

Setting Path on Windows

For Windows XP:

 

  1. Start -> Control Panel -> System -> Advanced

  2. Click on Environment Variables, under System Variables, find PATH, and click on it.

  3. In the Edit windows, modify PATH by adding the location of the class to the value for PATH. If you do not have the item PATH, you may select to add a new variable and add PATH as the name and the location of the class as the value.

  4. Close the window.

  5. Reopen Command prompt window, and run your java code.

 

IF THAT DOESN'T HELP I'M OUT OF HERE.

 

 

For Windows Vista:

 

  1. Right click “My Computer” icon

  2. Choose “Properties” from context menu

  3. Click “Advanced” tab (“Advanced system settings” link in Vista)

  4. In the Edit windows, modify PATH by adding the location of the class to the value for PATH. If you do not have the item PATH, you may select to add a new variable and add PATH as the name and the location of the class as the value.

  5. Reopen Command prompt window, and run your java code.

 

 

Setting Path on Solaris and Linux

To find out if the java executable is in your PATH, execute:

% java -version

 

This will print the version of the java executable, if it can find it. If you get error java: Command not found. Then path is not properly set.

 

To find out which java executable the first one found in your PATH, execute:

% which java

 

Below are the steps to set the PATH permanently,

Note: We are here giving instructions for two most popular Shells on Linux and Solaris.

Please visit link below if you are using any other shells.

Path Setting Tutorial

 

For bash Shell:

 

  1. Edit the startup file (~/ .bashrc)

  2. Modify PATH variable:

     PATH=/usr/local/jdk1.6.0/bin

  3. export PATH

  4. Save and close the file

  5. Open new Terminal window

  6. Verify the PATH is set properly

     % java -version

 

 

For C Shell (csh):

 

  1. Edit startup file (~/ .cshrc)

  2. Set Path

     set path=(/usr/local/jdk1.6.0/bin )

  3. Save and Close the file

  4. Open new Terminal window

  5. Verify the PATH is set properly

     % java -version

 

 

  • 0
Posted

for the other people who will have the same problem

1st---EDIT YOUR GAMESERVER.BAT

2nd---java -server -Xmx2048m -cp change to

java -Xmx1024m -cp

changing the amount of ram is not necesary if you don't get an error of a memory heap.

 

THE PROBLEM WAS SOLVED ALREADY BY THIS METHOD.

  • 0
Posted

Well go right click in computer click properties and go to advanced tab.There you should find A button saying Enviromental Varaibles click this one.A new window appears in the System varaible list find the path varaible and click edit there add ";C:\Program Files\Java\jdk1.6.0_\bin" without quotes edit "jdk1.6.0_" to your version after that press ok and ok in advanced tab to close the properties of computer restart the pc and you will be able (with some luck) to run the server...

  • 0
Posted

you should post how you fixed that problem so other persons wouldn't ask the same questions anymore.

 

Indeed, this is meaning of the forum.

 

  • 0
Posted

1st what windows you use? mabye  files doesn't support your windows

2nd check hexid

3rd check Navicat if its correct for your pc

4th i see l2p . Find out if the files are wrong coded

 

check those and tell 

  • 0
Posted

1st what windows you use? mabye  files doesn't support your windows

2nd check hexid

3rd check Navicat if its correct for your pc

4th i see l2p . Find out if the files are wrong coded

 

check those and tell 

no its noone of those :)

its @ ventic's house

and he tells me that those are all fine :)

  • 0
Posted

Add a new gamesrever.bat or edit properly these lines..

REM -------------------------------------

REM Default parameters for a basic server.

java -Xmx512m -cp bsf.jar;bsh-2.0b4.jar;commons-logging-1.1.jar;mmocore.jar;javolution.jar;c3p0-0.9.1.2.jar;mysql-connector-java-5.0.7-bin.jar;l2jserver.jar;jython.jar net.sf.l2j.gameserver.GameServer

REM

REM If you have a big server and lots of memory, you could experiment for example with

REM java -server -Xmx1536m -Xms1024m -Xmn512m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts

REM -------------------------------------

  • 0
Posted

Add a new gamesrever.bat or edit properly these lines..

REM -------------------------------------

REM Default parameters for a basic server.

java -Xmx512m -cp bsf.jar;bsh-2.0b4.jar;commons-logging-1.1.jar;mmocore.jar;javolution.jar;c3p0-0.9.1.2.jar;mysql-connector-java-5.0.7-bin.jar;l2jserver.jar;jython.jar net.sf.l2j.gameserver.GameServer

REM

REM If you have a big server and lots of memory, you could experiment for example with

REM java -server -Xmx1536m -Xms1024m -Xmn512m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts

REM -------------------------------------

and make it should like this?
Guest
This topic is now closed to further replies.



×
×
  • Create New...