Pages: 1
Author Topic: Linux testing  (87,037 Views)
Offline (Unknown gender) Arcalyth

Member
Joined: Aug 2008
Posts: 4
View profile
Posted on: August 09, 2008, 04:20:29 AM
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.
Offline (Unknown gender) IsmAvatar

LateralGM Developer
LGM Developer
Joined: Apr 2008
Posts: 877
View profile
Reply #1 Posted on: August 09, 2008, 04:41:50 AM
java -jar ./LateralGM-8-8.jar
Offline (Unknown gender) Arcalyth

Member
Joined: Aug 2008
Posts: 4
View profile
Reply #2 Posted on: August 09, 2008, 04:45:20 AM
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)
Offline (Unknown gender) IsmAvatar

LateralGM Developer
LGM Developer
Joined: Apr 2008
Posts: 877
View profile
Reply #3 Posted on: August 09, 2008, 05:16:54 AM
java -version
Offline (Unknown gender) Arcalyth

Member
Joined: Aug 2008
Posts: 4
View profile
Reply #4 Posted on: August 09, 2008, 06:18:38 AM
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.
Offline (Unknown gender) TGMG

Developer
Joined: Jun 2008
Posts: 107
View profile WWW
Reply #5 Posted on: August 09, 2008, 02:10:19 PM
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.
Offline (Unknown gender) Arcalyth

Member
Joined: Aug 2008
Posts: 4
View profile
Reply #6 Posted on: August 09, 2008, 06:13:18 PM
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.
Offline (Unknown gender) Josh @ Dreamland

Prince of all Goldfish
Developer
Joined: Feb 2008
Posts: 2,950
View profile
Reply #7 Posted on: August 10, 2008, 01:18:11 AM
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.
Offline (Unknown gender) IsmAvatar

LateralGM Developer
LGM Developer
Joined: Apr 2008
Posts: 877
View profile
Reply #8 Posted on: August 21, 2008, 03:47:21 PM
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.
Offline (Unknown gender) sprintf()

Past Contributor
Joined: Apr 2008
Posts: 72
View profile
Reply #9 Posted on: September 01, 2008, 11:35:36 PM
I'm running LGM on Ubuntu 8.04, but when I tell it to compile it says Enigma can't be found.
Halp needed ):
Offline (Unknown gender) Josh @ Dreamland

Prince of all Goldfish
Developer
Joined: Feb 2008
Posts: 2,950
View profile
Reply #10 Posted on: October 18, 2008, 12:16:18 AM
It's ENIGMA's booboo now. :(

But yeah, I'll implement one of those in the Linux version
Pages: 1