We just upgraded to Java 8 on Amazon Linux. We are using Spring 4.3.8.RELEASE. It used to be that we could get our machine hostname by setting up beans in our application context file like so … But with Java 8, the bean “hostname” now contains the string Before Java 8, it used to contain the “hostname” value as run