comp.lang.ada
 help / color / mirror / Atom feed
From: "Frenk" <francesco.devittori[AT]epfl.ch>
Subject: ada->java bytecode compilation errors
Date: Tue, 4 Jun 2002 13:34:01 +0200
Date: 2002-06-04T13:34:01+02:00	[thread overview]
Message-ID: <3cfca5ac$1@news.swissonline.ch> (raw)

Hi everybody!
I need to compile an ada program to java bytecode, but i have some problems:
- i installed in a windows (xp) system jgnatmake (version 1.1)
- i set the PATH and CLASSPATH environment variables.
Now when i compile as program everything works fine, it generates a .class
program that run correctly with the jvm.
But i need it to be an applet. so i compile as an applet, i build and here i
get the errors.

The errors i get (in AdaGIDE):
---------------------
compiling....
completed successfully
---------------------
building...
jgnatmake -gnatwu -v -gnato -.................
jgnatbind -a0./ -a0D:\.......................
jgnatlink hello.ali
jgnatbind -n -ID:\............
jgnatlink hello.ali
Unable to create jar file--hello$typ.class is missing.
Perhapse this is not an applet?
Done--error detected.
-------------------

So i tried by command line, here the results: (i found the commands in the
documentation)
-------------------
jgnatmake hello
   jgnatbind -x hello.ali
   jgnatlink hello.ali
jgnatbind -n hello.ali
jgnatlink hello.ali
jarmake -o hello.jar hello$typ.class
  jarmake: Cannot find: hello$typ.class
------------------

Maybe the error i do is something obvious, but i'm not so advanced in ada
nor java programming....
If someone can help me, Thanks!!!!

                      Regards!     Frenk


Francesco Devittori
francesco.devittori[AT]epfl.ch
www.frenk.com





             reply	other threads:[~2002-06-04 11:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-04 11:34 Frenk [this message]
2002-06-05 14:53 ` ada->java bytecode compilation errors John Kern
2002-06-05 15:40   ` Frenk
replies disabled

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