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? -- View this message in context: http://r.789695.n4.nabble.com/jinit-and-jnew-tp2297486p2297486.html Sent from the R help mailing list archive at Nabble.com.
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.