JavaSysMon - maven checkout - not working for Java 6

98 views
Skip to first unread message

abraham...@gmail.com

unread,
Jan 29, 2015, 5:21:33 AM1/29/15
to javas...@googlegroups.com
Hi, I have a project in java 6 and maven. I'm using the following maven dependency:

<dependency>
<groupId>com.outr.javasysmon</groupId>
<artifactId>javasysmon_2.10</artifactId>
<version>0.3.4</version>
</dependency>

However when I execute:

   JavaSysMon monitor = new JavaSysMon();

I get the following error:
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/jezhumble/javasysmon/JavaSysMon : Unsupported major.minor version 51.0

I understood that JavaSysMon worked for java 1.4, 5, and 6 included. Is there something that I'm missing?

Regards

Jez Humble

unread,
Jan 29, 2015, 11:05:44 AM1/29/15
to javas...@googlegroups.com
Hi! JavaSysMon was developed on Java 6 so I can confirm it works on my machine ;-)

Is the JavaSysMon jar you're using coming from some Maven repo? If so, perhaps the people who made it forgot to target earlier JREs when they compiled on JDK7, in which case you should let them know.

If you have the same problem with the jar downloaded from GitHub, please let me know.

Thanks,

Jez.

--
You received this message because you are subscribed to the Google Groups "JavaSysMon" group.
To unsubscribe from this group and stop receiving emails from it, send an email to javasysmon+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Abraham Arellano Tavara

unread,
Jan 29, 2015, 11:19:27 AM1/29/15
to javas...@googlegroups.com
Hi Jez,

Thanks for your answer. Yes I was trying to use the following maven repository:


However I will let them know that it is compiled with java 7.

The Github jar is working perfect in Java 6.

Thanks a lot for your response.

Abraham.




--
You received this message because you are subscribed to a topic in the Google Groups "JavaSysMon" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/javasysmon/UzasCFqVV-4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to javasysmon+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages