[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [statet-users] Starting R fails
|
Hi Sam,
Eclipse 2020-12 and StatET 4.3 require Java 11. This also includes the R
console in StatET.
You simply have to change the Java runtime for the R console in StatET (in
"JRE" tab of the launch configuration dialog for the R console) to Java 11
or greater. If it uses the Workspace's default JRE, you can change the
default in "Installed JREs" if you want.
Regards,
Stephan
[18.12.2020 15:49] Sam H wrote:
Hi,
When I start R in StatET I get the following error:
Launching the R Console was cancelled, because it seems starting the R
engine failed.
R environment name= R
R package 'rj' path= /usr/local/lib/R/site-library/rj
Process Error Log:
Exception in thread "main" java.lang.UnsupportedClassVersionError:
org/eclipse/statet/rj/server/Server has been compiled by a more recent
version of the Java Runtime (class file version 55.0), this version of the
Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
at java.lang.Class.getMethod0(Class.java:3018)
at java.lang.Class.getMethod(Class.java:1784)
at RJSrv.main(RJSrv.java:121)
Since I had Eclipse 2020-09 where StatET 4.2.1 is not available I upgraded
to Eclipse 2020-12 and installed the integration build of StstET version
4.3.0.202012151241.I have rj 4.0.2-4 and rj.gd 4.0.2-1 .