This repository has been archived by the owner on Dec 18, 2021. It is now read-only.
forked from bdemers/maven-wrapper
-
Notifications
You must be signed in to change notification settings - Fork 234
OSX 8 still has JDK 6 available #18
Comments
I am finding the same issue. I compiled the project setting the maven compiler to be compatible with 1.6 and it worked.
I know 1.6 is outdated, but I thing it could be done. The changes are minnor and it will help those arround still stuck with 1.6. wdyt? |
I believe this PR #14 fixes the issue. |
In the end I have created a fork and made the changes in my repo. TBH seems this is unmaintained. |
hyoolim
added a commit
to perfectsense/brightspot-tutorial
that referenced
this issue
Mar 10, 2017
Fixed with upcoming 0.2.0 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
On OSX 8 (10.8.x) there is still a JDK 6 provided in
/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK
. Since.mvn/wrapper/maven-wrapper.jar
was compiled with JDK 7, it cannot be loaded but raises the following exception:I see two solutions to the problem:
I would prefer solution No. 2 since this would also allow to use the wrapper for legacy projects which rely on JDK 6 (yes, there are still some users of this out there in the dark!)
The text was updated successfully, but these errors were encountered: