Grails无法在Ubuntu上运行 [英] Grails not working on Ubuntu
问题描述
我是Grails的新手,但是我有一些问题... 因此,我开始安装所有必需的工具,使其工作:jdk8,设置JAVA_HOME变量等.然后,我安装了Grails,使用它创建了一个新应用并尝试运行它,而没有对其进行修改,看看Grails是否工作正常,但不幸的是,什么都没有发生..甚至没有错误.
I'm new to Grails,but i have some problems... so i've started to install all of what is required to make it work : jdk8, setting the JAVA_HOME variable etc.. then i've installed Grails, created a new app with it and trying to run it,without modifying it, just to see if Grails was working fine, but unfortunately, nothing happened .. not even errors..
我已经尝试过将jdk更改为1.7版本,因为我已经读过它可能是主要问题,但仍然是相同的.即使在控制台中键入"grails",也没有任何反应. .这是我的配置:
I've tried making it work changing the jdk to 1.7 version because I’ve read that it could be the main issue, but it's still the same.. Even when i type "grails" in my console, nothing happens .. Here is my configuration :
| Grails Version: 3.0.11
| Groovy Version: 2.4.5
| JVM Version: 1.7.0_91
谢谢!
推荐答案
您必须使用Sun Java,而不是openjdk(默认设置)
You have to use Sun Java, not openjdk (which is the default)
您可以在这里查看操作方法:
You can go here to see how:
https://askubuntu.com/questions/430434/replace-openjdk -with-oracle-jdk-on-ubuntu
这篇关于Grails无法在Ubuntu上运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!