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. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.