comp.lang.ada
 help / color / mirror / Atom feed
From: peterm@resmed.com.au (Peter Milliken)
Subject: Are jgnat tools compatible with Java 2?
Date: 5 May 2003 18:40:22 -0700
Date: 2003-05-06T01:40:22+00:00	[thread overview]
Message-ID: <f5fba8a4.0305051740.302bdf91@posting.google.com> (raw)

I am just starting to explore jgnat-1.1p(NT) and found the first thing
I attempted failing. I have Sun's j2sdk1.4.0_01 loaded on my computer,
so I attempted the example shown in the jgnat user's guide for
creating Ada package specs from Java .jar files with (Chapter 6):

jvm2ada rt.jar

The command failed. The full sequence is:

roebourne#1(/c/j2sdk1.4.0_01/jre/lib)$ jvm2ada rt.jar
jvm2ada: Bad class file: bad minor version
[exited with 4]

Since I was able to successfully execute the "hello world" program
provided in the "Getting Started" section, I assume that this is most
likely a compatability problem with the tool set that comes with jgnat
1.1p.

Is there anyway around this problem? Has anyone managed to
successfully develop code using jgnat for Java 2 that interfaces to
existing Java 2 classes? I assume that to do this, you would need to
generate Ada package spec's for the Java classes.....

Thanks
Peter



             reply	other threads:[~2003-05-06  1:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-06  1:40 Peter Milliken [this message]
2003-05-06 16:24 ` Are jgnat tools compatible with Java 2? Marc A. Criley
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox