improved GCJ java stuffs