Hello all,

I have some trouble understanding the following setting: Given a Java
class JavaStuff.java in /home/me the following occurs on my system:

  Clojure 1.0.0-
  user=> (add-classpath "file:///home/me/")
  nil
  user=> (. Class (forName "JavaStuff"))
  JavaStuff
  user=> (def JavaStuff-class (. Class (forName "JavaStuff")))
  java.lang.ClassNotFoundException: JavaStuff (NO_SOURCE_FILE:3)
  user=> 

It seems to me that the second call to Class.forName() happens in
another namespace where /home/me is not in the classpath. Is this
intentional? The same also happens with 1.1.0-alpha.

Best
Daniel

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to