in reply to Trapping Java Errors

If you know the class file will be in the same directory as your Perl script you can open a pipe instead of using eval and backticks:
open(JAVA,'|java Hello') or die "oops: $!\n"; print while <JAVA>; close JAVA;
chdir to the directory where the class file is if it is in a diferent directory than your Perl script.

Jeff

R-R-R--R-R-R--R-R-R--R-R-R--R-R-R--
L-L--L-L--L-L--L-L--L-L--L-L--L-L--