You can check the Domino designer 6.5.1 help. Basically, you can only pass primitive data types to a Java function from LS, which limits the data types to byte, boolean, integer, long, string, single, double.
So, the Java function you are calling can only have arguments of that type.