Pages: [1]
  Print  
Author Topic: Linux testing  (Read 4380 times)
Offline (Unknown gender) Arcalyth
Posted on: August 08, 2008, 11:20:29 PM
Member
Joined: Aug 2008
Posts: 4

View Profile Email
Code: [Select]
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.)

Code: [Select]
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.

Code: [Select]
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.
« Last Edit: August 08, 2008, 11:31:03 PM by Arcalyth » Logged
Offline (Female) IsmAvatar
Reply #1 Posted on: August 08, 2008, 11:41:50 PM

LateralGM Developer
LGM Developer
Location: Pennsylvania/USA
Joined: Apr 2008
Posts: 891

View Profile Email
java -jar ./LateralGM-8-8.jar
Logged
Offline (Unknown gender) Arcalyth
Reply #2 Posted on: August 08, 2008, 11:45:20 PM
Member
Joined: Aug 2008
Posts: 4

View Profile Email
Whoops.

Code: [Select]
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)
Logged
Offline (Female) IsmAvatar
Reply #3 Posted on: August 09, 2008, 12:16:54 AM

LateralGM Developer
LGM Developer
Location: Pennsylvania/USA
Joined: Apr 2008
Posts: 891

View Profile Email
java -version
Logged
Offline (Unknown gender) Arcalyth
Reply #4 Posted on: August 09, 2008, 01:18:38 AM
Member
Joined: Aug 2008
Posts: 4

View Profile Email
Code: [Select]
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.
Logged
Offline (Unknown gender) TGMG
Reply #5 Posted on: August 09, 2008, 09:10:19 AM

Developer
Joined: Jun 2008
Posts: 107

View Profile WWW Email
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.
Logged
me
GMbed 2.0 :: Embed you gm games in websites.
Offline (Unknown gender) Arcalyth
Reply #6 Posted on: August 09, 2008, 01:13:18 PM
Member
Joined: Aug 2008
Posts: 4

View Profile Email
Code: [Select]
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)

Code: [Select]
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.
« Last Edit: August 09, 2008, 01:18:48 PM by Arcalyth » Logged
Offline (Male) Josh @ Dreamland
Reply #7 Posted on: August 09, 2008, 08:18:11 PM

Prince of all Goldfish
Developer
Location: Ohio, United States
Joined: Feb 2008
Posts: 2953

View Profile Email
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.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Female) IsmAvatar
Reply #8 Posted on: August 21, 2008, 10:47:21 AM

LateralGM Developer
LGM Developer
Location: Pennsylvania/USA
Joined: Apr 2008
Posts: 891

View Profile Email
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.
Logged
Offline (Male) sprintf()
Reply #9 Posted on: September 01, 2008, 06:35:36 PM

"Past Contributor"
Location: S. Wales
Joined: Apr 2008
Posts: 72
MSN Messenger - dmgoron@gmail.com
View Profile Email
I'm running LGM on Ubuntu 8.04, but when I tell it to compile it says Enigma can't be found.
Halp needed ):
Logged
Offline (Male) Josh @ Dreamland
Reply #10 Posted on: October 17, 2008, 07:16:18 PM

Prince of all Goldfish
Developer
Location: Ohio, United States
Joined: Feb 2008
Posts: 2953

View Profile Email
It's ENIGMA's booboo now. :(

But yeah, I'll implement one of those in the Linux version
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Pages: [1]
  Print