-
Notifications
You must be signed in to change notification settings - Fork 213
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
Warning "Unable to create a system terminal" when running maven daemon #36
Comments
It's probably the library |
As lazy as I am to start my Windows VM, @Dunemaster could you please check if the problem still exists with the freshly released mvnd 0.0.6? https://github.com/mvndaemon/mvnd/releases/tag/0.0.6 |
@ppalaga it fails with Windows Defender warning C:\Users\Катя и Вася>mvnd Exception in thread "main" org.jboss.fuse.mvnd.common.DaemonException$StartException: Error starting daemon: uid = 4bdad8b1-6390-4921-b3f0-33535d77560a, workingDir = C:\Users???? ? ????, daemonArgs: "C:\Program Files\BellSoft\LibericaJDK-11\bin\java.exe" -classpath "E:\mvnd\lib\ext\mvnd-common-0.0.6.jar" -Dmvnd.home="E:\mvnd" -Dmvnd.java.home="C:\Program Files\BellSoft\LibericaJDK-11" -Dlogback.configurationFile="E:\mvnd\conf\logging\logback.xml" -Ddaemon.uid=4bdad8b1-6390-4921-b3f0-33535d77560a -Xmx4g org.jboss.fuse.mvnd.common.ServerMain |
"Ошибка выполнения Microsoft VBScript: Этот сценарий содержит вредоносное содержимое и был заблокирован антивирусным программным обеспечением" means "Microsoft VBScript error: this scripte contains malicious content and has been blocked by antivirus software" |
I think the whole |
Using Java 9's ProcessHandle sounds doable. We already use that class in the client. So it would not change the current Java compatibility. Java 11 is required for building the client, but at runtime the native client is Java-agnostic and the server requires Java 8 only. |
That would be even easier. I started adding support for |
Replace the jpm library with the jdk ProcessHandle interface, #36
FWIW, I am having the same problem in Git Bash (on Windows) with Btw, I am not seeing the "Improved console output" when building Quarkus. Is this due to the "dumb terminal"? |
@famod could you run with the |
I'll test tomorrow if this helps #117 |
Will do later this week.
Well, not at all messy, I just don't see "the status of each build thread on a separate line" (quoted from README). PS: Now that I read "jansi":
https://lists.apache.org/thread.html/r8ea8d63add48508743dcda781928a56032f857279bf520734d41e4b8%40%3Cusers.maven.apache.org%3E |
First few lines:
Doesn't look very helpful, or does it? |
It does not. I do think the problems comes from the native libraries, so we need to sort that first. |
|
Fixed by 433d414 |
Fix confirmed, thanks! |
Releases 0.0.0
Windows 10
Running any command produces a warning, regardlerss the command succeeds or not
For example:
E:\dev\g5rt\runtime>"E:\Program Files\mvnd\mvnd-windows-amd64" --status
Jun 29, 2020 3:10:51 PM org.jline.utils.Log logr
WARNING: Unable to create a system terminal, creating a dumb terminal (enable debug logging for more information)
UUID PID Port Status Last activity
The text was updated successfully, but these errors were encountered: