You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2021/12/24 06:01:12 UTC

[GitHub] [maven-mvnd] elliotliu opened a new issue #544: jdk 1.8 exception

elliotliu opened a new issue #544:
URL: https://github.com/apache/maven-mvnd/issues/544


   
   download release version is ok.
   
   use brew install mvnd, mvnd --version
   
   Error: A JNI error has occurred, please check your installation and try again
   Exception in thread "main" java.lang.UnsupportedClassVersionError: org/mvndaemon/mvnd/client/DefaultClient has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
   	at java.lang.ClassLoader.defineClass1(Native Method)
   	at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
   	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
   	at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
   	at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
   	at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
   	at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
   	at java.security.AccessController.doPrivileged(Native Method)
   	at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
   	at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
   	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
   	at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
   	at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:601)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [maven-mvnd] gnodet closed issue #544: jdk 1.8 exception

Posted by GitBox <gi...@apache.org>.
gnodet closed issue #544:
URL: https://github.com/apache/maven-mvnd/issues/544


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [maven-mvnd] coderYii commented on issue #544: jdk 1.8 exception

Posted by GitBox <gi...@apache.org>.
coderYii commented on issue #544:
URL: https://github.com/apache/maven-mvnd/issues/544#issuecomment-1001358176


   [Build mvnd](https://github.com/apache/maven-mvnd#build-mvnd)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [maven-mvnd] kimvon commented on issue #544: jdk 1.8 exception

Posted by GitBox <gi...@apache.org>.
kimvon commented on issue #544:
URL: https://github.com/apache/maven-mvnd/issues/544#issuecomment-1001105278


   i read release0.7.1 description showing close issue "Different java versions for mvnd and maven #512" , the issue suggest that we can use JDK11 runtime for all and set the --release 8 which produces JDK8 compatible code., such as,
    mvnd -Dmaven.compiler.release=8 compile.
   
   as well as , the issue say that the mvnd needs at minimum JDK8 to run......maybe mvnd can run in jdk8 and we need to build mvnd from source in jdk 8 in order to get executable file, which we can see readme .
   
    more: https://github.com/apache/maven-mvnd/issues/512


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [maven-mvnd] coderYii removed a comment on issue #544: jdk 1.8 exception

Posted by GitBox <gi...@apache.org>.
coderYii removed a comment on issue #544:
URL: https://github.com/apache/maven-mvnd/issues/544#issuecomment-1001358176


   [Build mvnd](https://github.com/apache/maven-mvnd#build-mvnd)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [maven-mvnd] kimvon edited a comment on issue #544: jdk 1.8 exception

Posted by GitBox <gi...@apache.org>.
kimvon edited a comment on issue #544:
URL: https://github.com/apache/maven-mvnd/issues/544#issuecomment-1001105278


   i read release0.7.1 description showing close issue "Different java versions for mvnd and maven #512" , the issue suggest that we can use JDK11 runtime for all and set the --release 8 which produces JDK8 compatible code, such as,
    mvnd -Dmaven.compiler.release=8 compile.
   
   as well as , the issue say that the mvnd needs at minimum JDK8 to run......maybe mvnd can run in jdk8 and you need to build mvnd from source in jdk 8 in order to get executable file, which you can see readme .
   
    more: https://github.com/apache/maven-mvnd/issues/512


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [maven-mvnd] gnodet commented on issue #544: jdk 1.8 exception

Posted by GitBox <gi...@apache.org>.
gnodet commented on issue #544:
URL: https://github.com/apache/maven-mvnd/issues/544#issuecomment-1007318503


   You need to use the `mvnd` compiled to native instead of `mvnd.sh`, as the java client requires JDK 11.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [maven-mvnd] gnodet commented on issue #544: jdk 1.8 exception

Posted by GitBox <gi...@apache.org>.
gnodet commented on issue #544:
URL: https://github.com/apache/maven-mvnd/issues/544#issuecomment-1007318503


   You need to use the `mvnd` compiled to native instead of `mvnd.sh`, as the java client requires JDK 11.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [maven-mvnd] kimvon edited a comment on issue #544: jdk 1.8 exception

Posted by GitBox <gi...@apache.org>.
kimvon edited a comment on issue #544:
URL: https://github.com/apache/maven-mvnd/issues/544#issuecomment-1001105278


   i read release0.7.1 description showing close issue "Different java versions for mvnd and maven #512" , the issue suggest that we can use JDK11 runtime for all and set the --release 8 which produces JDK8 compatible code., such as,
    mvnd -Dmaven.compiler.release=8 compile.
   
   as well as , the issue say that the mvnd needs at minimum JDK8 to run......maybe mvnd can run in jdk8 and you need to build mvnd from source in jdk 8 in order to get executable file, which you can see readme .
   
    more: https://github.com/apache/maven-mvnd/issues/512


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [maven-mvnd] gnodet closed issue #544: jdk 1.8 exception

Posted by GitBox <gi...@apache.org>.
gnodet closed issue #544:
URL: https://github.com/apache/maven-mvnd/issues/544


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org