DEV Community

Discussion on: Possible Error when we have both javac 11.0.9.1 and javac 8

Collapse
 
ndrone profile image
Nicholas Drone

You installed 2 versions so which one is being used? Type java --version to find that out. Also what other jars are being used? Do you have a screenshot of the imoorts? I usually get errors like this when using older versions of jars that depend on specific java versions. Or rather specify what versions of java it can work in.