Knowledge Base

cancel
Showing results for 
Search instead for 
Did you mean: 

Events Service for AppDynamics version 4.3 requires Java 1.8

Users who are unable to start version 4.3 of the Events Service should check the logs for the following error:

 

Incompatible Java version detected while running the program. A newer version of Java may be required 
java.lang.UnsupportedClassVersionError: com/appdynamics/analytics/processor/executor/AnalyticsServiceExecutor : Unsupported major.minor version 52.0 
at java.lang.ClassLoader.defineClass1(Native Method) 
at java.lang.ClassLoader.defineClass(Unknown Source) 
at java.security.SecureClassLoader.defineClass(Unknown Source) 
at java.net.URLClassLoader.defineClass(Unknown Source) 
at java.net.URLClassLoader.access$100(Unknown Source) 
at java.net.URLClassLoader$1.run(Unknown Source) 
at java.net.URLClassLoader$1.run(Unknown Source) 
at java.security.AccessController.doPrivileged(Native Method) 
at java.net.URLClassLoader.findClass(Unknown Source) 
at java.lang.ClassLoader.loadClass(Unknown Source) 
at java.lang.ClassLoader.loadClass(Unknown Source) 
at java.lang.Class.forName0(Native Method) 
at java.lang.Class.forName(Unknown Source) 
at com.appdynamics.common.executor.standalone.ProxyMain.callActualMain(ProxyMain.java:158) 
at com.appdynamics.common.executor.standalone.ProxyMain.main(ProxyMain.java:106)

 

The Events Service for version 4.3 requires Java 1.8. This is outlined in our documentation under the Events Service "General Requirements" section.

 

 To set up 1.8 JRE manually using the environment variables in your computer terminal: 

  1. export JAVA_HOME=<path to 1.8 JRE> export PATH=$JAVA_HOME/bin:$PATH
  2. Verify that the above command worked: java -version
  3. Start the Events Service: nohup bin/events-service.sh start -p conf/events-service-api-store.properties

 

Version history
Revision #:
5 of 5
Last update:
‎01-01-2019 09:10 PM
Updated by:
 
Labels (1)
Contributors


Found this article helpful? Click the Thumbs Up button.
Have an additional comment? Post it below.
0 Kudos