I am looking for a way to develop a Java based program and utilize existing code in C and Perl. The C can be converted but the Perl code is a problem for conversion. I understand there is a way to access Perl code from Java and visa versa but do not know where to start. I have the GUI already written (from NetBeans) and a working command line prototype program to port (from C, Perl, and lots of system calls) into the GUI. Any suggestions?
Java with Perl
Collapse
X
-
Perhaps you need to look at JNIOriginally posted by JulianPNot to seem mean or anything but I think that what you need to do is put this in the perl section. Unless if you have a certian code that you have.
Comment
-
Re: Perhaps you need to look at JNI
Yes,thank you. This looks promising. The C code could be cross compiled for the target system and run in "native" mode. The Java (jar file) could be used for the GUI (it works on PC, Mac...). Maybe the user will have to download a Perl compiler to make it all work.Comment
Comment