<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 2: -XstartOnFirstThread causes silent exit.</title><link href="https://sourceforge.net/p/clojure/bugs/2/" rel="alternate"/><link href="https://sourceforge.net/p/clojure/bugs/2/feed.atom" rel="self"/><id>https://sourceforge.net/p/clojure/bugs/2/</id><updated>2008-04-13T01:14:56Z</updated><subtitle>Recent changes to 2: -XstartOnFirstThread causes silent exit.</subtitle><entry><title>-XstartOnFirstThread causes silent exit.</title><link href="https://sourceforge.net/p/clojure/bugs/2/" rel="alternate"/><published>2008-04-13T01:14:56Z</published><updated>2008-04-13T01:14:56Z</updated><author><name>McQ</name><uri>https://sourceforge.net/u/themcq/</uri></author><id>https://sourceforge.net784e34e98cace13207b897f7a02cff07340214ec</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I was hoping to use Clojure to develop SWT applications on the Mac.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;Unfortunately, running...&lt;br /&gt;
java -XstartOnFirstThread -cp clojure.jar clojure.lang.Repl&lt;br /&gt;
... seems to simply return to the command prompt.&lt;/p&gt;
&lt;p&gt;Note that running...&lt;br /&gt;
java -cp clojure.jar clojure.lang.Repl&lt;br /&gt;
... does start a REPL as expected.&lt;/p&gt;
&lt;p&gt;(I have been able to use SISC to develop SWT applications, by adding -XstartOnFirstThread. It's not clear why this fails in Clojure.)&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>