Hi Albert, 2009/12/14 Albert Cardona <sapri...@gmail.com>: > On Mon, Dec 14, 2009 at 10:08 AM, Lauri Pesonen <lauri.peso...@iki.fi> wrote: >> IIRC Java AWT-based libraries require a windowing system on the >> machine. On Windows this is not a big deal since you're always running >> a windowing system, even on a server, but on linux where the windowing >> system is an optional install it causes problems. > > > $ Xvfb :15 & > $ DISPLAY=:15 java/linux-amd64/jdk1.6.0_17/bin/java -cp > ij.jar:./jars/clojure.jar clojure.main > Clojure 1.1.0-master-SNAPSHOT > user=> > > > ImageJ needs a windowing system to run (since it loads classes that > have java.awt imports), but it doesn't need to popup any window at > all. So the "Xvfb" (virtual frame buffer) will do very well.
Yep, Xvfb was the name of the dummy X server that I was talking about. Thanks. >From a 'headless server' point of view, the reliance on X means that the server admin must now install X on their server so that they can run Xvfb. Not a huge deal in the grand scheme of things, but still annoying if you've made the assumption that you don't need X at all. AFAIK it's impossible to avoid the X dependency on Java image libraries that use any of AWT. > Albert -- ! Lauri -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en