@echo off
title
"C:\Program Files\Java\jre6\bin\java.exe" -Xmx1000m -cp bin;deps/poi.jar;deps/mysql.jar;deps/mina.jar;deps/slf4j.jar;deps/slf4j-nop.jar;deps/jython.jar;log4j-1.2.15.jar; server.Server
pause
install jre 6
|
I run my server all the time, then I got a VPS. I didn't need it anymore, so I went back to hosting it myself.
And now the Source won't run!
My Code in Run.bat:
Error:Code:@echo off title Server Runner java -Xmx2000m -cp bin;deps/poi.jar;deps/mysql.jar;deps/mina.jar;deps/slf4j.jar;deps/slf4j-nop.jar;deps/jython.jar;log4j-1.2.15.jar; server.Server start Run-Server.bat exit
Anyone know the problem? Please help!Code:'java' is not recognized as an internal or external command, operable program or batch file. Press any key to continue...
@echo off
title
"C:\Program Files\Java\jre6\bin\java.exe" -Xmx1000m -cp bin;deps/poi.jar;deps/mysql.jar;deps/mina.jar;deps/slf4j.jar;deps/slf4j-nop.jar;deps/jython.jar;log4j-1.2.15.jar; server.Server
pause
install jre 6
I got JRE6 already. I'll try the code, but why wouldn't it work all the sudden?
Edit: Was an error and it was, "Couldn't find path specified".
Edit: I just found out my JRE6 folder was empty -_-
Just download java..
Okay I reinstalled it. I ran it and cmd would frantically open and close multiple times and say
Code:Exception in thread "main" java.lang.UnsupportedClassVersionError: server/Server Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$000(Unknown Source) 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: server.Server. Program will exit. Press any key to continue . . .
im getting this error too ^
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |