Gaurav Khandelwal
Gaurav Khandelwal

Reputation: 360

Which version of Grails support JDK 8?

I am using following configuration for Grails :

When I run the server, I am getting two errors. In my POM, I am using grail-gorm and grail-crud dependencies. I am not able to get these dependencies from Maven repository. Can you please all suggest me what should I do o that I am able to run Grails on jdk 8?

Upvotes: 3

Views: 6696

Answers (1)

sjain
sjain

Reputation: 23344

Version 1.8.0_40, 1.8.0_45 and 1.8.0_51 has breaking updates with grails.

Grails is natively supported in 1.8.0_25, 1.8.0_31.

Once you get the compatible java versions, just clean the grails project, mark the entries in the environment variables correctly and then you are good to go.

Check this: java-archive-javase8-2177648.html#jdk-8u25-oth-JPR.

Upvotes: 2

Related Questions