Reorganize java packages. Bump target build from 18 to 19.