daniel@lucid:~$ java -jar cljr-installer.jar
Exception in thread "main" java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:173)
at java.awt.Window.(Window.java:437)
at java.awt.Frame.(Frame.java:419)
at javax.swing.JFrame.(JFrame.java:218)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at clojure.lang.Reflector.invokeConstructor(Reflector.java:160)
at org.dipert.swingrepl.main$make_repl_jframe.invoke(main.clj:24)
at cljr.main$cljr_repl.invoke(main.clj:203)
at cljr.main$cljr.doInvoke(main.clj:293)
at clojure.lang.RestFn.invoke(RestFn.java:409)
at cljr.main$cljr.invoke(main.clj:277)
at clojure.lang.AFn.applyToHelper(AFn.java:159)
at clojure.lang.RestFn.applyTo(RestFn.java:133)
at clojure.core$apply.invoke(core.clj:540)
at cljr.main$_main.invoke(main.clj:309)
at cljr.repl$_main.doInvoke(repl.clj:8)
at clojure.lang.RestFn.invoke(RestFn.java:398)
at clojure.lang.AFn.applyToHelper(AFn.java:159)
at clojure.lang.RestFn.applyTo(RestFn.java:133)
at cljr.repl.main(Unknown Source)
I'm running Ubuntu 10.04 without X installed:
daniel@lucid:~$ java -jar cljr-installer.jar Exception in thread "main" java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it. at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:173) at java.awt.Window.(Window.java:437)
at java.awt.Frame.(Frame.java:419)
at javax.swing.JFrame.(JFrame.java:218)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at clojure.lang.Reflector.invokeConstructor(Reflector.java:160)
at org.dipert.swingrepl.main$make_repl_jframe.invoke(main.clj:24)
at cljr.main$cljr_repl.invoke(main.clj:203)
at cljr.main$cljr.doInvoke(main.clj:293)
at clojure.lang.RestFn.invoke(RestFn.java:409)
at cljr.main$cljr.invoke(main.clj:277)
at clojure.lang.AFn.applyToHelper(AFn.java:159)
at clojure.lang.RestFn.applyTo(RestFn.java:133)
at clojure.core$apply.invoke(core.clj:540)
at cljr.main$_main.invoke(main.clj:309)
at cljr.repl$_main.doInvoke(repl.clj:8)
at clojure.lang.RestFn.invoke(RestFn.java:398)
at clojure.lang.AFn.applyToHelper(AFn.java:159)
at clojure.lang.RestFn.applyTo(RestFn.java:133)
at cljr.repl.main(Unknown Source)