Set Java Path in Windows October 27, 2012 by nodakbarnes I’ve created a small executable that takes the work out of setting the java environment variable that some people struggle with. It was created using bat2exe and makes life simple if you just want Java to work from the command line. Get it here.