compile or not compile
Tom Tromey
tromey@cygnus.com
Sat Apr 1 00:00:00 GMT 2000
>>>>> "Damien" == Damien Morel <Damien.Morel@emi.u-bordeaux.fr> writes:
Damien> i would like to know if it is possible to have a part of my
Damien> java application compiled in byte code and an other part in
Damien> native code.
Yes, you can, if you're on a platform where the interpreter is enabled
(at the moment, only x86).
Damien> The problem is that i must optimize a program i didn't make,
Damien> this is a program that uses AWT and makes heavy sound
Damien> processing (entirely written in java).
Damien> Can i interface byte-compiled and native java code ?
In your case it won't work. AWT is going to have native methods,
which presumably work via JNI. We currently don't have JNI (though we
hope to in the not-to-distant future).
Tom
More information about the Java
mailing list