Adding JAVA config