Grails not working on Ubuntu

≡放荡痞女 提交于 2021-01-28 01:56:42

问题


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..

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

Thanks !


回答1:


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



来源:https://stackoverflow.com/questions/34451018/grails-not-working-on-ubuntu

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!