Its likeIf it has something else leading to javac.exe file it will say that error I guess . I just know my knowledge of thisCode:"C:/Program Files/Java/jdk1.6.0_21/bin/javac"
|
(Yes yes I know, you're all saying I'm a noob, to use search, I shouldn't go on if I can't figure this out, please, lets just continue on.)
Well, I got out of RSPS's (I never really got too far into them though) about 12-18 months ago, and now I'm back. I wanted to start developing my own server. The difference is I recently built a computer and so of course, I have a new hard drive. Obviously I have JDK and JRE (currently 6u25) installed and even though I have followed guides on many forums, google, and youtube, I still can't get it to work. Yes, I have changed the last numbers in the files to match my version number in my files and in my classpath and path. Can anyone please help me, this is ridiculously sad and I would really appreciate anyone trying to point me in the right direction. Thank you!
Its likeIf it has something else leading to javac.exe file it will say that error I guess . I just know my knowledge of thisCode:"C:/Program Files/Java/jdk1.6.0_21/bin/javac"
Yeah, it was at java.exe, so I replaced it with what you had (but swapped your "/" with "\") and it gave me a new error.
By the way, here is what my run.bat file looks like.Code:javac: invalid flag: -Xmx10000m usage: javac<options><source files> use -help for a list of possible options Press any key to continue...
Code:@echo off title InsidiaX "C:\Program Files\Java\jdk1.6.0_25\bin\javac" -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
Too much ram, your computer probably cant hold it at 1000xmx try 512xmx
My computer is custom built high end computer, 8 GB of RAM. Anyways, I changed it and it's still giving me the same error.
EDIT: After changing it to what someone posted in another thread I got the following error.
Code:@echo off title Project Insanity "C:\Program Files\Java\jre6\bin\java.exe" -Xmx1500m -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 pauseCode: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 . . .
Try
Code:@echo off title RunServer "C:\Program Files\Java\jdk1.6.0_25\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
Same error again. :/
Hi, sig what computer do you have? Is it running on 32bit or 64 bit? What type of Java version are you using? I'm sure I can sort this out.
Thanks eliminate. Its a 64 bit computer and I'M using JDK update 29.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |