jQuery in Action, 3rd edition
The moose likes Beginning Java and the fly likes JDK 1.4 tools for J2ME? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "JDK 1.4 tools for J2ME?" Watch "JDK 1.4 tools for J2ME?" New topic

JDK 1.4 tools for J2ME?

Michael Yuan
Ranch Hand

Joined: Mar 07, 2002
Posts: 1427
The MIDP for Palm "preverify" program does not seem to work with JDK 1.4 tools. It complains the following when I try to pre-verify classes.

Error preverifying class XMLDsig.Utils
Class loading error: Illegal constant pool index

It works with no problem if I change JAVA_HOME back to jdk1.3.1/
Any ideas?

Seam Framework: http://www.amazon.com/exec/obidos/ASIN/0137129394/mobileenterpr-20/
Ringful: http://www.ringful.com/
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
Doesn't this belong in the J2ME forum?

Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Michael Yuan
Ranch Hand

Joined: Mar 07, 2002
Posts: 1427
Yeah, but since the JDK1.4 book author Ivor is hanging around here, I guess this forum will bring more JDK 1.4 experts.
Valentin Crettaz
Gold Digger

Joined: Aug 26, 2001
Posts: 7610
I've had the exact same problem a while ago. The documentation on the Sun's wireless toolkit web page states under "Required Software":
Java 2 Standard Edition, version 1.3 or later
That documentation has been written in October 2000 which is way before J2SE 1.4 was released. So the "or later" really means 1.3 or 1.3.1.
Other related discussions:

[Blog] [Blogroll] [My Reviews] My Linked In
Don't get me started about those stupid light bulbs.
subject: JDK 1.4 tools for J2ME?
It's not a secret anymore!