Update java.pp

Moving implementation into platform specific class