Revert "Merge pull request #742 from sschaef/remove-java-partitions"

This reverts commit e69c738c68034deb8a9e64f667240ac4f0229609, reversing
changes made to f9098ee6cb35a6f5dcd3dc917205d359c1fb1d8d.
Merge pull request #753 from huitseeker/revert-742

Revert "Merge pull request #742 from sschaef/remove-java-partitions"