Gradle无法启动Java

时间:2016-01-03 09:49:52

标签: java gradle

libgdx tutorial之后,我创建了一个Gradle项目,该项目在我的台式电脑上正常运行,但无法在我的笔记本电脑上启动Java。

我的两台机器都使用Arch Linux Linux 4.3.3-2上的Gradle 2.10和GNOME Shell 3.18.3以及Java 1.8.0_66 OpenJDK。

这是我在笔记本电脑上出现的错误:

$ gradle desktop:run 
Configuration on demand is an incubating feature.
:core:compileJava UP-TO-DATE
:core:processResources UP-TO-DATE
:core:classes UP-TO-DATE
:core:jar UP-TO-DATE
:desktop:compileJava UP-TO-DATE
:desktop:processResources UP-TO-DATE
:desktop:classes UP-TO-DATE
:desktop:run FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':desktop:run'.
> A problem occurred starting process 'command '/usr/lib/jvm/java-8-openjdk/bin/java''

文件/usr/lib/jvm/java-8-openjdk/bin/java存在,具有所有用户的所有必要权限,可以手动执行而不会出现问题。

0 个答案:

没有答案