0

I have a Grails 2.3.7 project which should use Java 1.7. I am using the Spring GGTS IDE as development tool and it is configured to use a Java 1.7 JDK.

I created the project in GGTS and changed the source and target level to 1.7. Then I generate a maven pom file with the create-pom command. So far so good. The project is linked to use a JRE System Library of version 1.7.

Then I change the project to be a Maven project in GGTS. What happens now is that in GGTS, the project changes the JRE System Library to become of version 1.6. I can manually switch it back to a java 1.7 library but every time I do a "Maven update project", the 1.6 library is back.

What am I doing wrong?

Brock Adams
  • 90,639
  • 22
  • 233
  • 295
stenix
  • 3,068
  • 2
  • 19
  • 30

1 Answers1

0

By removing the jre 1.6 as installed jre from GGTS, the project will use my jre 1.7. But in the list of linked dependencies it is still labeled JRE System Library [Java-SE 1.6] even though it points to my 1.7 instance. This solved my build-issues even though it still looks wrong.

stenix
  • 3,068
  • 2
  • 19
  • 30