The return value of api.getVersion contains the string "Java" (e.g. "0.2 Java") which was apparently historically to be able to tell the difference between the old style (Perl?) and new style stuff. Since this is apparently ancient history it should probably be removed (and it's not documented in the api docs either).
Verify that getVersion no longer returns "Java", and close the bug.
api.getVersion() returns the value of 'web.apiversion' as defined in /etc/rhn/defaults/rhn_web.conf See bug #472346 for more information.