Switching javascript neural network to java

Okay cool, so what error are you getting? Have you tried narrowing your problem down to a MCVE?