fix auto javaHost selection

if JavaConnect.inc is on server it specifies server java
else it specifiles localhost:8080 java
(to change, change to option 2 in JavaConnect.inc)