Hello, "c.j.pulley" wrote: > [...] we can then create instances of classes within the compiled > code via 'java::new <my class>'. > Now, if this is so, then I've definitely got a problem since the JVM > returns with the error: > java.lang.IllegalAccessException <my class> > catching the Java exception object and printing out the trace stack > yields the following: > java.lang.IllegalAccessException: <my class> > at java.lang.reflect.Constructor.newInstance(Native Method) > at tcl.lang.reflect.PkgInvoker.invokeConstructor(PkgInvoker.java:95) [...] > So, which is it: a faulty understanding of how to manipulate Java from > TCL or do I have a bug in my build of tclBlend somewhere? Or is > something else up? I just took a look into the man page of java.lang.IllegalAccessException, and found the following: [...] but the currently executing method does not have access to the definition of the specified class, because the class is not public and in another package. An instance of this class can also be thrown when an application tries to create an instance of a class using the newInstance method in class Class, but the current method does not have access to the appropriate zero-argument constructor. So maybe your Java class is not defined public or the constructor of your class isn't? Hth, Krischan -- Christian Krone, SQL Datenbanksysteme GmbH Mail mailto:[EMAIL PROTECTED] ---------------------------------------------------------------- The TclJava mailing list is sponsored by Scriptics Corporation. To subscribe: send mail to [EMAIL PROTECTED] with the word SUBSCRIBE as the subject. To unsubscribe: send mail to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the subject. To send to the list, send email to '[EMAIL PROTECTED]'. An archive is available at http://www.mail-archive.com/tcljava@scriptics.com