Build Java Plugin with Java 1.7 instead of 1.6 which is default on some distros

Environment

JVM

Description

Java SE 6 Premier support end on Dec 2015. And recently Jenkins server requires Java 7. So all our build systems will have Java 7. It will be reasonable to build HPCC Java Embeded Plugin wiht Java 7 even though some Linux distro has Java 6 as default, such as Ubuntu 12.04 and CentOS 5/6.

Oracle Java SE Support: http://www.oracle.com/technetwork/java/eol-135779.html
Here is related quote:

Extended Support Life for Java SE 6
In April 2014 Oracle extended the support lifetime for Java SE 6. Before this extension the end of Premier Support was Dec 2013 and the end of Extended Support was scheduled for Jun 2017. The new support dates are: End of Premier Support on Dec 2015, and End of Extended Support on Dec 2018.

Conclusion

None

Activity

Show:

Lorraine Chapman May 16, 2016 at 3:06 PM

Added into the Red Book for 6.0.0

Richard Chapman May 4, 2016 at 4:07 PM

We would want to remove Java 6 from the search lists in FindJNI.cmake though - or at least make sure they were all below any Java 7 paths.

Xiaoming Wang May 4, 2016 at 3:53 PM

FindJNI.cmake doesn't need update since Java.1.7 already in the search list. And it also search for /usr/lib/jvm/default-java as in Ubuntu 16.04 which has Java 1.8 as default. I will install both Java 1.6 and 1.7 (as default) on Ubuntu 12.04 and CentOS 5 on our build servers. If we still need build with Java 1.6 I will switch it before runing cmake configure.

Richard Chapman May 4, 2016 at 2:19 PM

I think that this will require updates to FindJNI.cmake, to the RedBook, to the installation instructions/requirements/wiki, and to the Jenkins build server. Did I miss anything?

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Components

Assignee

Reporter

Priority

Compatibility

Major

Fix versions

Labels

Created May 4, 2016 at 2:15 PM
Updated May 16, 2016 at 3:06 PM
Resolved May 13, 2016 at 4:15 PM