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
freizugheit
post Jun 21 2005, 12:50 AM
Post #2





Group: Members
Posts: 409
Joined: 7-November 03
Member No.: 811



prun769,

I used jikes (version 1.15) to compile HelloPP.java without any error. Hence it worked when I used evm to activate.


stupkid,

Please englighten where we could download jikes 1.3.1 for Zaurus.
Go to the top of the page
 
+Quote Post
jfox
post Jun 30 2005, 08:03 PM
Post #3





Group: Members
Posts: 13
Joined: 10-December 03
Member No.: 950



QUOTE(freizugheit @ Jun 21 2005, 12:50 AM)
prun769,

I used jikes (version 1.15) to compile HelloPP.java without any error.  Hence it worked when I used evm to activate.


stupkid,

Please englighted when we could download jikes 1.3.1 for Zaurus.
*


Well, the latest Jikes is 1.22 -- but with the Jikes v1.15 you have you can do just about anything that you could expect a java compiler to do on the Z. It is the new classes from JDK 1.2 through 1.5 that one is going to have trouble with, and that is not a problem of the compiler.

I am not planning to compile up Jikes 1.22 unless someone can think of an advantage to that over v1.15 (or 1.18 which I have seen available for ARM). You can still download Jikes 1.15 from my tools website http://FoxFrenchTranslations.com/zaurus.

Jeffrey Fox
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: 31st October 2014 - 10:42 AM