use java::myJavaApp.class; $obj = new myJavaApp(); #Create a new object ..? $result = $obj->myMethod1($arg1, $arg2, $arg3); #Result conains the return from the Java method.