JDK 6 Support
Description
(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 "Unsupported major.minor version 51.0 for runtime 50.0" 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
Environment
Activity
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.
(Original author: ariel@arielvalentin.com)
I tried it with java-1.6.0-sun-1.6.0.45.x86_64 and it works fine.
Thanks!
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.
(Original author: ariel@arielvalentin.com)
Brian,
Thanks again for your help!
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.
Regards,
BU