Symtom:
Cannot run program "cmd" (in directory XXXX ) when build program Maven
Solution:
No need to downgrade the JDK, just add this in your netbeans.conf
Find your netbeans.conf
file. e.g.: netbeansIstallDir/etc/netbeans.conf
Find the key netbeans_default_options and at the start of the string add the following: -J-Djdk.lang.Process.allowAmbiguousCommands=true
It should look like this:
netbeans_default_options="-J-Djdk.lang.Process.allowAmbiguousCommands=true..."
https://stackoverflow.com/questions/58445540/netbeans-9-10-11-cannot-run-program-cmd
When install SQL Server, you forget to enable sa account. Follow this link to enable sa account
https://sudeeptaganguly.wordpress.com/2010/04/20/how-to-enable-sa-account-in-sql-server/
Keyword: SQL, JDBC
Error message: The TCP/IP connection to the host localhost, port 1433 has failed. Error: "connect timed out. Verify the connection properties
Check this link and update Port Have you enabled 'Named Pipes' and 'TCP/IP'?
- Open the 'Sql Server Configuration' application.
- In the left pane, go to 'SQL Server Network Configuration' -> 'Protocols for [instance-name]'
- Right-click on both 'Named Pipes' and 'TCP/IP' and select 'enable'.
Have you used the correct port?
- Double-click on 'TCP/IP'
- Select 'IP Addresses' tab
- Scroll to IPAII. Your port number is here. Should be 1433
- Restart the 'SQL Server ([instance-name])' windows service.
** If you use many instances od MS SQL SEVER** Make sure the SQL Server Browser windows service is running
Read this link if you use many instance https://stackoverflow.com/questions/12523865/jdbc-simple-mssql-connection-example-not-working