我没有找到在 IntelliJ IDEA 中设置 SDK 的任何方法.在 ubuntu 16.04 LTS for IntelliJ IDEA 中找不到任何设置 SDK 的路径.
I am not finding any way to setup the SDK in IntelliJ IDEA. Not finding any path to setup the SDK in ubuntu 16.04 LTS for IntelliJ IDEA.
我正在这个 IDE 中工作以开发 mongodb.但由于这个问题无法继续.
I am working in this IDE for working on mongodb. But can't proceed because of this problem.
要在ubuntu上找到java的安装路径,可以在终端运行以下命令:
To find the path where java is installed on ubuntu, you can run the following command from terminal:
$ whereis java
你可能会得到这样的东西:
You may get something like this:
java: /usr/bin/java /etc/java /usr/share/java /usr/lib/jvm
这意味着 java 位于上述路径之一,例如 /usr/bin/java
Which means that the java resides at one of the above paths as for example /usr/bin/java
因此,该目录应该在 IntelliJ 中指定.可以在Project Structure中配置,按Ctrl + Alt + Shift + S,选择Platform Settings ->SDKs,点击绿色按钮(+),选择JDK的主目录.
So, that directory should designate in IntelliJ. You can configure in the Project Structure, press Ctrl + Alt + Shift + S, choose Platform Settings -> SDKs, click on green button (+), select the home directory for JDK.
这篇关于如何在 IntelliJ IDEA 中设置 SDK?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!
为什么在 Eclipse 的 SDK 中选择 Android API 而不是 Why would you choose Android API over Google APIs in the SDK on Eclipse?(为什么在 Eclipse 的 SDK 中选择 Android API 而不是 Google API?)
Couchbase 存储桶身份验证错误Couchbase Bucket authentication error(Couchbase 存储桶身份验证错误)
admob 6.2.1 空指针异常admob 6.2.1 nullpointer exception(admob 6.2.1 空指针异常)
eclipse 无法检测到我的手机进行试运行My phone cannot be detected in eclipse to test run(eclipse 无法检测到我的手机进行试运行)
android SDK 中缺少 platform-toolsaapt.exe 目录platform-toolsaapt.exe directory missing in android SDK(android SDK 中缺少 platform-toolsaapt.exe 目录)
导入 com.google.android.gms.* 时出错;error importing com.google.android.gms.*;(导入 com.google.android.gms.* 时出错;)