-XstartOnFirstThread causes silent exit.
Status: Beta
Brought to you by:
rhickey
I was hoping to use Clojure to develop SWT applications on the Mac.
On the Mac, the SWT Display has to be created on the first thread, and in the Mac version of Java this can be forced using the "-XstartOnFirstThread" command line option.
Unfortunately, running...
java -XstartOnFirstThread -cp clojure.jar clojure.lang.Repl
... seems to simply return to the command prompt.
Note that running...
java -cp clojure.jar clojure.lang.Repl
... does start a REPL as expected.
(I have been able to use SISC to develop SWT applications, by adding -XstartOnFirstThread. It's not clear why this fails in Clojure.)