Jdk1.8 nobootclass dev 5 0

Fix build issue with Java 8
This will only work with ice 3.5

To test Build with Java 8
 * run ```./build.py clean``` ```./build.py```
 * run server with Java 8 then with Java 7

To test Build with Java 7
 * run ```./build.py clean``` ```./build.py```
 * run server with Java 8 then with Java 7


--rebased-from #2975