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/01/07 10:35:00 UTC
[GitHub] [maven-mvnd] ToDropBombs opened a new issue #571: windows11 and mvnd-0.7.1 and JDK 11.0.2
ToDropBombs opened a new issue #571:
URL: https://github.com/apache/maven-mvnd/issues/571
mvnd -v
Failed to load native library:jansi-2.4.0-16c474bda59fea77-jansi.dll. osinfo: Windows/x86_64
java.lang.UnsatisfiedLinkError: Can't load library: C:\Users\??\AppData\Local\Temp\jansi-2.4.0-16c474bda59fea77-jansi.dll
Exception in thread "main" java.lang.UnsatisfiedLinkError: org.fusesource.jansi.internal.CLibrary.isatty(I)I [symbol: Java_org_fusesource_jansi_internal_CLibrary_isatty or Java_org_fusesource_jansi_internal_CLibrary_isatty__I]
at com.oracle.svm.jni.access.JNINativeLinkage.getOrFindEntryPoint(JNINativeLinkage.java:153)
at com.oracle.svm.jni.JNIGeneratedMethodSupport.nativeCallAddress(JNIGeneratedMethodSupport.java:57)
at org.fusesource.jansi.internal.CLibrary.isatty(CLibrary.java)
at org.mvndaemon.mvnd.client.DefaultClient.main(DefaultClient.java:92)
java -version:
openjdk version "11.0.2" 2019-01-15
OpenJDK Runtime Environment 18.9 (build 11.0.2+9)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)
D:\mvnd-0.7.1-windows-amd64\conf\mvnd.properties :
detail:
java.home=C:\\Program Files\\jdk-11.0.2
maven.settings=D:\\apache-maven-3.6.1\\conf\\settings.xml
How should we deal with it?
--
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] 18311836573 commented on issue #571: windows11 and mvnd-0.7.1 and JDK 11.0.2
Posted by GitBox <gi...@apache.org>.
18311836573 commented on issue #571:
URL: https://github.com/apache/maven-mvnd/issues/571#issuecomment-1031130688
I have the same problem,run `java -jar D:\mvnd-0.7.1-windows-amd64\mvn\lib\ext\jansi-2.4.0.jar` That's the same output
--
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] ToDropBombs removed a comment on issue #571: Failed to load native library on Windows with a Chinese user name
Posted by GitBox <gi...@apache.org>.
ToDropBombs removed a comment on issue #571:
URL: https://github.com/apache/maven-mvnd/issues/571#issuecomment-1031130865
这是来自QQ邮箱的假期自动回复邮件。
您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
--
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] ToDropBombs commented on issue #571: windows11 and mvnd-0.7.1 and JDK 11.0.2
Posted by GitBox <gi...@apache.org>.
ToDropBombs commented on issue #571:
URL: https://github.com/apache/maven-mvnd/issues/571#issuecomment-1007310942
这是来自QQ邮箱的假期自动回复邮件。
您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
--
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] ToDropBombs commented on issue #571: windows11 and mvnd-0.7.1 and JDK 11.0.2
Posted by GitBox <gi...@apache.org>.
ToDropBombs commented on issue #571:
URL: https://github.com/apache/maven-mvnd/issues/571#issuecomment-1031130865
这是来自QQ邮箱的假期自动回复邮件。
您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
--
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] 710850609 commented on issue #571: windows11 and mvnd-0.7.1 and JDK 11.0.2
Posted by GitBox <gi...@apache.org>.
710850609 commented on issue #571:
URL: https://github.com/apache/maven-mvnd/issues/571#issuecomment-1011816925
> This is very weird as your first report indicates the jansi library cannot be loaded or does not find the `isatty` function, but the second indicates that it works. The `mvnd` invocation always fail and the `jansi` call always work or does it depend on the terminal used (cmd, powershell, git bash, ... )?
I found that the mvnd.exe startup did not recognize the path containing Chinese.
Use mvnd. CMD to start normally
I now use the scheme: rename mvnd.exe (CMD command will identify the MVND command execution file according to the environment variable as mvnd.cmd)
--
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] ToDropBombs commented on issue #571: windows11 and mvnd-0.7.1 and JDK 11.0.2
Posted by GitBox <gi...@apache.org>.
ToDropBombs commented on issue #571:
URL: https://github.com/apache/maven-mvnd/issues/571#issuecomment-1007310942
这是来自QQ邮箱的假期自动回复邮件。
您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
--
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 edited a comment on issue #571: windows11 and mvnd-0.7.1 and JDK 11.0.2
Posted by GitBox <gi...@apache.org>.
gnodet edited a comment on issue #571:
URL: https://github.com/apache/maven-mvnd/issues/571#issuecomment-1008594473
This is very weird as your first report indicates the jansi library cannot be loaded or does not find the `isatty` function, but the second indicates that it works. The `mvnd` invocation always fail and the `jansi` call always work or does it depend on the terminal used (cmd, powershell, git bash, ... )?
--
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 #571: windows11 and mvnd-0.7.1 and JDK 11.0.2
Posted by GitBox <gi...@apache.org>.
gnodet commented on issue #571:
URL: https://github.com/apache/maven-mvnd/issues/571#issuecomment-1008594473
This is very weird as your first report indicates the jansi library cannot be loaded or does not find the `isatty` function, but the second indicates that it works. The `mvnd` invocation always fail and the `jansi` call always work or does it depend on the terminal used (cmd, powershelgl, git bash, ... )?
--
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] 710850609 edited a comment on issue #571: windows11 and mvnd-0.7.1 and JDK 11.0.2
Posted by GitBox <gi...@apache.org>.
710850609 edited a comment on issue #571:
URL: https://github.com/apache/maven-mvnd/issues/571#issuecomment-1011816925
> This is very weird as your first report indicates the jansi library cannot be loaded or does not find the `isatty` function, but the second indicates that it works. The `mvnd` invocation always fail and the `jansi` call always work or does it depend on the terminal used (cmd, powershell, git bash, ... )?
I found that the path containing Chinese was not recognized when `mvnd.exe` started.
`mvnd.cmd` can be used normally.
The scenario I'm using now is to rename `mvnd.exe` to another name (the CMD command will identify the `mvnd` command execution file as `mvnd.exe` based on the environment variable)
--
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 edited a comment on issue #571: windows11 and mvnd-0.7.1 and JDK 11.0.2
Posted by GitBox <gi...@apache.org>.
gnodet edited a comment on issue #571:
URL: https://github.com/apache/maven-mvnd/issues/571#issuecomment-1011862265
> > This is very weird as your first report indicates the jansi library cannot be loaded or does not find the `isatty` function, but the second indicates that it works. The `mvnd` invocation always fail and the `jansi` call always work or does it depend on the terminal used (cmd, powershell, git bash, ... )?
>
> I found that the path containing Chinese was not recognized when `mvnd.exe` started. `mvnd.cmd` can be used normally.
>
> The scenario I'm using now is to rename `mvnd.exe` to another name (the CMD command will identify the `mvnd` command execution file as `mvnd.exe` based on the environment variable)
So the problem is when the `mvnd.exe` is in a directory which contains Chinese characters or when the `pom.xml` is in a directory which contains Chinese characters ?
It would bench to be able to reproduce the problem.
--
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 #571: Failed to load native library on Windows with a Chinese user name
Posted by GitBox <gi...@apache.org>.
gnodet commented on issue #571:
URL: https://github.com/apache/maven-mvnd/issues/571#issuecomment-1047014411
Looks like it's caused by https://github.com/adoptium/temurin-build/issues/1496 and has been fixed with https://bugs.openjdk.java.net/browse/JDK-8240823 in JDK 11.0.8
Please upgrade the JDK.
--
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 #571: Failed to load native library on Windows with a Chinese user name
Posted by GitBox <gi...@apache.org>.
gnodet closed issue #571:
URL: https://github.com/apache/maven-mvnd/issues/571
--
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] 710850609 edited a comment on issue #571: windows11 and mvnd-0.7.1 and JDK 11.0.2
Posted by GitBox <gi...@apache.org>.
710850609 edited a comment on issue #571:
URL: https://github.com/apache/maven-mvnd/issues/571#issuecomment-1011816925
> This is very weird as your first report indicates the jansi library cannot be loaded or does not find the `isatty` function, but the second indicates that it works. The `mvnd` invocation always fail and the `jansi` call always work or does it depend on the terminal used (cmd, powershell, git bash, ... )?
I found that the path containing Chinese was not recognized when `mvnd.exe` started.
`mvnd.cmd` can be used normally.
The scenario I'm using now is to rename `mvnd.exe` to another name (the CMD command will identify the `mvnd` command execution file as `mvnd.exe` based on the environment variable. CMD)
--
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 #571: windows11 and mvnd-0.7.1 and JDK 11.0.2
Posted by GitBox <gi...@apache.org>.
gnodet commented on issue #571:
URL: https://github.com/apache/maven-mvnd/issues/571#issuecomment-1007310717
Could you run `java -jar D:\mvnd-0.7.1-windows-amd64\mvn\lib\ext\jansi-2.4.0.jar` and report the output ?
--
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] ToDropBombs edited a comment on issue #571: windows11 and mvnd-0.7.1 and JDK 11.0.2
Posted by GitBox <gi...@apache.org>.
ToDropBombs edited a comment on issue #571:
URL: https://github.com/apache/maven-mvnd/issues/571#issuecomment-1007310942
这是来自QQ邮箱的假期自动回复邮件。
您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
--
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] ToDropBombs edited a comment on issue #571: Failed to load native library on Windows with a Chinese user name
Posted by GitBox <gi...@apache.org>.
ToDropBombs edited a comment on issue #571:
URL: https://github.com/apache/maven-mvnd/issues/571#issuecomment-1008484050
```
PS D:\> java -jar D:\mvnd-0.7.1-windows-amd64\mvn\lib\ext\jansi-2.4.0.jar
Jansi 2.4.0
library.jansi.path=
library.jansi.version=
Jansi native library loaded from C:\Users\大米\AppData\Local\Temp\jansi-2.4.0-4ad7fea7eb28539c-jansi.dll
which was auto-extracted from jar:file:/D:/mvnd-0.7.1-windows-amd64/mvn/lib/ext/jansi-2.4.0.jar!/org/fusesource/jansi/internal/native/Windows/x86_64/jansi.dll
os.name= Windows 10, os.version= 10.0, os.arch= amd64
file.encoding= GBK
java.version= 11.0.2, java.vendor= Oracle Corporation, java.home= C:\Program Files\jdk-11.0.2
jansi.graceful=
jansi.mode=
jansi.out.mode=
jansi.err.mode=
jansi.colors=
jansi.out.colors=
jansi.err.colors=
jansi.passthrough= false
jansi.strip= false
jansi.force= false
jansi.noreset= false
org.fusesource.jansi.Ansi.disable= false
IS_WINDOWS: true
IS_CONEMU: false
IS_CYGWIN: false
IS_MSYSTEM: false
isatty(STDOUT_FILENO): 1, System.out is a terminal
isatty(STDERR_FILENO): 1, System.err is a terminal
Resulting Jansi modes for stout/stderr streams:
- System.out: AnsiPrintStream{type=VirtualTerminal, colors=Colors16, mode=Default, resetAtUninstall=true}
- System.err: AnsiPrintStream{type=VirtualTerminal, colors=Colors16, mode=Default, resetAtUninstall=true}
Processor types description:
- Native: Supports ansi sequences natively
- Unsupported: Ansi sequences are stripped out
- VirtualTerminal: Supported through windows virtual terminal
- Emulation: Emulated through using windows API console commands
- Redirected: The stream is redirected to a file or a pipe
Colors support description:
- Colors16: 16 colors
- Colors256: 256 colors
- TrueColor: 24-bit colors
Modes description:
- Strip: Strip all ansi sequences
- Default: Print ansi sequences if the stream is a terminal
- Force: Always print ansi sequences, even if the stream is redirected
test on System.out: BLACK RED GREEN YELLOW BLUE MAGENTA CYAN WHITE DEFAULT
bright: BLACK RED GREEN YELLOW BLUE MAGENTA CYAN WHITE DEFAULT
bold: BLACK RED GREEN YELLOW BLUE MAGENTA CYAN WHITE DEFAULT
faint: BLACK RED GREEN YELLOW BLUE MAGENTA CYAN WHITE DEFAULT
bold+faint: BLACK RED GREEN YELLOW BLUE MAGENTA CYAN WHITE DEFAULT
256 colors:
truecolor: /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
/\/\/\/\/\/\/\/\
test on System.err: BLACK RED GREEN YELLOW BLUE MAGENTA CYAN WHITE DEFAULT
bright: BLACK RED GREEN YELLOW BLUE MAGENTA CYAN WHITE DEFAULT
bold: BLACK RED GREEN YELLOW BLUE MAGENTA CYAN WHITE DEFAULT
faint: BLACK RED GREEN YELLOW BLUE MAGENTA CYAN WHITE DEFAULT
bold+faint: BLACK RED GREEN YELLOW BLUE MAGENTA CYAN WHITE DEFAULT
256 colors:
truecolor: /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
/\/\/\/\/\/\/\/\
┌──┐┌─────┐ ┌─────┐ ┌──────┬──┐
│██├┘█████└┬┘█████└┬┘██████│?▌│
┌──┐ │██│██▄▄▄██│██┌─┐██│██▄▄▄▄ │▄▄│
│??└─┘?█│?█┌─┐?█│?█│ │?█│ ?????█│?█│
└┐▓▓▓▓▓┌┤▓▓│ │▓▓│▓▓│ │▓▓│?▓▓▓▓▓?│▓▓│
└─────┘└──┘ └──┴──┘ └──┴───────┴──┘
```
> Could you run `java -jar D:\mvnd-0.7.1-windows-amd64\mvn\lib\ext\jansi-2.4.0.jar` and report the output ?
--
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 #571: windows11 and mvnd-0.7.1 and JDK 11.0.2
Posted by GitBox <gi...@apache.org>.
gnodet commented on issue #571:
URL: https://github.com/apache/maven-mvnd/issues/571#issuecomment-1007310717
Could you run `java -jar D:\mvnd-0.7.1-windows-amd64\mvn\lib\ext\jansi-2.4.0.jar` and report the output ?
--
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] 710850609 edited a comment on issue #571: windows11 and mvnd-0.7.1 and JDK 11.0.2
Posted by GitBox <gi...@apache.org>.
710850609 edited a comment on issue #571:
URL: https://github.com/apache/maven-mvnd/issues/571#issuecomment-1011816925
> This is very weird as your first report indicates the jansi library cannot be loaded or does not find the `isatty` function, but the second indicates that it works. The `mvnd` invocation always fail and the `jansi` call always work or does it depend on the terminal used (cmd, powershell, git bash, ... )?
I found that the mvnd.exe startup did not recognize the path containing Chinese.
Use mvnd.cmd to start normally
I now use the scheme: rename mvnd.exe (CMD command will identify the MVND command execution file according to the environment variable as mvnd.cmd)
--
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 #571: windows11 and mvnd-0.7.1 and JDK 11.0.2
Posted by GitBox <gi...@apache.org>.
gnodet commented on issue #571:
URL: https://github.com/apache/maven-mvnd/issues/571#issuecomment-1011862265
> > This is very weird as your first report indicates the jansi library cannot be loaded or does not find the `isatty` function, but the second indicates that it works. The `mvnd` invocation always fail and the `jansi` call always work or does it depend on the terminal used (cmd, powershell, git bash, ... )?
>
> I found that the path containing Chinese was not recognized when `mvnd.exe` started. `mvnd.cmd` can be used normally.
>
> The scenario I'm using now is to rename `mvnd.exe` to another name (the CMD command will identify the `mvnd` command execution file as `mvnd.exe` based on the environment variable)
So the problem is when the `mvnd.exe` is in a directory which contains Chinese characters or when the `pom.xml` is in a directory which contains Chinese characters ?
--
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] ToDropBombs closed issue #571: windows11 and mvnd-0.7.1 and JDK 11.0.2
Posted by GitBox <gi...@apache.org>.
ToDropBombs closed issue #571:
URL: https://github.com/apache/maven-mvnd/issues/571
--
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] ToDropBombs edited a comment on issue #571: windows11 and mvnd-0.7.1 and JDK 11.0.2
Posted by GitBox <gi...@apache.org>.
ToDropBombs edited a comment on issue #571:
URL: https://github.com/apache/maven-mvnd/issues/571#issuecomment-1007310942
这是来自QQ邮箱的假期自动回复邮件。
您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
--
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] ToDropBombs commented on issue #571: windows11 and mvnd-0.7.1 and JDK 11.0.2
Posted by GitBox <gi...@apache.org>.
ToDropBombs commented on issue #571:
URL: https://github.com/apache/maven-mvnd/issues/571#issuecomment-1008484050
PS D:\> java -jar D:\mvnd-0.7.1-windows-amd64\mvn\lib\ext\jansi-2.4.0.jar
Jansi 2.4.0
library.jansi.path=
library.jansi.version=
Jansi native library loaded from C:\Users\大米\AppData\Local\Temp\jansi-2.4.0-4ad7fea7eb28539c-jansi.dll
which was auto-extracted from jar:file:/D:/mvnd-0.7.1-windows-amd64/mvn/lib/ext/jansi-2.4.0.jar!/org/fusesource/jansi/internal/native/Windows/x86_64/jansi.dll
os.name= Windows 10, os.version= 10.0, os.arch= amd64
file.encoding= GBK
java.version= 11.0.2, java.vendor= Oracle Corporation, java.home= C:\Program Files\jdk-11.0.2
jansi.graceful=
jansi.mode=
jansi.out.mode=
jansi.err.mode=
jansi.colors=
jansi.out.colors=
jansi.err.colors=
jansi.passthrough= false
jansi.strip= false
jansi.force= false
jansi.noreset= false
org.fusesource.jansi.Ansi.disable= false
IS_WINDOWS: true
IS_CONEMU: false
IS_CYGWIN: false
IS_MSYSTEM: false
isatty(STDOUT_FILENO): 1, System.out is a terminal
isatty(STDERR_FILENO): 1, System.err is a terminal
Resulting Jansi modes for stout/stderr streams:
- System.out: AnsiPrintStream{type=VirtualTerminal, colors=Colors16, mode=Default, resetAtUninstall=true}
- System.err: AnsiPrintStream{type=VirtualTerminal, colors=Colors16, mode=Default, resetAtUninstall=true}
Processor types description:
- Native: Supports ansi sequences natively
- Unsupported: Ansi sequences are stripped out
- VirtualTerminal: Supported through windows virtual terminal
- Emulation: Emulated through using windows API console commands
- Redirected: The stream is redirected to a file or a pipe
Colors support description:
- Colors16: 16 colors
- Colors256: 256 colors
- TrueColor: 24-bit colors
Modes description:
- Strip: Strip all ansi sequences
- Default: Print ansi sequences if the stream is a terminal
- Force: Always print ansi sequences, even if the stream is redirected
test on System.out: BLACK RED GREEN YELLOW BLUE MAGENTA CYAN WHITE DEFAULT
bright: BLACK RED GREEN YELLOW BLUE MAGENTA CYAN WHITE DEFAULT
bold: BLACK RED GREEN YELLOW BLUE MAGENTA CYAN WHITE DEFAULT
faint: BLACK RED GREEN YELLOW BLUE MAGENTA CYAN WHITE DEFAULT
bold+faint: BLACK RED GREEN YELLOW BLUE MAGENTA CYAN WHITE DEFAULT
256 colors:
truecolor: /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
/\/\/\/\/\/\/\/\
test on System.err: BLACK RED GREEN YELLOW BLUE MAGENTA CYAN WHITE DEFAULT
bright: BLACK RED GREEN YELLOW BLUE MAGENTA CYAN WHITE DEFAULT
bold: BLACK RED GREEN YELLOW BLUE MAGENTA CYAN WHITE DEFAULT
faint: BLACK RED GREEN YELLOW BLUE MAGENTA CYAN WHITE DEFAULT
bold+faint: BLACK RED GREEN YELLOW BLUE MAGENTA CYAN WHITE DEFAULT
256 colors:
truecolor: /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
/\/\/\/\/\/\/\/\
┌──┐┌─────┐ ┌─────┐ ┌──────┬──┐
│██├┘█████└┬┘█████└┬┘██████│?▌│
┌──┐ │██│██▄▄▄██│██┌─┐██│██▄▄▄▄ │▄▄│
│??└─┘?█│?█┌─┐?█│?█│ │?█│ ?????█│?█│
└┐▓▓▓▓▓┌┤▓▓│ │▓▓│▓▓│ │▓▓│?▓▓▓▓▓?│▓▓│
└─────┘└──┘ └──┴──┘ └──┴───────┴──┘
> Could you run `java -jar D:\mvnd-0.7.1-windows-amd64\mvn\lib\ext\jansi-2.4.0.jar` and report the output ?
--
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 edited a comment on issue #571: windows11 and mvnd-0.7.1 and JDK 11.0.2
Posted by GitBox <gi...@apache.org>.
gnodet edited a comment on issue #571:
URL: https://github.com/apache/maven-mvnd/issues/571#issuecomment-1011862265
> > This is very weird as your first report indicates the jansi library cannot be loaded or does not find the `isatty` function, but the second indicates that it works. The `mvnd` invocation always fail and the `jansi` call always work or does it depend on the terminal used (cmd, powershell, git bash, ... )?
>
> I found that the path containing Chinese was not recognized when `mvnd.exe` started. `mvnd.cmd` can be used normally.
>
> The scenario I'm using now is to rename `mvnd.exe` to another name (the CMD command will identify the `mvnd` command execution file as `mvnd.exe` based on the environment variable)
So the problem is when the `mvnd.exe` is in a directory which contains Chinese characters or when the `pom.xml` is in a directory which contains Chinese characters ?
It would be nice to be able to reproduce the problem.
--
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] 710850609 commented on issue #571: windows11 and mvnd-0.7.1 and JDK 11.0.2
Posted by GitBox <gi...@apache.org>.
710850609 commented on issue #571:
URL: https://github.com/apache/maven-mvnd/issues/571#issuecomment-1011982799
> > > This is very weird as your first report indicates the jansi library cannot be loaded or does not find the `isatty` function, but the second indicates that it works. The `mvnd` invocation always fail and the `jansi` call always work or does it depend on the terminal used (cmd, powershell, git bash, ... )?
> >
> >
> > I found that the path containing Chinese was not recognized when `mvnd.exe` started. `mvnd.cmd` can be used normally.
> > The scenario I'm using now is to rename `mvnd.exe` to another name (the CMD command will identify the `mvnd` command execution file as `mvnd.exe` based on the environment variable)
>
> So the problem is when the `mvnd.exe` is in a directory which contains Chinese characters or when the `pom.xml` is in a directory which contains Chinese characters ?
>
> It would be nice to be able to reproduce the problem.
> > > This is very weird as your first report indicates the jansi library cannot be loaded or does not find the `isatty` function, but the second indicates that it works. The `mvnd` invocation always fail and the `jansi` call always work or does it depend on the terminal used (cmd, powershell, git bash, ... )?
> >
> >
> > I found that the path containing Chinese was not recognized when `mvnd.exe` started. `mvnd.cmd` can be used normally.
> > The scenario I'm using now is to rename `mvnd.exe` to another name (the CMD command will identify the `mvnd` command execution file as `mvnd.exe` based on the environment variable)
>
> So the problem is when the `mvnd.exe` is in a directory which contains Chinese characters or when the `pom.xml` is in a directory which contains Chinese characters ?
>
> It would be nice to be able to reproduce the problem.
Reproducible conditions are:
The Window OS login user name is in Chinese
--
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