Added JDK settings for travis