Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Other Build Tools
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Other Build Tools
maven 3 doesn't play nice with java 7
Hengki Widjaja
Ranch Hand
Posts: 44
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
When I tried compiling my codes, I got a warning saying that
string
in switch is not supported in source 1.5, but I've already installed
java
7 and change the variables accordingly. Help please? thanks
Peter Johnson
author
Posts: 5856
7
I like...
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
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
Those cherries would go best on cherry cheesecake. Don't put those cherries on this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
I like Ubuntu 8.04
Using Modulus
what has changed in javaSE since 2005?
JAVA 7 launching on 7/7/2011
7/7/11 - java released
More...