in reply to Return values to outside programs

You can just print out the data from Perl onto STDOUT and use the getInputStream() method from the Process object to read it. http://java.sun.com/javase/6/docs/api/java/lang/Process.html#getInputStream%28%29