Re: Problem using Java classes from SISC
Colin Coates <[email protected]> Sun, 21 Oct 2007 14:46:47 +0100
| Newsgroups | gmane.comp.java.sisc.user |
|---|---|
| Message-ID | <[email protected]> |
Certainly no problem from my side... if you cannot ask on a list like this then, who you gonna call? :) Kind Regards, Colin Michael Gardner wrote: > Wow. Too much time in C++ land for me, apparently. That was it. > > Thanks, and sorry for wasting everybody's time. > > -Michael > > On 10/20/07, Scott G. Miller <[email protected]> wrote: > >> On 10/20/07, Michael Gardner <[email protected]> wrote: >> >>> Test.java consists of "class Test {}". I have also tried explicitly >>> giving it an empty constructor, with no change. >>> >> If the class isn't public, it isn't visible to reflection. Thats >> probably the problem. >> >> Scott >> >> >>> -Michael >>> >>> On 10/20/07, Scott G. Miller <[email protected]> wrote: >>> >>>> On 10/20/07, Michael Gardner <[email protected]> wrote: >>>> >>>>> I'm having trouble using my Java classes from SISC. When I try to >>>>> create an instance of my empty Java class 'Test' in the interpreter, I >>>>> get: >>>>> >>>>> #;> (max-stack-trace-depth 16) >>>>> 0 >>>>> #;> (import s2j) >>>>> #;> (define-java-class <test> |Test|) >>>>> #;> (java-new <test>) >>>>> Error: no applicable method for args () in generic procedure #0=#<procedure> >>>>> --------------------------- >>>>> console:4:1: <from call to @s2j::java-new> >>>>> >>>> Hi Michael, >>>> >>>> What are the contents of Test.java? Does it have a default constructor? >>>> >>>> Scott >>>> >>>> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Sisc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sisc-users > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/