ENIGMA Forums
Contributing to ENIGMA => Proposals => Topic started by: Arcalyth on August 08, 2008, 11:20:29 pm
-
arcalyth@phoenix:~/downloads/ENIGMA$ java ./LateralGM-8-8.jar
Exception in thread "main" java.lang.NoClassDefFoundError: ..LateralGM-8-8.jar
at gnu.java.lang.MainThread.run(libgcj.so.90)
Caused by: java.lang.ClassNotFoundException: ..LateralGM-8-8.jar not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
at java.net.URLClassLoader.findClass(libgcj.so.90)
at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.90)
at java.lang.ClassLoader.loadClass(libgcj.so.90)
at java.lang.ClassLoader.loadClass(libgcj.so.90)
at gnu.java.lang.MainThread.run(libgcj.so.90)
It seems the java interface doesn't work. Odd. (Also, why the hell not? I'm guessing it's an issue with my JRE installation, but we'll find out later.)
arcalyth@phoenix:~/downloads/ENIGMA$ wine CompileEGMf.exe
Loaded fnames successfully.
Read 122 constants
Read 33 globals
Reading 1066 bytes of locals...
Read 1066 bytes of locals
Read locals successfully.
File not found
Running the compiler with no input file works.
arcalyth@phoenix:~/downloads/ENIGMA$ wine CompileEGMf.exe lines2.gm6 #example supplied by melee-master
Loaded fnames successfully.
Read 122 constants
Read 33 globals
Reading 1066 bytes of locals...
Read 1066 bytes of locals
Read locals successfully.
Looks like that worked. Now for the moment of truth:
what the hell? I can't find an exe. anywhere. >_<
edit: k I think I did something wrong with that compiling.
-
java -jar ./LateralGM-8-8.jar
-
Whoops.
arcalyth@phoenix:~/downloads/ENIGMA$ java -jar LateralGM-8-8.jar
Exception in thread "main" java.lang.NoClassDefFoundError: java.util.Scanner
at org.lateralgm.main.LGM.<clinit>(LGM.java:96)
at java.lang.Class.initializeClass(libgcj.so.90)
-
java -version
-
arcalyth@phoenix:~/downloads/ENIGMA$ java -version
java version "1.5.0"
gij (GNU libgcj) version 4.3.1
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
Get the latest java 6 it seems yu are using an unofficial java compiler based on GCJ, don't use it, it won't recognise many classes.
try to find the latest JRE for your dist of linux.
-
arcalyth@phoenix:/opt/jre1.6.0_07/bin$ java -version
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)
arcalyth@phoenix:~/downloads/ENIGMA$ java -jar LateralGM-8-8.jar
Java Version: 10600 (1.6.0_07)
Aug 9, 2008 2:12:05 PM java.util.prefs.FileSystemPreferences$2 run
INFO: Created user preferences directory.
false
Loading lib file 01_move.lgl
Loading lib file 02_main1.lgl
Loading lib file 03_main2.lgl
Loading lib file 04_control.lgl
Loading lib file 05_score.lgl
Loading lib file 06_extra.lgl
Loading lib file 07_draw.lgl
That did it, but after I tried inserting code into an event it locked up my entire desktop and I had to reboot.
-
That was one of Ism's big booboos. It has to do with the splash screen, somehow.
Linux + Splash Screen + DnD = Fail
They're working on it. That's a big setback...
We'll think of something. In the meantime, ...I don't even know.
-
http://www.ismavatar.com/lgm/forum/index.php?t=11
It's not one of my booboos, it's one of Java/Xlib's booboos. Java 7 will fix this problem. In the meantime, several workarounds are mentioned in the link above.
-
I'm running LGM on Ubuntu 8.04, but when I tell it to compile it says Enigma can't be found.
Halp needed ):
-
It's ENIGMA's booboo now. :(
But yeah, I'll implement one of those in the Linux version