本文介绍了在IntelliJ IDEA 2017.1中支持Java 9模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

IntelliJ IDEA 2017.1支持Java 9的新模块化(Project Jigsaw)。在这个最新版本中。

IntelliJ IDEA 2017.1 brings support for Java 9’s new modularity (Project Jigsaw). In this latest version.

我已经下载了2017.1但缺少默认的Java 9支持。

i have downloaded 2017.1 but default Java 9 support is missing.

我怎么能在IntelliJ中启用Java 9支持?

How can i enable Java 9 support in IntelliJ ?

推荐答案

下载/安装JDK 9后,在Intellij中定义JDK,将其设置为项目SDK,将项目的语言级别设置为9(其中大部分都记录在案),你应该准备好了。关于模块系统,JetBrains已经记录了如何开始使用IntelliJ 。

Once you downloaded/installed JDK 9, defined the JDK in Intellij, set it as your project SDK, and set the project's language level to 9 (most of which is documented here), you should be ready to go. Regarding the module system, JetBrains has documented how to start using it with IntelliJ in the documentation and in this blog post.

最后一点:考虑更新到2017.2以获得最新版本变化。

One last note: consider updating to 2017.2 to get the newest changes.

这篇关于在IntelliJ IDEA 2017.1中支持Java 9模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-05 06:24