wget maven repo only if necesarry. symlink /usr/bin/java and javac to point to the oracle version.