Not possible to load the UserService plugin

Hi,

in my environment it is not possible to load the UserService Plugin

Following Error is in the log:
2014.10.30 12:52:26 Error loading plugin: /opt/openfire/plugins/userservice
java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major version; class=“org”/jivesoftware/openfire/plugin/UserServicePlugin, offset=6
at java.lang.ClassLoader.defineClassImpl(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:287)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:74)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:540)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:451)
at java.net.URLClassLoader.access$300(URLClassLoader.java:79)
at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:1038)
at java.security.AccessController.doPrivileged(AccessController.java:362)
at java.net.URLClassLoader.findClass(URLClassLoader.java:429)
at java.lang.ClassLoader.loadClass(ClassLoader.java:672)
at java.lang.ClassLoader.loadClass(ClassLoader.java:638)
at org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginManager.java :420)
at org.jivesoftware.openfire.container.PluginManager.access$300(PluginManager.java :80)
at org.jivesoftware.openfire.container.PluginManager$PluginMonitor.run(PluginManag er.java:1074)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:450)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:328)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:161)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101 (ScheduledThreadPoolExecutor.java:109)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodi c(ScheduledThreadPoolExecutor.java:191)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Schedu ledThreadPoolExecutor.java:215)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java: 906)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:929)
at java.lang.Thread.run(Thread.java:738)

The environment is:
openfire 3.9.3 running on Suse SLES 11.3.
java version "1.6.0"
Java™ SE Runtime Environment (build pxa6460sr14-20130705_01(SR14))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux amd64-64 jvmxa6460sr14-20130704_155156 (JIT enabled, AOT enabled)
J9VM - 20130704_155156
JIT - r9_20130517_38390
GC - GA24_Java6_SR14_20130704_1138_B155156)
JCL - 20130618_01

Plugin I tryed the latest 2.0.2. This one is not loading
The Version 1.4.3 of the Plugin is loading but seems to be not compatible with the OpenFire Version 3.9.3
In the forum I found already a hint that I should use JAVA 7. Unfortunately this is not possible.

Is there any way to run the UserService Plugin V2.0.2 with this Java Version?

many Thanks for any Idea

Regards
Johannes

So you can’t install java7 or java8 on Suse SLES 11.3? Why not? To answer your question, you’ll need to compile the plugin yourself within your environment.