Forum Discussion
- CarmelonHaldonNew ContributorJDK 9, load ALL-SYSTEM modules and the jars of Hermes/lib in the soapui.bat... It's possible!! Ask me for the details if you're yet interested 👍🏼
- av_vOccasional VisitorCarmelonHaldon can u just please share the modifications u did?
- CarmelonHaldonNew Contributor
Sorry, I hadn't seen the replies yet.
Using portable versions, in Windows (10):
1. Use a JDK 9, not less, not more:
set JAVA_HOME=C:\Projects\project\bin\jdk-9.0.4_windows-x64_bin
call C:\Projects\project\bin\SoapUI-5.6.0-windows-bin\bin\soapui.bat2. Edit soapui.bat to load all the libraries from Hermes and ALL-SYSTEM for JDK 9:
...
set CLASSPATH=%CLASSPATH%;%JFXRTPATH%
set CLASSPATH=%CLASSPATH%;C:\Projects\project\bin\hermes-installer-1.14\lib\*...
set JAVA_OPTS=... -splash:SoapUI-Spashscreen.png --add-modules=ALL-SYSTEM
3. "Invalidate/disable/remove" the hermes.jar (there is a known bug with it) from SoapUI. For example, by renaming the extension:
C:\Projects\project\bin\SoapUI-5.6.0-windows-bin\lib\hermes-1.14.jar__
4. And "invalidate/disable/remove" the xerces.jars (avoid the "Xerces Hell" with the ALL-SYSTEM from JDK 9) from Hermes. For example:
C:\Projects\project\bin\hermes-installer-1.14\lib\xerces.jar__
C:\Projects\project\bin\hermes-installer-1.14\lib\xercesImpl.jar__
Heavily tested with HornetQ (standalone/embedded in JBoss, jnp/remote, and Tibco) and OK.
Tell me about any problems, and thanks!!
Related Content
- 9 years ago
Recent Discussions
- 2 days ago
- 2 days ago
- 2 days ago
- 2 days ago