当我运行Rterm.exe时,出现Java问题。我刚刚推出Rterm.exe并尝试通过使用系统(“爪哇 - 版”),以获取Java版本,但它甚至不工作R 3.0.1,JVM找不到对象
R version 3.0.1 (2013-05-16) -- "Good Sport"
Copyright (C) 2013 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
Natural language support but running in an English locale
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> system("java -version")
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
> Sys.getenv("JAVA")
[1] "H:\\R\\jre-7u10-windows-x64\\jre1.7.0_10\\bin\\"
你有没有试过这些指针? http://stackoverflow.com/questions/11808829/jre-1-7-returns-java-lang-noclassdeffounderror-java-lang-object – 2014-11-18 13:28:40