Originally posted by Jesus Angeles:
My front end needs to be done using java swing/awt. I am however, required, to reuse existing perl codes. Is JNI able to talk to Perl directly? Or JNI to c, then c will talk to perl (if that is possible).
JNA will allow you to call directly into a DLL which exports a C-callable interface, so you could conceivably call into the perl interpreter.
Alternatively you could invoke a perl process via Runtime.exec and collect the results via the filesystem.