An attempt to move J2SE dependent code from encog-java-core