Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with the native client running in Cygwin #156

Closed
gnodet opened this issue Oct 26, 2020 · 1 comment
Closed

Problem with the native client running in Cygwin #156

gnodet opened this issue Oct 26, 2020 · 1 comment
Labels
bug Something isn't working windows
Milestone

Comments

@gnodet
Copy link
Contributor

gnodet commented Oct 26, 2020

gnodet@GUILLAUMENO0AC9 /cygdrive/c/Users/gnodet/mvnd
$ /cygdrive/c/mvnd-0.0.11-SNAPSHOT-windows-amd64/bin/mvnd.exe -v
Maven Daemon 0.0.11-SNAPSHOT-windows-amd64 (native)
Terminal: org.jline.terminal.impl.jansi.win.JansiWinSysTerminal
Exception in thread "main" java.lang.RuntimeException: Could not get a real path from path \cygdrive\c\graalvm-ce-java11-20.2.0
        at org.jboss.fuse.mvnd.common.Environment.findJavaHome(Environment.java:107)
        at org.jboss.fuse.mvnd.client.ClientLayout.getEnvInstance(ClientLayout.java:100)
        at org.jboss.fuse.mvnd.client.DefaultClient.execute(DefaultClient.java:150)
        at org.jboss.fuse.mvnd.client.DefaultClient.main(DefaultClient.java:74)
@gnodet gnodet added bug Something isn't working windows labels Oct 26, 2020
@gnodet
Copy link
Contributor Author

gnodet commented Oct 27, 2020

I think we need to have the equivalent in native mode to the line https://github.com/mvndaemon/mvnd/blob/8f322e7b0ba05dfd7e8037fcb8e0ced58f7a21ce/dist/src/main/distro/bin/mvnd.sh#L114

gnodet added a commit to gnodet/mvnd that referenced this issue Oct 29, 2020
gnodet added a commit to gnodet/mvnd that referenced this issue Oct 29, 2020
@gnodet gnodet closed this as completed in 6541d85 Oct 29, 2020
gnodet added a commit that referenced this issue Oct 29, 2020
@ppalaga ppalaga added this to the 0.0.11 milestone Oct 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working windows
Projects
None yet
Development

No branches or pull requests

2 participants