JDK 6 Support


(Imported from Google Code)
(Original author: ariel@arielvalentin.com)
<b>What steps will reproduce the problem?</b>

  • The published jar is only compatible with JDK 7 support. At runtime we get the dreaded &quot;Unsupported major.minor version 51.0 for runtime 50.0&quot; exception

  • Create a java project using JDK 6 and attempt to compile and execute the application.

<b>What is the expected output? What do you see instead?</b>

  • We would like to use a classifier or version strategy to allow us to download a JDK 6 compatible version of DDMSence

<b>What version of the product are you using? On what operating system?</b>

  • ddmsence 2.2.0 with JDK 6 on CentOS 6.4




Brian Uri
May 14, 2014, 5:34 PM

Unstable copy of JAR verified. DDMSence 2.2.1 released on DDMSence website. Issue #217 tracks the ancillary task to push out to Maven Central Repo.

Brian Uri
May 14, 2014, 3:50 PM

(Original author: ariel@arielvalentin.com)
I tried it with java-1.6.0-sun- and it works fine.


Brian Uri
May 13, 2014, 7:33 PM

r887 - 889 update the build process with target="1.6" and refresh copyright dates for 2014 in various license texts throughout source code.

Provided a link to an early copy of the JAR file by email to Ariel. Will proceed with publishing to website and Maven after his cursory test.

Brian Uri
May 13, 2014, 6:08 PM

(Original author: ariel@arielvalentin.com)

Thanks again for your help!

Brian Uri
May 13, 2014, 3:41 PM

Hello Ariel,

Thank you for bringing this to my attention. DDMSence 2.2.0 was compiled with JDK 1.7.0_17 at source level 1.6. I had believed that the default target level was inferred from the source level, but apparently the default target level for source 1.6 is actually 1.7.

I can compile a DDMSence 2.2.0 JAR file for you this afternoon after work, with the target level explicitly set to 1.6. I'll email it to you at this address.




Brian Uri


Brian Uri



Fix versions