using java from within ada - AONIX

From: takizzle (ed.tkacz_at_juno.com)
Date: 08/29/04


Date: 29 Aug 2004 07:48:53 -0700

Hey,

   I am having troubles with the AoNIX ObjectAda 95 compiler and
trying to use java within
Ada. What I have done has rewritten some functionality in java and I
want to use it within
the existing ada code. Here is what I have done:

1) I wrote my java class
2) compiled it under java 1.1.8 - apparently the latest version Aonix
understands.
3) ran the java2ada tool to create my binding
4) compiled the ada binding under the JavaVM-V7.2.1 compiler..

>From here I don't know what to do. I am not even sure what I am doing
is possible.. I tried
withing the ada binding I created and compiled and it is throwing an
error saying it couldn't
compile due to errors.. My guess is that I have to build everything
under the JavaVM_V7.2.1
environment as opposed to the Native version for this to work.. Is
there no way to just pragma
import java functionality into ada through the native environment?

Ed



Relevant Pages

  • Re: User-defined type attributes (replacing genericity)
    ... There is one generic body in the code ... That has nothing whatsoever to do with Ada. ... much of the time the compiler has a pretty good idea. ... This is one thing that Java compilers have over Ada ones, ...
    (comp.lang.ada)
  • Re: No call for Ada (was Re: Announcing new scripting/prototyping language)
    ... Keep in mind that while Java has its market, ... Going along those lines, you say "if it cannot be done in Ada, there is ... there is the virtual machine aspect. ... Lack of a good quality compiler for the JVM is ...
    (comp.lang.ada)
  • Re: Visual Studio 2005
    ... standard library being broken up into separate units of functionality. ... the compiler or the runtime load that assembly? ... Does the Java compiler and runtime have to load the ...
    (microsoft.public.dotnet.languages.csharp)
  • KDE can host dcc?
    ... Please note that in order to use KDevelop language support for ada, pascal, ... java, etc. you will need a corresponding language compiler. ...
    (borland.public.delphi.non-technical)
  • Re: Why doesnt C# allow incremental compilation like Java?
    ... VS provides "standard" functionality. ... I find it a problem - at least compared with using Eclipse in Java. ... incremental compiler that it encourages you to save (and therefore ... compiler which makes life trickier though. ...
    (microsoft.public.dotnet.languages.csharp)