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
stupkid
post Jul 12 2004, 08:52 AM
Post #2





Group: Members
Posts: 578
Joined: 2-January 04
From: Texas USA
Member No.: 1,324



I can compile this Sun example:

http://developers.sun.com/techtopics/mobil...cles/ztutorial/

with Jikes and 1.3.1 jars. The above is simple AWT example for J2ME. Why would you want to use something other then Jikes on the Z.

Hope this helps!
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: 30th October 2014 - 11:00 PM