Hi community!
I was working with a clean instalation of the branch 6.1 using maven and Java 10 from Oracle.
It was evertything working fine, until I decide to use FitNesse to do some tests. I've followed all the steps on the wiki:
But, when I clicked on the test button, I was confronted with the following error:
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: fitnesse/client/FitServerServletInvoker has been compiled by a more recent version of the Java Runtime (class file version 54.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 sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:338)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:495)
Then I decided to Update the fitnesse jar file in the fitnesse directory inside the iDempiere workspace. I've downloaded the latest release of FitNesse (20180127), available in the following link:
Well, I renamed the jar to "fitnesse.jar" and runned the service. The FitNesse application runned well, but when I tried to run the "Two Minute Exampe test" it showed me the following error:
Error SLiM server died before Header Message could be read.
And, the fitnesse/src/fitnesse.responders.run/SocketDealer.java was broken. It appears to be because the SocketDealer.class, SocketSeeker.class, and SocketDone.class no longer exists in the new versions of FitNesse.
Right now I'm working to fix that by reading the change logs of FitNesse. Have any of you guys got familliars errors before, or have some idea of an easier way to fix that?
Regards,
Pedro.