Suru Dissanayake wrote:

> Hi!
>
> I have found a couple of:
> Decompilers: from Java bytecodes to C source
> Converters: from Java source to C source
> Decompilers (to Java): from Java bytecodes to Java source
>
> But does anyone know anything about a compiler for C source to Java
> bytecode?
> (Preferably for Linux)

Never heard of one. That would be a very hard problem, the payoff of which
would be much slower code.

>
>
> I would like to create a java class file from a c-application and load it
> dynamically to a java program. Has anyone done this?

Have you considered using JNI - compiling your C code into platform-specific
native libraries callable from Java?

Nathan

>
>
> Any information on the subject is gladly accepted!
>
> kind regards,
> Suru
>
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to