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 2022/07/31 06:09:52 UTC

[GitHub] [maven-mvnd] gzm55 opened a new issue, #669: runtime jdk requirement of java client (via mvnd.sh) should be aligned to JDK8

gzm55 opened a new issue, #669:
URL: https://github.com/apache/maven-mvnd/issues/669

   Now java client (via `mvnd.sh`) requires JDK11, different with native `mvnd` and the embedded maven 3.8.5. This makes the user surprising in some production environments.
   
   - Native `mvnd`: requires JDK8
   - maven 3.8.5: requires JDK8
   - `mvnd.sh`: requires JDK11 ?


-- 
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.apache.org

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


[GitHub] [maven-mvnd] gnodet closed issue #669: runtime jdk requirement of java client (via mvnd.sh) should be aligned to JDK8

Posted by "gnodet (via GitHub)" <gi...@apache.org>.
gnodet closed issue #669: runtime jdk requirement of java client (via mvnd.sh)  should be aligned to JDK8
URL: https://github.com/apache/maven-mvnd/issues/669


-- 
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] ppalaga commented on issue #669: runtime jdk requirement of java client (via mvnd.sh) should be aligned to JDK8

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

   > * Native `mvnd`: requires JDK8
   
   Well, strictly speaking, `mvnd` is a native executable not requiring any JRE to run. A VM (called Substrate) is embedded. The daemon started by that executable is fine with Java 8.
   
   > * maven 3.8.5: requires JDK8
   > * `mvnd.sh`: requires JDK11 ?
   
   Yes, this is by design. The client requires [some features](https://github.com/apache/maven-mvnd/issues/56) not available in Java 8. 
   
   If you are on Mac M1 and you want to overcome this limitation, you may want to compile mvnd yourself following @orpiske 's script https://www.orpiske.net/2022/07/try-apache-maven-daemon/
   
   We actually had a similar question before. Here is a dirty hack I recommended at that time: https://github.com/apache/maven-mvnd/issues/547#issuecomment-1004889625
   


-- 
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 #669: runtime jdk requirement of java client (via mvnd.sh) should be aligned to JDK8

Posted by "gnodet (via GitHub)" <gi...@apache.org>.
gnodet commented on issue #669:
URL: https://github.com/apache/maven-mvnd/issues/669#issuecomment-1401912151

   I think this issue can now be closed with the merge of #717 and #722.


-- 
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] ppalaga commented on issue #669: runtime jdk requirement of java client (via mvnd.sh) should be aligned to JDK8

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

   Maybe we should document the limitation in README.


-- 
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