When I run Rterm.exe, I get a problem with Java. I just launch Rterm.exe and try to retrieve the Java version by using system("java - version") but it doesn't even work
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\\"