get rid of java associated with grammar.py