Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 99093

How to find and change Java compiler option in Visual Studio Code?

$
0
0

I am new to Visual Studio Code (VSC) and I come from Eclipse. VSC tells me 2 errors on my project:

  • Build path specifies execution environment J2SE-1.5. There are no JREs installed in the workspace that are strictly compatible with this environment.

  • The compiler compliance specified is 1.5 but a JRE 1.8 is used.

Same as in Eclipse, I am looking for a preferences window to change the level of Java compiler (from 1.5 to 1.8 in my case) but I can't find it. I can only see files everywhere. The menu Preferences show many settings but nothing for the Java compiler.


Viewing all articles
Browse latest Browse all 99093

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>