add stuff for groovy and java and fix gl operator on OSX