|
Post by cb43569 on Mar 25, 2007 9:13:30 GMT -5
When I try to run it, I get an error saying "Could not find the main class" then it quits. I tried to run the *.jar file. Er, is it uncompiled or something? If so, how do I compile it. Reply soon .
|
|
|
Post by IsmAvatar on Mar 25, 2007 10:59:22 GMT -5
You are trying to run it with an outdated version of Java. Download Java 6 Runtime Environment from java.sun.com and make sure to follow the installation instructions.
|
|
|
Post by Dany on Apr 14, 2007 11:10:55 GMT -5
How do I compile it?
|
|
|
Post by IsmAvatar on Apr 14, 2007 19:11:08 GMT -5
It is already compiled, you should not have to do that. Once you download the .jar file, all you need to do then is run it.
|
|
|
Post by elemental on Aug 3, 2007 11:42:55 GMT -5
I'm getting a blank screen. I have Java 6.1 runtime as it says in the window bar. I also downloaded Java 5 and it wouldn't open in that. The only one it would open in is 6.1. Gray screen. Blank. I don't think there is a need for screenshots. I'm using Ubuntu 7.04 Feisty. I got the Java runtime from the Synaptic Package Manager because I'm not sure how to run .bin files in Ubuntu. Any help?
|
|
|
Post by IsmAvatar on Aug 3, 2007 12:42:37 GMT -5
Many Linux-related problems will be corrected in the 1.6 release.
Run it from the terminal to see if any errors occur.
|
|
|
Post by elemental on Aug 3, 2007 13:15:38 GMT -5
Already have. It kinda sounds like I don't have the latest version. Again, I don't know how to run the .bin file. Exception in thread "main" java.lang.UnsupportedClassVersionError: mainRes/LGM (Unsupported major.minor version 50.0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:539) at java.security.SecureClassLoader.defineClass(SecureClassLoader.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.java:187) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) When I run the Java Updater in the console, this is one I get. Reading package lists... Done Building dependency tree Reading state information... Done fakeroot is already the newest version. fakeroot set to manual installed. java-package is already the newest version
|
|
|
Post by IsmAvatar on Aug 5, 2007 9:22:48 GMT -5
My guess is that you have 6 installed, but are not using it to run java programs. For some reason, an older version of Java is being used to run Java programs. Make sure to follow the installation instructions for Java 6 to ensure that it is installed properly. Also, make sure you downloaded the correct version for your OS. There should be a version for Debian products as well, which packages files into a RPM. If this sounds familiar to you, you may try downloading and installing the RPM instead. Either way I understand you get a .bin file out of the download. Here's the installation instructions: java.sun.com/javase/6/webnotes/install/jdk/install-linux.htmlUsually to run a file in Linux, you just set Execution permissions on it, and then just run it. The extension does not matter, this is just something to give you an idea of what it is, and means nothing to the computer. Java decided to use bin to mean "self-extracting binary". Thus, simply: chmod +x jdk-6<version>-linux-i586.bin and then run it: ./jdk-6<version>-linux-i586.bin Remember to replace <version> with the version you downloaded - or just replace the entire filename with your bin's filename.
|
|
|
Post by elemental on Aug 21, 2007 19:29:45 GMT -5
I just got the 32-bit version of Ubuntu. I installed it correctly. I got a blank screen again. I ran it in the Terminal. This is what I got.
elemental@elemental-desktop:~/Desktop$ java -jar lgm15.jar default icon not found, any saved files will have no icon unless one is assigned manually. URI is not hierarchical java.lang.IllegalArgumentException: URI is not hierarchical at java.io.File.<init>(File.java:363) at fileRes.Gm6File.<init>(Gm6File.java:110) at mainRes.LGM.<clinit>(LGM.java:57)
|
|
|
Post by IsmAvatar on Aug 22, 2007 9:44:12 GMT -5
Yes, this is the error I was referring to. This will be corrected in LGM 1.6 (and already has been corrected in the dev version). Knoppix had the same problem for me, and another fellow of mine had the same problem with Xubuntu
|
|
|
Post by elemental on Aug 29, 2007 22:00:43 GMT -5
I just moved over to Linux Mint from Ubuntu. It has pre-installed Flash, Beryl, Java, etc. It worked looked great. Just like GM! But... I can't do anything. Is there any point to this so far, or is it just there to look like the GameMaker? No offense or anything. ;D
|
|
|
Post by IsmAvatar on Aug 30, 2007 9:09:05 GMT -5
If you had actually read the first post, you would have seen that the latest stable release is incapable of most editing capabilities, and is only really capable of loading and saving files and basic changes/modifications to the tree. Please wait for version 1.6, which is right around to corner - or if you're too anxious, you can download it from the SVN and compile it yourself (requires JDK) - this version will have many new and exciting features that releases 1.4 and 1.5 don't even begin to allude to.
|
|
|
Post by MatrixSquare on Oct 23, 2007 1:39:10 GMT -5
Gah, I'm pulling my hair off on this one. I just got a new laptop, and I have Java 6 Update 3 installed properly (I can check this by going into cmd and type in "java -version", it shows me the latest build version that I have installed), but I'm running into the "main class cannot be found" error...
Any ideas?
BTW: I'm currently running XP Pro.
|
|
|
Post by MatrixSquare on Oct 23, 2007 1:43:05 GMT -5
Sorry, I made a stupid mistake. I got it working now .
|
|
|
Post by Kevintrooper on Nov 3, 2007 14:11:46 GMT -5
I downloaded 1.5 now and are wondering how to save my games?
|
|