Simple switch from openjdk to sun-java6 problem resolved.
On Apr 22, 8:18 pm, lesni bleble lesni.ble...@gmail.com wrote:
hello again,
i have another problem. I'm trying simple applet:
$ cat src/foo/applet.clj
(ns foo.applet
(:import (java.awt Graphics2D Graphics Frame Color Image
hello again,
i have another problem. I'm trying simple applet:
$ cat src/foo/applet.clj
(ns foo.applet
(:import (java.awt Graphics2D Graphics Frame Color Image Toolkit))
(:gen-class
:extends java.applet.Applet))
(defn -paint [#^Applet applet #^Graphics2D g]
(.drawString g Hello from
thanks all, now it's clear to me.
On Apr 19, 10:39 pm, Mark Nutter manutte...@gmail.com wrote:
Hmm, in your example you say you're code looks like
(println hello)
but in your description you say
((println hello))
Don't know if that's a just a typo or not, but if you actually did
type in
hello,
i'm trying to start learning clojure with lein but i get into
trouble. I'm doing simple project:
lein new foo
cd foo
lein deps
echo '(println hello)' src/foo/core.clj
lein run -m foo.core
hello
Exception in thread main java.lang.NullPointerException
(NO_SOURCE_FILE:1)
at