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.



  • Posts

    • Inventory restock: Premium business accounts are now available.   ✔ Wallester Business EU 🇪🇺|💳 Unlimited virtual cards, physical cards, 🏦 multi-currency IBAN, ₿ crypto & stablecoin deposits. ✔ Stripe Business UK 🇬🇧|💳 Instant virtual cards (Visa/Mastercard), high-conversion checkout, multi-currency payouts, ₿ crypto payments, no-code payment links. ✔ Mercury Business US 🇺🇸|🏦 US checking & savings, 💳 unlimited virtual cards, domestic & International wires, native stablecoin settlement. ✔ Payset Business EU 🇪🇺|🏦 Multiple IBANs, UK sort code, SEPA Instant, 💳 unlimited virtual cards, multi-currency accounts. ✔ Novo Business US 🇺🇸|🏦 Business checking account, ACH payments & invoicing, 💳 virtual & physical cards, novo boost.
    • Let me see if I understand correctly, older gentlemen, when a newcomer shows up to create modern things with the help of AI, doing what you charge them to do, you point the finger and laugh. I believe that's why everything is stagnant. The product isn't for programming experts, it's for newcomers. Don't buy from you if they can do it themselves using this base. You're going to deliver a similar product, maybe even worse than this one, so why are you complaining? PowerShell, as you well know, started with it, then came new platforms and new apps, new creation models, all with different languages; I chose the simplest one for my taste. This is about being organized and knowing how to choose the right words for each situation. It's not 100%, but it already gives a good impression. Nothing is 100%, so a topic written by AI, and all the code that you charge an absurd amount for to prohibit and sell hacks, could be open source so that everyone can create new practices, new models, new information for passing packets, prohibiting the use of cheats that cause server owners to break so much. Let's remember that the Admin doesn't always shut down the server; it's the players who find problems and take advantage by buying and reselling items, and they say that the GM shuts down the server every week, but that's a lie. What they do is duplicate items with packages and sell them, but perhaps this could give some future developers a starting point to create their own protection following the model in the initial documentation. Because none of you answer a question from a newbie, you think you're superior because you have knowledge, but with AI, people like that can have the same knowledge as you, but with less practice. And if they practice a lot, 10,000 hours, they can be as good as all of you older developers in the L2J field.
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..