Currently, on a system with OpenJDK 1.7 installed and configured in JBDS as the only JRE runtime, if you create or import a SwitchYard project, it will result in a project with a dependency on JavaSE-1.6 in its build path.
As a consequence, the user will encounter this error message: "Build path specifies execution environment JavaSE-1.6. There are no JREs installed in the workspace that are strictly compatible with this environment."
Description of problem:
On a system with OpenJDK 1.7 installed and configured in JBDS as the only JRE runtime, creating a new SwitchYard project, or importing an existing SwitchYard project (e.g., one of the quickstarts) results in a project with a dependency on JavaSE-1.6 in the build path.
This warning is reported to the user:
Build path specifies execution environment JavaSE-1.6. There are no JREs installed in the workspace that are strictly compatible with this environment.
Version-Release number of selected component (if applicable):
JBDS: jbdevstudio-product-universal-6.0.1.GA-v20130327-2052-B361.jar
JBDS SOA Tooling: http://download.jboss.org/jbosstools/updates/integration/juno/integration-stack/aggregate/4.0.0/
SOA: http://jawa05.englab.brq.redhat.com/candidate/soa-6.0.0-DR3/
Maven repo: http://jawa05.englab.brq.redhat.com/candidate/soa-6.0.0-DR3/soa-6.0.0-Alpha-maven-repository.zip
EAP: http://download.devel.redhat.com/released/JBEAP-6/6.1.0-Beta/
How reproducible:
100%
Steps to Reproduce:
1. Create a new SwitchYard project or import an existing project
2.
3.
Actual results:
Build path specifies execution environment JavaSE-1.6. There are no JREs installed in the workspace that are strictly compatible with this environment.
Expected results:
I would have expected the project to use the installed/configured JRE.
Additional info:
Not sure if it's appropriate for me to mark this as WONTFIX, but it won't be.
The default JDK version required by Maven is 1.5, which will not work with SwitchYard. Setting the version to 1.7 will prevent users from using a 1.6 JDK.
Furthermore, this results in a warning in Eclipse and does not prevent the user from building or working with the project. This warning is generated by Eclipse and simply requires the user to modify their Java preferences by marking their 1.7 JDK as supporting 1.6 environments.