Open felibunnyy opened 2 years ago
Docker is a containerisation platform, which you can (loosely speaking) think of like a Virtual Machine. It runs its own version of Java inside of it, which can be specified when the container was set up.
Running javac --version
inside the Docker container, and outside of it (on your own machine) should give you a different reading!
Hi, can you try removing all the .class files and recompile everything inside the docker container?
I had this issue when trying to compile code under Docker environment? It seems to have issues only when i try compiling using docker but works okay without Docker in my normal terminal. Why are the compilers for both sides different though?