Symptom
As Java can not be started. You can see the following log entries:
- in dev_server<x> file:
[...]
J (CompilerOracle read from file /usr/sap/<SID>/<instnr>/exe/sapjvm_5/jre/.hotspot_compiler)
J Exception in thread "main" FATAL ERROR in native method: processing of -javaagent failed
[...]
F [Thr 258] *** LOG => SfCJavaVm: abort hook is called.
- in std_server<x> file:
[...]
(CompilerOracle read from file /usr/sap/<SID>/<instnr>/exe/sapjvm_5/jre/.hotspot_compiler)
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/wily/introscope/api/instrument/JavaAgent has been compiled by a more recent version of the Java Runtime (class file version 50.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.findBootstrapClass(Native Method)
at java.lang.ClassLoader.findBootstrapClass0(ClassLoader.java:970)
at java.lang.ClassLoader.loadClass(ClassLoader.java:374)
at java.lang.ClassLoader.loadClass(ClassLoader.java:372)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:311)
at java.lang.ClassLoader.loadClass(ClassLoader.java:324)
at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:133)
FATAL ERROR in native method: processing of -javaagent failed
#
# A fatal error has been detected by the SAP Java Virtual Machine:
#
# Internal Error (jni.cpp:934), pid=42991828, tid=258
# fatal error: FATAL ERROR in native method: processing of -javaagent failed
[...]
Read more...
Environment
SAP Netweaver for Application Server Java 7.1X/7.2/7.3X/7.4/7.5
Product
Keywords
Wily Introscope, Wily Agent, Wily Introscope Agent, AS Java fails to start, -javaagent failed, javaagent failed, FATAL ERROR in native method, Java Virtual Machine, JVM, compiled by a more recent version of the Java, CompilerOracle, UnsupportedClassVersionError, introscope , KBA , BC-JAS-COR , Enterprise Runtime, Core J2EE Framework , SV-SMG-DIA-WLY-BCA , Byte Code Agent Setup , 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.