WIN SRV 2012 runNis.bat?

On a WIN Server 2012 R2 STD.
package folder is on other drive than C (on same server)
java is installed.
when I click runNis.bat it is initiating and I see a splitsecond flicker of the cmd window - then nothing happens - in taskmanager nothing is running.
how come nis won’t start?

edit: after much tinkering around I found the problem:
I use Java for other projects, but only use the JDK version of Java.
So out of curiosity I re-installed Java - this time with the JRE package as well.
After clicking runNis.bat again - voila - cmd window opened up and the process started!
So - for anyone else having similar issue: You need to install Java JRE.