Reorganize the javainterface examples