I'm still learning java but I believe you can just archive your code into a .jar file
and then run them using javaw (comes with jre). There are programs available that will
compile your java code into a windows executable but using javaw is the simplest approach.