This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 525487 - CXF runtime selection with Java 9 requires addition of java.se.ee module to vm arguments
Summary: CXF runtime selection with Java 9 requires addition of java.se.ee module to v...
Status: NEW
Alias: None
Product: WTP Webservices
Classification: WebTools
Component: jst.ws.jaxws (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Shane Clarke CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-03 05:24 EDT by Shane Clarke CLA
Modified: 2017-10-03 05:24 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shane Clarke CLA 2017-10-03 05:24:34 EDT
Selecting a CXF runtime with Java 9 selected as the default workspace JRE will not work.

The selection runs a org.apache.cxf.tools.wsdlto.WSDLToJava command with a -v arg in the background to determine the version number.

This command will fail when run with Java 9 unless --add-modules=java.se.ee
or --add-modules=ALL-SYSTEM has been specified.

Workaround is to add it to the default vm arguments of the Java 9 install.

The CXF 2.x tooling only supports CXF 2.x and requires Java 7 to run.

#476128 open to look at possibility of providing CXF 3.x which would run on Java 8. No documented support for Java 9 yet.