public class Main { public static void main (String[] args) throws java.lang.Exception { System.out.println(java.awt.GraphicsEnvironment.isHeadless()); } }
Standard input is empty
true
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!