mayd opened a new issue, #4926:
URL: https://github.com/apache/netbeans/issues/4926

   ### Apache NetBeans version
   
   Apache NetBeans 15
   
   ### What happened
   
   I installed NetBeans and JDK for Windows. 
   
   Then I installed and configured the build tools for the MSYS2 64 bit MINGW 
C++ toolchain.
   
   I created a C++ project from the supplied template CppApplication_1. 
   
   Building this C++ project failed.  I also tried building an existing MSYS2 
C++ project, which also failed.
   
   In both cases an error dialog box was displayed stating that no shell was 
found.
   
   
   ### How to reproduce
   
   Install NetBeans 15 and Oracle JDK 8 for Windows 11 and plugins for C++ 
programming, MSYS2 64 bit MINGW C++ toolchain.
   Create a C++ project using the default template CppApplication.
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Windows 11 Insider Build
   
   ### JDK
   
   Oracle JDK version 8, update 351
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer
   
   ### Anything else
   
   I configured the Windows environment variables in the System control panel 
to add the directory
   C:\msys64\usr\bin to the PATH variable, since the MSYS2 Bourne and Bash 
shells are installed in that directory.
   
   After this change both C++ projects were built successfully.
   
   This problem could be eliminated if the shell could set in Netbeans 
configuration of the C++ build tools,
   as is done with the setting of the location of the Make executable.
   
   Also obtaining the location of the shell from the Windows environment PATH 
variable is inherently unreliable.
   
   ### Are you willing to submit a pull request?
   
   No
   
   ### Code of Conduct
   
   Yes


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to