Runtime Exception while running HardwareSimulator.sh
I am trying to run the Hardware Simulator on Ubuntu 14.04. I am trying the run the shell script, but I get the following error. Any ideas?
aakash@aakash-Ubuntu:~/nand2tetris/tools$ ./HardwareSimulator.sh
aakash@aakash-Ubuntu:~/nand2tetris/tools$ Exception in thread "main" java.awt.HeadlessException
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:207)
at java.awt.Window.<init>(Window.java:535)
at java.awt.Frame.<init>(Frame.java:420)
at java.awt.Frame.<init>(Frame.java:385)
at javax.swing.JFrame.<init>(JFrame.java:174)
at HackGUI.ControllerComponent.<init>(Unknown Source)
at SimulatorsGUI.HardwareSimulatorControllerComponent.<init>(Unknown Source)
at HardwareSimulatorMain.main(Unknown Source)