Upgrade minimal JDK version to 1.8

Description

Hi Everyone,

Following my discussion with Valery, I create a Jira issue.

Here is his message, and then my orgininal message.

Hi Eddy,

1 I use different JDKs: from 8 to 11. All of them work fine with JBehave.

2 Current minimal JDK version is 1.7 (https://github.com/jbehave/jbehave-core#jdk). It seems tutorials are outdated, you file an issue to update them or fix and provide pull requests.

3 Not many users are on JDK 11, the latest surveys show that most of users are still on JDK 8. In general, I think it makes sense to migrate JBehave to JDK 8. If it's really important for you, again please file a ticket in JIRA.

Thanks,
Valery

Activity

Mauro Talevi April 29, 2019 at 9:27 PM

Pulled with thanks

Valery Yatsynovich April 29, 2019 at 8:59 PM

Hi ,

Could you please review the pull request: https://github.com/jbehave/jbehave-tutorial/pull/18/files?w=1 ?

Thanks

Valery Yatsynovich April 29, 2019 at 8:46 PM

Hi ,

Could you please review the pull request: https://github.com/jbehave/jbehave-core/pull/235/files?w=1 ?

Thanks

Eddy February 6, 2019 at 1:08 PM

My original message was:

Hi everyone,

1 - What is the Java version source/target for your projects ?

2 - I download the jbehave-core and jbehave-tutorial this week.

In the pom.xml, there is:

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.1</version>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>

It should be more than 1.5 because 1.5 should be dead or nearly dead.

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>

3 - Here is a not about the Life of Java 8

Java SE 8 is going through the End of Public Updates process for legacy releases. Oracle will continue to provide free public updates and auto updates of Java SE 8, until at least the end of December 2020 for Personal Users, and January 2019 for Commercial Users.

Thank you very much
Kind Regards

Fixed

Details

Assignee

Reporter

Fix versions

Priority

Created February 6, 2019 at 1:06 PM
Updated April 29, 2019 at 9:27 PM
Resolved April 29, 2019 at 9:27 PM