My project works fine with Java 1.8u151. I am trying to upgrade it to Java 12 but I am getting the following error.
Package is accessible from more than one module <unnamed>
This is the only error and is repeated with most packages in Java 12 but works fine with Java 8.
I have tried moving all jar files to classpath from module-path. Only Java 12 libraries in module-path. I rried to look for anything deprecated in packages with Java versions. I tried 3 different systems with different Java versions (all running OS-X 10.13.6, 10.13.3 10.11.6 and my own system 10.14.6).
Error Screenshot - https://drive.google.com/open?id=1GS_v4rWe5wtigHIDeYtqd2r9YmTVyXbd
Errors are same with "org.w3c.dom" & "org.xml.sax" - package being called from <unnamed>
and java.xml
The best solution would be to remove the problem or a way to guide the compiler to use JRE System Libraries only.