I am migrating our code from Java 8 to OpenJDK. I got different errors for different attributes like:
- javax.xml.*
- org.w3c.*
- org.xml.*
I am using same settings and same libraries in Eclipse as the one with JDK 8, just changed the build path from JDK 8 to OpenJDK 11. So whebn I change the build path back to JDK 8, the errors disappear.
Even I am unable to run the application (which had build previously by JAVA 8) after set PATH and JAVA_HOME to OpenJDK 11.
I tried also with OpenJDK 9, but I got the same result.
Do I miss something, or OpenJDK doesn't support these attributes, and what is the recommendation to get it works correctly?