How to most easily execute this Java program

This assignment was written in the following Netbeans IDE enviroment:

Product Version: NetBeans IDE 8.0.1 (Build 201408251540)
Updates: Updates available to version NetBeans 8.0.1 Patch 1.1
Java: 1.7.0_65; Java HotSpot(TM) 64-Bit Server VM 24.65-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_65-b19
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)

Be careful with the JDK version you're running. I wrote this program about 2 weeks ago on an older JDK and when it didn't play well with my desktop. But Im far from a java expert.