cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

Knowledge Base

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
Last update:
‎01-01-2019 09:10 PM
Updated by:
Labels (1)
Contributors
By replying you agree to the Terms and Conditions of the AppDynamics Community.
0 Kudos