Jul 11 2004, 07:13 PM
Post
#1
|
|
|
Group: Members Posts: 24 Joined: 8-January 04 Member No.: 1,391 |
Has anyone had any luck compiling on their Z using the jdk 1.1.8 javac? I have it all set up using the jeode evm and the sun classes.zip. For command line programs it compiles great. When I try to compile an AWT program however, it throws an ArrayIndexOutOfBoundsException when attempting to load java.awt.GridBagLayout.
Out of curiousity, I compiled it using the wintel jdk 1.1.8 and it compiled fine. I tried both the windows and and solaris classes.zip, and both give the same behavior. I also tried including the classes.zip before the jeode jars in the classpath , and the only difference is that I get a ClassCastException instead. I've switched to jikes in the meantime, but I was wondering if anyone actually got this to work on an awt program. |
|
|
|
![]() |
Jun 20 2005, 09:08 PM
Post
#2
|
|
|
Group: Members Posts: 13 Joined: 10-December 03 Member No.: 950 |
QUOTE(prun769 @ Jul 11 2004, 07:13 PM) Has anyone had any luck compiling on their Z using the jdk 1.1.8 javac? I have it all set up using the jeode evm and the sun classes.zip. For command line programs it compiles great. When I try to compile an AWT program however, it throws an ArrayIndexOutOfBoundsException when attempting to load java.awt.GridBagLayout. Out of curiousity, I compiled it using the wintel jdk 1.1.8 and it compiled fine. I tried both the windows and and solaris classes.zip, and both give the same behavior. I also tried including the classes.zip before the jeode jars in the classpath , and the only difference is that I get a ClassCastException instead. I've switched to jikes in the meantime, but I was wondering if anyone actually got this to work on an awt program. What you are doing is using the classes.zip compiled for x86 on the Zaurus ARM. The classes.zip is meant to be used only for the compile, where it serves as a source of library names and class type detail for the compiler (and in the case of javac, the compiler program itself). |
|
|
|
prun769 Compiling with jdk 1.1.8 javac Jul 11 2004, 07:13 PM
stupkid I can compile this Sun example:
http://developers... Jul 12 2004, 08:52 AM
freizugheit prun769,
I used jikes (version 1.15) to compile H... Jun 21 2005, 12:50 AM
jfox QUOTE(freizugheit @ Jun 21 2005, 12:50 AM)pru... Jun 30 2005, 08:03 PM
freizugheit Jeffrey,
Thanks for the update and I will stick t... Jul 1 2005, 02:17 AM
smuelas Excuse me for going into your thread but I have ob... Jul 1 2005, 12:46 PM
jfox QUOTE(smuelas @ Jul 1 2005, 12:46 PM)Excuse m... Sep 1 2005, 09:16 PM![]() ![]() |
|
Lo-Fi Version | Time is now: 25th May 2013 - 07:36 PM |