Update java.pp

Remove inheritance