OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> Compiling with jdk 1.1.8 javac
prun769
post 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.
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
jfox
post 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).
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 27th December 2014 - 01:29 AM