-
Notifications
You must be signed in to change notification settings - Fork 70
setup jre
CobiGen is supposed to support both java 8 and java 11 even though we are moving to 11. Here is a short description of how to set up the execution environment for developing so that you can test both environments.
By default, CobiGen development tools come with some installed JREs in /software/java (11)
and /software/java/additionalJdk (7 and 8)
In CobiGen, there is a fixed setup of JAVASE-1.8 in maven, which leads to the odd that no matter which Java is currently used, eclipse keeps showing JAVASE-1.8. A temporary reconfiguration of JRE in the build path will also be overwritten by a maven update.
Eclipse has a fixed list of execution environments, which is automatically matched with the current most suitable installed JRE, in our case JDK-8 by default. The matching JRE is the actual one, which is used to compile no matter which name eclipse shows
As that, to move to 11, just set up the match JRE of JAVASE-1.8 to 11 or any version you need
Disclaimer
If you discover any documentation bugs or would like to request new content, please raise them as an issue or create a pull request. Contributions to this wiki are done through the main repo under the folder documentation.
License
This documentation is licensed under the Creative Commons License (Attribution-NoDerivatives 4.0 International
)