Environment variables in La Clojure REPL

Hi, I get a:

No X11 DISPLAY variable was set, but this program performed an operation which requires it. (NO_SOURCE_FILE:0)

if I evaluate (new javax.swing.JFrame) in the REPL

This doesn't happen if I use a normal REPL. I am in Linux and I have multiple screens.
I read another thread here that indicated it was possible to use with-sh-env to set environment variables, as I suspect I need to do something like export DISPLAY=:0.0

am I close ?


I have had this problem as well. See Clojure thread at: http://groups.google.com/group/clojure/browse_thread/thread/5f7e2376748591c
Does seem related to issue on this forum where La Clojure is not picking up environment variables: http://devnet.jetbrains.net/message/5282671