Visual Basic Matt
Apprentice
Many people have problems with compiling or running your server. The idea of this short slice of help (Its not really a guide) is so people can get the whole idea of how it all works...
First, many of you guy's problems are that your server is not running and/or compiling. (This is due to the fact that you have an older version of java.) I would suggest updating your java if it needs to be updated.
Next, remember the part where you had to edit the CLASSPATH/PATH? Well if you have not done that yet or you have messed up on doing this the information below will be really important to you.
Your CLASSPATH should be something like this...
Your PATH should be something like this...
Don't go copy and pasting anything yet...
You will need to edit the PATH/CLASSPATH to your version of java.
See the jre6 in both of the PATH/CLASSPATH?
Replace that with your java version...
If you want to get your java version correctly then you must put the exact folder its in.
Lets say, you have jre1.5.0_12 Then you would put this...
MAKE SURE ITS JRE NOT JDK!!!!!!!!!
Now run your server/compile/ect... It SHOULD now work...
A compiler for a server should look something like this...
You will again have to change the jdk1.6.0_06 to your java version.
MAKE SURE ITS JDK NOT JRE!!!!!!!!!
A runserver/run/startserver/start/ect to run your server should look something like this...
You should not have to edit anything there because that should work for most computers but, sometimes you may have to GOOGLE it...
If you are trying to compile a client for a server then use the same code for a server as I listed above.
If you are trying to run a client then this simple code should explain it. Just the same as above but a little less...
Need any help with that then like I said above just GOOGLE it...
If you have any other questions then contact me as listed below...
CONTACT
via msn = [email protected]
-------------------------------------
via aim = [email protected]
-------------------------------------
via email = [email protected]
-------------------------------------
I try to keep it as simple as possible to contact me...
First, many of you guy's problems are that your server is not running and/or compiling. (This is due to the fact that you have an older version of java.) I would suggest updating your java if it needs to be updated.
Next, remember the part where you had to edit the CLASSPATH/PATH? Well if you have not done that yet or you have messed up on doing this the information below will be really important to you.
Your CLASSPATH should be something like this...
Code:
CLASSPATH=C:\Program Files\Java\jre6\bin;%CLASSPATH%;
Your PATH should be something like this...
Code:
C:\Program Files\Java\jre6\bin
Don't go copy and pasting anything yet...
You will need to edit the PATH/CLASSPATH to your version of java.
See the jre6 in both of the PATH/CLASSPATH?
Replace that with your java version...
If you want to get your java version correctly then you must put the exact folder its in.
Lets say, you have jre1.5.0_12 Then you would put this...
Code:
CLASSPATH=C:\Program Files\Java\jre1.5.0_12\bin;%CLASSPATH%;
Code:
C:\Program Files\Java\jre1.5.0_12\bin
MAKE SURE ITS JRE NOT JDK!!!!!!!!!
Now run your server/compile/ect... It SHOULD now work...
A compiler for a server should look something like this...
Code:
cls
title Compiler
"C:\Program Files\Java\jdk1.6.0_06\bin\javac.exe" *.java
pause
You will again have to change the jdk1.6.0_06 to your java version.
MAKE SURE ITS JDK NOT JRE!!!!!!!!!
A runserver/run/startserver/start/ect to run your server should look something like this...
Code:
@echo off
color 0a
title Server
java -Xmx512m -cp .;./jython.jar;./MySql/mysql-connector-java-3.0.17-ga-bin.jar server
You should not have to edit anything there because that should work for most computers but, sometimes you may have to GOOGLE it...
If you are trying to compile a client for a server then use the same code for a server as I listed above.
If you are trying to run a client then this simple code should explain it. Just the same as above but a little less...
Code:
cls
@ECHO OFF
TITLE Client
color 0a
JAVA -Xmx500m EGUI
PAUSE
Need any help with that then like I said above just GOOGLE it...
If you have any other questions then contact me as listed below...
CONTACT
via msn = [email protected]
-------------------------------------
via aim = [email protected]
-------------------------------------
via email = [email protected]
-------------------------------------
I try to keep it as simple as possible to contact me...

