Solve problem 74 using C++.
Improve Java bootstrap support for Ubuntu.