comp.lang.ada
 help / color / mirror / Atom feed
From: John Dalbey <jdalbey@calpoly.edu>
Subject: can't run my jarmake output
Date: 2000/04/05
Date: 2000-04-05T00:00:00+00:00	[thread overview]
Message-ID: <38EBF447.6C287831@calpoly.edu> (raw)

JGNAT looks really neat so far ...

$ jgnatmake blastoff
jgnat -c blastoff.adb
jgnatbind -x blastoff.ali
jgnatlink blastoff.ali

$ java blastoff

Countdown to JGNAT ...
   10    9    8    7    6    5    4    3    2    1    0
BLASTOFF!


So my Ada code runs on the JVM ... Cool!

but I can't figure out how to run the .jar files produced by the jarmake
tool.

$ jarmake -oblastoff.jar blastoff.class

$ java -jar blastoff.jar
Failed to load Main-Class manifest attribute from
blastoff.jar

Isn't all that's necessary is to provide the -jar switch on the command
line? It is NOT an applet, so I don't use appletviewer. Am I missing
some basic concept here?

I couldn't find any reference to the word "manifest" in the user guide.
I'm stumped.

Thanks,
--jd









             reply	other threads:[~2000-04-05  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-05  0:00 John Dalbey [this message]
2000-04-06  0:00 ` JGNAT: Re: can't run my jarmake output Geoff Bull
replies disabled

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