comp.lang.ada
 help / color / mirror / Atom feed
* Are jgnat tools compatible with Java 2?
@ 2003-05-06  1:40 Peter Milliken
  2003-05-06 16:24 ` Marc A. Criley
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Milliken @ 2003-05-06  1:40 UTC (permalink / 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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-05-06 16:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-06  1:40 Are jgnat tools compatible with Java 2? Peter Milliken
2003-05-06 16:24 ` Marc A. Criley

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