Compile java with running version during installation.