Symptom
- Installed Replication Agent for MS SQL Server 15.7.1 ONE-OFF EBF 28355.
- Ran ServiceAdmin and got the following error or stack trace
The JAVA_HOME, OR SAP_JRE7 environment variable is not defined correctly.
Either JAVA_HOME, or SAP_JRE7 environment variable is needed to run this program.
or stack
c:\RAM_EBF_28355\RAX-15_5\winservice\bin>ServiceAdmin
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/sybase/ra/winservice/ServiceAdmin has been compiled by a more recent version of the Java Runtime (class file version 52.0), this version of the Java Runtime only recognizes class file versions up to 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:904)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:511)
at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
at java.net.URLClassLoader$1.run(URLClassLoader.java:423)
at java.net.URLClassLoader$1.run(URLClassLoader.java:417)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:416)
at java.lang.ClassLoader.loadClass(ClassLoader.java:494)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:357)
at java.lang.ClassLoader.loadClass(ClassLoader.java:427)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:501)
Read more...
Environment
SAP Replication Agent for MS SQL Server 15.7.1 ONE-OFF EBF 28355
Product
SAP Replication Server, option for Microsoft SQL Server all versions
Keywords
SYBASE.bat, RAM, add windows service , KBA , BC-SYB-REP , Sybase Replication Server (standalone) , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview