Hey all,
First time poster. Been using Forge for around 6 months now.
I am running Java 7 (newest version) and Mac OS
X 10.8.4. Previous packaged versions of Forge worked well, but the new un-packaged version does not work properly. If I try to open 'forge.command' it opens up the Terminal and gives me the following:
- Code: Select all
Last login: Tue Aug 20 00:51:25 on ttys000
/Users/username/Downloads/forge-1.4.6/forge.command ; exit;
192:~ username$ /Users/username/Downloads/forge-1.4.6/forge.command ; exit;
Exception in thread "main" java.lang.UnsupportedClassVersionError: forge/view/Main : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
logout
[Process completed]
I'm not sure what it is doing, but it doesn't do anything else, and doesn't open Forge itself. If I open 'forge-1.4.6-jar-with-dependencies.jar' directly it opens fine, but then I am losing out on the additional memory loading (included in forge.command) and eventually Forge runs into memory issues.
Any ideas? Has anyone gotten the new version of Forge to work on a Mac by running 'forge.command'?
Thanks - Forge is the most amazing tool for prototyping decks before purchasing them! Also awesome to test out cards I would never buy in real life for whatever reason (read: cost!)

** Update **
I found this thread on StackOverflow talking about the 'sun' reference in the error log above, not sure if this is what is going on here. I can't post the URL but if you Google 'how to launch java jar from command mac' it is the first result. Here is the relevant quote:
The sun.* packages are not part of the supported, public interface. A Java program that directly calls into sun.* packages is not guaranteed to work on all Java-compatible platforms. In fact, such a program is not guaranteed to work even in future versions on the same platform.