[R] .jinit and .jnew

behrooz behrooz.ghahyazi at citi.com
Thu Jul 22 03:04:54 CEST 2010



behrooz wrote:
> 
> i have a jar under z:/downloads/AA, i use
> .jinit(classpath="z:/downloads/AA") and then
> .jnew("Myclass") but .jnew throes an error:
> 
> Error in .jnew("MyClass") : 
>   java.lang.NoClassDefFoundError: MyClass
> 
> tried 
> 
> .jinit(classpath="z:/downloads/AA/myClass.jar") and got the same error.
> 
> any idea?
> 
> 
> 
> 

added .addClassPath(z:/downloads/AA/myClass.jar")  solve my issue.
-- 
View this message in context: http://r.789695.n4.nabble.com/jinit-and-jnew-tp2297486p2297990.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list