PDA

View Full Version : Help please



killere43
June 18th, 2010, 18:31
Hey i just want to make a server that only i can play to practice coding. i downlaod a source and client bt i can never run it. it says something like "cannot find specified path". please help i want to have a server that only i can play that doesnt need to be online.(note: it is a 317 source)

will rep ++

Fly
June 18th, 2010, 18:33
You need a client.

killere43
June 18th, 2010, 18:52
I get the erroe cannotfind specified path

DustinClark
June 18th, 2010, 19:01
You need to set some enviromental variables.

Swiftisium
June 18th, 2010, 19:10
SuperScape, he said he downloaded a client.

Killere43, go into the server's source, find the Run.bat file, or Play.bat or w/e the file is named that runs your server.

Right click it, and click edit.

You should see a pathway to your Java, starting with C:\Program Files\

then the rest of the pathway to your Java.

Just follow the path, go to Computer, C:\, Program Files, etc. until you've went to your Java's directory.

Then you'll see something like

Jdk 1.6.0_20 or w/e your version is.

Example:


@echo off
title Aliciox
"C:\Program Files\Java\jdk1.6.0_17\bin\java.exe" -Xmx512m -cp .;./jython.jar;./MySql/mysql-connector-java-3.0.08-ga-bin.jar server
exit

Lets say that this was your current run.bat, and it's for jdk update 17, and you have jdk update 18, then just edit the 17 to 18 and save then run it and it should work. (:

Divine
June 18th, 2010, 19:19
You need a client.

Super wub u but stop wit all the spaming o_0'. He has a client. It's the enviormental variables error.

Break
June 18th, 2010, 19:22
Change it to your jdk, get other run.bat.