Does anyone know of a program that is similar to perl2exe that will translate my code into Java.
Code translators are generally pretty dodgy to begin with, but trying to convert between two languages that are as different as Java and Perl is certainly fraught with problems. There are many things about Perl and Java that would foul up a mechanical translation: the type systems, the object systems, the amount of stricture, or even the subroutine argument passing semantics. These are all quite different, and simulating Perl's flexibility with Java would be quite a feat.
Even if those problems were worked out, the resulting Java could would almost undoubtedly be horrible. There are things easily accomplished in 1 line of Perl code that would take 10 lines of Java. And I think this type of mis-match is the rule, not the exception. Basically, the languages have irreconcilable differences. :-)
PS: This is not to say I don't like Java. I know many Monks -- and many Perl users in general -- will disagree with me here, but I like the silly language from Sun. Sure, the standard API may be sprawling, and the language may seem wordy and verbose at times, but I usually enjoy writing Java code.