On Wed, Mar 2, 2011 at 11:38 PM, Earl J. Wagner <dont.spam.e...@gmail.com>wrote:

>
> Then I try to compile Java code to use it:
>
> import java.lang.reflect.Method;
> import t.core;
> import t.core.TRecord;
>


> Attempting to compile this with the jar in the classpath produces a
> "cannot find symbol" error for the TRecord class. It does however
> compile with the last import line commented out, and when run this
> successfully prints out the name of the class and its methods.
>

Are you sure that the "Cannot find symbol" error is referring to the line
"import t.core.TRecord;"?

I'm pretty sure the line before that: "import t.core;" is invalid, you can't
import a package in Java (you could do "import t.core.*" if you wanted
though).

--Aaron

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