This is a migrated thread and some comments may be shown as answers.

UnsupportedClassVersionError

3 Answers 60 Views
Monitor integration
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Guest
Top achievements
Rank 1
Guest asked on 10 Apr 2013, 07:28 PM
I am trying to set up a monitor on my product and when this code is run: IAnalyticsMonitor monitor = AnalyticsMonitorFactory.createMonitor("*", new Version(3,5)); monitor.start(); I get an exception stack trace starting with: Exception in thread "main" java.lang.UnsupportedClassVersionError: eqatec/analytics/monitor/Version : Unsupported major.minor version 51.0 I haven't had much luck going through the Version javadocs to see why this exception is occuring, and I don't understand where the 51.0 is coming from in the exception. Your assistance is greatly appreciated so that I may continue my evaluation of your product. Thanks.

3 Answers, 1 is accepted

Sort by
0
Guest
Top achievements
Rank 1
answered on 10 Apr 2013, 07:28 PM
I am having difficulty viewing my Request online as every time I try to set my password I get directed to https://eqatec.zendesk.com/verification/details/l1jqne31jsrob5w which Safari cannot open reporting "Safari can't establish a secure connection to the server eqatec.zendesk.com". Anyhow hopefully this email will get to the right place. I realized that I am getting the UnsupportedClassVersionError because your jar was compiled with Java 7 and my application runs with Java 1.6.0_37. We cannot yet enforce Java 7 as the minimum supported Java version for our application. Could you please send me your jar compiled with Java 1.6? Thanks, Elena
0
Guest
Top achievements
Rank 1
answered on 10 Apr 2013, 07:28 PM
Hi Elena We have recently moved to a new build environment (as part of our acquisition by Telerik) and it seems our new build environment was upgraded to JDK 1.7 (we were previously on JDK 1.6). There is an internal discussion on whether we want to move to 1.7 or go back to 1.6 since 1.6 seems to be end-of-life in terms of support but I've attempted to build an new version targeted at 1.6 (using the --target switch) and perhaps you can try that one out. I have attached the new version to this incident. Let me know if it works out for you, I'll be happy to work further on this to resolve your issue Regards Soren EQATEC Team
0
Guest
Top achievements
Rank 1
answered on 10 Apr 2013, 07:28 PM
Soren, Thank you very much for your quick response. I was able to get everything working with the jar you sent along compiled for Java 6. Best, Elena
Tags
Monitor integration
Asked by
Guest
Top achievements
Rank 1
Answers by
Guest
Top achievements
Rank 1
Share this question
or