RandQm
September 29th, 2011, 03:00
Ok, Ive seen this so much times around and being asked.
Cannot find the path blablabla ect...
So for all the noobs out there
Here u go!
note: if this already have been done..I don't give a shit
Step 1:
Make sure that u have downloaded the newest java and jdk!
Java: Only the registered members can see the link.
JDK: Only the registered members can see the link.
Only the registered members can see the link.
If u already have JDK and Java installed, reinstall the newest version anyways to not cause problems.
So before running your server, compile it. If your compiler doesn't work, right click edit and replace everything with this.
These are MY compiler codes:
Server sided:
@echo off
color b
TITLE Your server Source Compiler
echo --------------------------------------------------------------------------
echo Your Server Source Compiler by RandQm
echo Current Time %date% %time%
echo --------------------------------------------------------------------------
echo Compiling...
echo errors:
"C:\Program Files\Java\jdk1.7.0\bin\javac.exe" *.java
echo .
echo .
echo .
echo .
echo .
echo Your server has been compiled.
echo By RandQm
pause
Client sided:
The same compiler code can be used to compile your client.
So if this one also doesn't work, replace it with the same code above.
Then when u have compiled we are ready to run the server!
If that doesn't work;
Right click edit on your run(server).bat SERVER SIDED
and replace the code with this one:
@echo off
color c
title Your server Source
java -Xmx512m -cp .;./jython.jar;./MySql/mysql-connector-java-3.0.08-ga-bin.jar server
echo The server has started.
exit
If when u run u get an error something saying like. Could not reach VM, virtual machine overheap ""something like that
Then change the
512m to
256m
If u get the error again u need a new computer.
So now to run the client,
If u can run your client
Right click edit on the run(server).bat
and replace with this code:
@echo off
title YOUR SERVER
echo Loading YOUR SERVER
echo Current time %date% %time%
java -Xmx500m -cp .;Theme.jar Gui
echo Server is online.
echo by RandQm
pause
If that code doesn't work try this one, this is for delta's without a Gui:
@echo off
color c
TITLE YOUR SERVER
echo Loading YOUR SERVER Client...
echo Current time %date% %time%
echo Starting...
start javaw -Xmx500m client 0 0 highmem members 0
echo Done
echo By RandQm
pause
If u still have problems u can PM me.
Credits:
Me
Cannot find the path blablabla ect...
So for all the noobs out there
Here u go!
note: if this already have been done..I don't give a shit
Step 1:
Make sure that u have downloaded the newest java and jdk!
Java: Only the registered members can see the link.
JDK: Only the registered members can see the link.
Only the registered members can see the link.
If u already have JDK and Java installed, reinstall the newest version anyways to not cause problems.
So before running your server, compile it. If your compiler doesn't work, right click edit and replace everything with this.
These are MY compiler codes:
Server sided:
@echo off
color b
TITLE Your server Source Compiler
echo --------------------------------------------------------------------------
echo Your Server Source Compiler by RandQm
echo Current Time %date% %time%
echo --------------------------------------------------------------------------
echo Compiling...
echo errors:
"C:\Program Files\Java\jdk1.7.0\bin\javac.exe" *.java
echo .
echo .
echo .
echo .
echo .
echo Your server has been compiled.
echo By RandQm
pause
Client sided:
The same compiler code can be used to compile your client.
So if this one also doesn't work, replace it with the same code above.
Then when u have compiled we are ready to run the server!
If that doesn't work;
Right click edit on your run(server).bat SERVER SIDED
and replace the code with this one:
@echo off
color c
title Your server Source
java -Xmx512m -cp .;./jython.jar;./MySql/mysql-connector-java-3.0.08-ga-bin.jar server
echo The server has started.
exit
If when u run u get an error something saying like. Could not reach VM, virtual machine overheap ""something like that
Then change the
512m to
256m
If u get the error again u need a new computer.
So now to run the client,
If u can run your client
Right click edit on the run(server).bat
and replace with this code:
@echo off
title YOUR SERVER
echo Loading YOUR SERVER
echo Current time %date% %time%
java -Xmx500m -cp .;Theme.jar Gui
echo Server is online.
echo by RandQm
pause
If that code doesn't work try this one, this is for delta's without a Gui:
@echo off
color c
TITLE YOUR SERVER
echo Loading YOUR SERVER Client...
echo Current time %date% %time%
echo Starting...
start javaw -Xmx500m client 0 0 highmem members 0
echo Done
echo By RandQm
pause
If u still have problems u can PM me.
Credits:
Me