![]() |
Re: Combat Simulator Released!
When I run this on Macintosh I get:
MAIN draco:~/Desktop/Combat_Simulator$ java Fight Exception in thread "main" java.lang.UnsupportedClassVersionError: Fight (Unsupported major.minor version 49.0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java :539) at java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:123) at java.net.URLClassLoader.defineClass(URLClassLoader .java:251) at java.net.URLClassLoader.access$100(URLClassLoader. java:55) at java.net.URLClassLoader$1.run(URLClassLoader.java: 194) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.j ava:187) at java.lang.ClassLoader.loadClass(ClassLoader.java:2 89) at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:274) at java.lang.ClassLoader.loadClass(ClassLoader.java:2 35) at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:302) MAIN draco:~/Desktop/Combat_Simulator$ java -version java version "1.4.2_05" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-141.4) Java HotSpot(TM) Client VM (build 1.4.2-38, mixed mode) MAIN draco:~/Desktop/Combat_Simulator$ uname -a Darwin draco.local 7.8.0 Darwin Kernel Version 7.8.0: Wed Dec 22 14:26:17 PST 2004; root:xnu/xnu-517.11.1.obj~1/RELEASE_PPC Power Macintosh powerpc So much for that whole "Write Once, Run Anywhere" idea. :-/ |
Re: Combat Simulator Released!
Quote:
However, your problem is not OS-related, I think, but rather the fact that I compiled it in Java 5.0 and you are running it in Java 4.2. 5.0 makes some major changes. Hopefully, if you go here: http://java.sun.com/j2se/1.5.0/download.jsp And click on this link: "Download JRE for Other Platforms" And install it, it will run. Edit. P.S. Thanks for posting the complete error message and version information! |
Re: Combat Simulator Released!
Just checked, and there is no JRE 5.0 for Mac listed there.
|
Re: Combat Simulator Released!
Why don't you make the source code freely available under the GNU Public License and I'll compile it for the current version of Java on Mac for you.
|
Re: Combat Simulator Released!
Ahh... sorry, I didn't realize that. There is a way to compile for compatibility with previous versions, so as soon as I figure that out (it should be somewhere in the sun forums) I'll recompile it for 4.2.
|
Re: Combat Simulator Released!
http://developer.apple.com/java/faq/#anchor2
^-- this says Java 1.5.0 will never be ported to Mac OS 10.3. It will only work on Mac OS 10.4, which isn't yet available, and which I would have to pay at least USD 100.00 to buy if I wanted it, which I don't. Why don't you try rewriting your simulator in Python? Python is the easiest language to learn. I'll bet in a mere three hours you will be happy with the new simulator you've written. Also, the result will be more portable. <wink> |
Re: Combat Simulator Released!
Quote:
2 reasons. First, Java is probably much faster, and it already took several days to do that large simulation. Second... it's taken me at least 200 hours to write, test, and debug the simulator so far... I doubt I could port it in 3 http://forum.shrapnelgames.com/images/smilies/happy.gif Anyway, I recompiled it for Java 1.4.2 (which will, therefore, run under 1.4.2 or higher). Hopefully it will work for you... you can download it here: http://www.geocities.com/saber_marionette_cherry/ or more specifically, here: http://www.geocities.com/saber_mario...ulator_142.zip ...although sometimes geocities does not like straight links to files. |
Re: Combat Simulator Released!
It works! Thanks!
|
Re: Combat Simulator Released!
You're welcome=)
|
Re: Combat Simulator Released!
Hail, Saber Cherry!
I gotta question: which bless-9 effects are currently working? I was looking at the history (in Readme.txt), which mentions that only some were working in v22, but then in v24 flaming weapons and berserking were added -- did that fix the fire and nature bless effects? |
All times are GMT -4. The time now is 01:50 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.