That’s the standard install location on Windows.  If it doesn’t work with 
NetBeans it would be broken for most people on Windows.

Scott

> On Aug 4, 2021, at 2:02 PM, Geertjan Wielenga 
> <[email protected]> wrote:
> 
> Maybe connected to installing in a dir with spaces, i.e., C:\Program 
> Files\Java\jdk-16.0.2\bin\java.exe
> 
> Gj
> 
> On Wed, Aug 4, 2021 at 6:41 PM Benjamin Neuman <[email protected] 
> <mailto:[email protected]>> wrote:
> Hey Peter, 
> That's an odd one. Is the C:\netbeans\java\maven\bin\mvn.cmd executable?
> 
> On Sun, Aug 1, 2021 at 7:53 PM Peter Zimmermann <[email protected] 
> <mailto:[email protected]>> wrote:
> Hi NetBeans users,
> 
>  Although I have significant programming experience I’m new to NetBeans and 
> Java and I’m having trouble getting the simplest “Hello World” program to 
> run. I keep getting the message shown below:
> 
>  
> 
> Cannot run program "cmd" (in directory 
> "C:\Users\User\OneDrive\Documents\NetBeansProjects\HelloWorldApp"): Malformed 
> argument has embedded quote: "C:\netbeans\java\maven\bin\mvn.cmd" 
> -Dexec.args="-classpath %classpath com.mycompany.helloworldapp.Main" 
> -Dexec.executable="C:\Program Files\Java\jdk-16.0.2\bin\java.exe" 
> -Dmaven.ext.class.path=C:\netbeans\java\maven-nblib\netbeans-eventspy.jar 
> -Dfile.encoding=UTF-8 process-classes 
> org.codehaus.mojo:exec-maven-plugin:1.5.0:exec
> 
>  
> 
> I’m sure it’s something simple , any help would be appreciated.
> 
>  
> 
> [email protected] <mailto:[email protected]>
>  
> 
>  
> 
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
> 
>  
> 
> --------------------------------------------------------------------- To 
> unsubscribe, e-mail: [email protected] 
> <mailto:[email protected]> For additional commands, 
> e-mail: [email protected] 
> <mailto:[email protected]> For further information about the 
> NetBeans mailing lists, visit: 
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists 
> <https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>

Reply via email to