A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Spring in Action
this week in the
Ant, Maven and Other Build Tools
maven 3 doesn't play nice with java 7
Joined: Oct 31, 2011
Nov 21, 2011 23:47:01
When I tried compiling my codes, I got a warning saying that
in switch is not supported in source 1.5, but I've already installed
7 and change the variables accordingly. Help please? thanks
Joined: May 14, 2008
Nov 22, 2011 10:04:54
change the variables accordingly
What variables? Please post the Compiler plugin configuration in your pom.xml, without that my only guess is that you did something incorrectly.
Also, run "mvn -version" and see what version of Java it tells you about. If it is not 1.7, you need to change your JAVA_HOME.
Also, what OS?
JBoss In Action
I agree. Here's the link:
subject: maven 3 doesn't play nice with java 7
I like Ubuntu 8.04
what has changed in javaSE since 2005?
JAVA 7 launching on 7/7/2011
7/7/11 - java released
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014