|
From: <php...@li...> - 2009-08-24 17:50:15
|
thanks,
that at least did not result in an error even though nothing was printed to
the browser (which is probably ok since it is not stdout).
Anyway, thanks. I think i understand now the correlation between the syntax
and creating instances and calling methods.
(I think ... . That doesn't mean much, so i'll probably be back once i get
stumped again)
thanks
matt
On Monday 24 August 2009, php...@li... wrote:
> > echo java("java.lang.System.out")->println("sdgfsdfsdf");
> > which gives:
> > Fatal error: Uncaught [[o:Exception]:"java.lang.Exception: ReferenceClass
> > failed: new java.lang.System.out. Cause:
> > java.lang.ClassNotFoundException: java.lang.System.out VM:
> > 1.6.0_14@http://java.sun.com/" at: #-25
> > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.
> >java:1387)
>
> mhm looks to me as you try to create a instance of "out" but thats
> just a property of java.lang.System
>
> try it like this
>
> echo java("java.lang.System")->out->println("aadsfdsaf");
>
> kind regards,
>
> Dominik
>
> ---------------------------------------------------------------------------
>--- Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day trial. Simplify your report design, integration and deployment - and
> focus on what you do best, core application coding. Discover what's new
> with Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> php-java-bridge-users mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
|