What is the alternative to -Xbootclasspath/p in OpenJDK 11 ?
Environment
- OpenJDK 9
- OpenJDK 11
Issue
- What is the alternative approach to replace
-Xbootclasspath:/poption? - JVM does not start once we remove the
-Xbootclasspath:/pwhile testing with OpenJDK 11. Is there any alternative approach to replace-Xbootclasspath:/poption?
Resolution
Disclaimer: Links contained herein to an external website(s) are provided for convenience only. Red Hat has not reviewed the links and is not responsible for the content or its availability. The inclusion of any link to an external website does not imply endorsement by Red Hat of the website or their entities, products or services. You agree that Red Hat is not responsible or liable for any loss or expenses that may result due to your use of (or reliance on) the external site or content.
As a workaround, the flag -Xbootclasspath/a can be used as it is still valid. Refer to Content from www.oracle.com is not included.JDK 9 Important Changes and Information
Root Cause
-Xbootclasspath/p was removed since OpenJDK 9 once OpenJDK project decided to remove it.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.