currently java packages are supported only from swig commandline. it
woukd be good to have some $variable for using in .i file.
Today i was in situation where i had 2 classes with same name and
different packages. i had to use full package name in .i file javaout
because $javaclassname was not enough to make java compiler happy, it
always picked wrong one.