I need to use java 1.5. But when I run maven 3.2.1 I get:
:~$ mvn --version
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad
version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:
If I change to java 1.7 it works. I have not been able to find in the
release notes for 3.2.1 that java > 1.5 i s required.
I can use java 5 and maven 3.1.1 just fine.
--
View this message in context:
http://maven.40175.n5.nabble.com/Maven-3-2-1-and-java-1-5-tp5791274.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]