How Can I Update Java?

Hey i want to ask that i want to compile a file but to do it i need the java version 8 to 16 how can i change the shell java compiler version??

Replit Profile:

3 posts were split to a new topic: We ran into an internet problem

Haven’t done java before, but ghostwriter said to add this to pom.xml:


I want to do it for shell