PDA

View Full Version : Having runserver.bat problems



Gary
July 15th, 2010, 03:34
@echo off
title GenScape-X v3.1
COLOR 1
cd ../build
"C:\Program Files (x86)\Java\jre6\bin\java.exe" net/com/codeusa/Server 43594
pause


--Thats my runserver.bat

And here's the error I'm getting:

Exception in thread "main" java.lang.NoClassDefFoundError: net/com/codeusa/Server

Caused by: java.lang.ClassNotFoundException: net.com.codeusa.Server
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: net/com/codeusa/Server. Program will exit.
Press any key to continue . .

Smudge
July 15th, 2010, 03:35
Are you using a 64 bit operating system?

Gary
July 15th, 2010, 03:37
Are you using a 64 bit operating system?

Nope. 32bit.

Smudge
July 15th, 2010, 03:39
@echo off
title GenScape-X v3.1
COLOR 1
cd ../build
"C:\Program Files\Java\jre6\bin\java.exe" net/com/codeusa/Server 43594
pause

Try that. you still had the (x86) in the location meaning it was looking for 64 bit when it didn't even exist. If it doesn't work - post again.

Gary
July 15th, 2010, 03:43
@echo off
title GenScape-X v3.1
COLOR 1
cd ../build
"C:\Program Files\Java\jre6\bin\java.exe" net/com/codeusa/Server 43594
pause

Try that. you still had the (x86) in the location meaning it was looking for 64 bit when it didn't even exist. If it doesn't work - post again.

Didn't work. BTW my C:\Program Files (x86)\Java\jre6\bin\java.exe does exist. Maybe I am 64bit? Lol.

Smudge
July 15th, 2010, 03:45
Didn't work. BTW my C:\Program Files (x86)\Java\jre6\bin\java.exe does exist. Maybe I am 64bit? Lol.

Check.

Control Panel > System > System type (Under RAM). What does it say there?

Gary
July 15th, 2010, 03:56
64 bit.. Lmao I'm stupid. Sorry.

Gary
July 15th, 2010, 04:12
Bump :P

Gary
July 15th, 2010, 05:02
HELP this still isnt solved !!!!1

Chronicscape
July 15th, 2010, 05:11
change the 86 to 64?

Gary
July 15th, 2010, 05:17
change the 86 to 64?

NO CUZ I DONT HAVE A C:\PROGRAM FILES (x64) !!!!! ITS (x86) !!

Chronicscape
July 15th, 2010, 05:24
lol woooow ok man lol geeze one of my buddies did that and it worked so idk man was just trying to help u aint gotta flip a lid lol

Gary
July 15th, 2010, 05:56
lol woooow ok man lol geeze one of my buddies did that and it worked so idk man was just trying to help u aint gotta flip a lid lol

Sorry it's just I want this server up so bad..

Gary
July 15th, 2010, 20:04
omg help

Gary
July 16th, 2010, 04:44
bump AGAIN >:(

Gary
July 16th, 2010, 07:16
Wtf why isnt anyone even trying to assist me! Help!

Nosz
July 16th, 2010, 07:20
because now one knows ( obviously.. )

godly
January 9th, 2011, 04:55
NO CUZ I DONT HAVE A C:\PROGRAM FILES (x64) !!!!! ITS (x86) !!

dumb ass then yur running a 64bit u said ur on a 32bit fkn bitch get ur shit str8