我是靠谱客的博主 义气黑米,这篇文章主要介绍4 ,java 编译版本设置 :,现在分享给大家,希望可以做个参考。

1 ,idea 中设置 :

  1. 设置 :close project - configuration - settings - build execlution deployment - compiler - java compiler
  2. 版本 :
    在这里插入图片描述
  3. apply - ok

2 ,maven 设置 :

复制代码
1
2
3
4
5
6
7
8
9
10
11
12
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.2</version> <configuration> <source>1.8</source> <target>1.8</target> <encoding>UTF-8</encoding> <showWarnings>true</showWarnings> </configuration> </plugin>

最后

以上就是义气黑米最近收集整理的关于4 ,java 编译版本设置 :的全部内容,更多相关4内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(49)

评论列表共有 0 条评论

立即
投稿
返回
顶部