I’m developing a web application using Maven and Angular, and I’m trying to run it on a Windows machine. However, when I attempt to start the application, I encounter the following error message:
This app can’t run on your PC
To find a version for your PC, check with the software publisher.
the project {thingsboard} using Maven and the error occurs when I try to execute an .exe generated in the build process. Here’s a brief overview of what I was doing when this error appeared:
Running Maven build commands.
Executing the generated .exe file in the target directory.
Here are the specifications of my development environment:
OS: Windows 11
Node.js version: v20.12.2
Maven version: Apache Maven 3.9.6
Java version: 11.0.22
I have tried the following troubleshooting steps:
Running the application as an administrator.
Ensuring my PATH environment variable is set correctly.
Could someone help me understand why this error is occurring and how to fix it?
Hamza Boukbir is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.