Quarkus 3 has introduced Jakarta EE 10 that need to replace all the javax.*
package with jakarta.*
package.
In our application, we set these system properties at startup:
-Djavax.net.ssl.trustStore=...
-Djavax.net.ssl.trustStorePassword=...
Do we need to change it in jakarta.net.ssl....
?
As Commented…
For any javax
package, ask yourself if that class is from one of the Jakarta EE libraries? When you look up the latest Javadoc, does that page reside at the Jakarta EE web site?
If so, change the package name to that which is documented. If not, leave the javax
package as-is.
Java still has many packages in the javax
namespace. This x
naming is a leftover from older development practices during the early Sun Microsystems days of Java’s history.
The package javax.net.ssl
is still a part of the current Java release, Java 21. Not in Jakarta EE.
The first versions of Jakarta EE did use the javax.*
package naming, during the transitional period when Oracle Corp handed over Java EE technologies to the Eclipse Foundation. My Answer here assumes you have moved on to the later versions of Jakarta EE that now use jakarta.*
packages.