If you have been active on the OpenJDK aliases, I guess this is no news to you. If not, you may be wondering why you are not able to build OpenJDK 6 or 7 on Ubuntu 8.04 Hardy Heron (HH). Well, there is one issue that was identified as the main blocker for getting a clean build on HH - default shell invoked has some issue with the way OpenJDK is generating java files from templates. The solution, which is a hack at this point in time, is to hard code the shell to use /bin/bash. The changes related to this are documented in the icedtea changeset a5c32475a2e8. When I tried this patch, it was not the only thing I had to change to get the build going on HH, though it was a good start. Here are some of the things I did:
- In jdk/make/java/nio/ edit Makefile to replace all $(SH) with /bin/bash
- Replace all #!/bin/sh at the top of the *.sh files with #!/bin/bash
