I found the problem. On my workstation, I had to change the environment variables: from: JAVA_OPTS=-Xmx6g -Xms256m -Xss1024 -Dhttps.protocols=TLSv1.2 -XX:MaxPermSize-256m to: JAVA_OPTS=-Xmx6g -Xms256m -Xss1024k -Dhttps.protocols=TLSv1.2
Interesting that the old string worked with Java 7 and Java 8 Steven M Nelligan From: Anthony DeCarlo <tdeca...@ssi-corp.com> Sent: Thursday, July 29, 2021 11:50 AM To: Nelligan, Steven M <snell...@illinois.edu>; users@netbeans.apache.org Subject: Re: Problem with maven build with Java 11... Steven, Not sure. The error is confusing as it says increase to 180k but you are already giving it 1024k (-Xss1024k). Sorry I couldn't be of any help Tony On 7/29/2021 12:29 PM, Nelligan, Steven M wrote: Anyone have any insight on what could be wrong? Steven M Nelligan From: Nelligan, Steven M <snell...@illinois.edu><mailto:snell...@illinois.edu> Sent: Wednesday, July 28, 2021 1:07 PM To: users@netbeans.apache.org<mailto:users@netbeans.apache.org> Subject: Problem with maven build with Java 11... I am running Netbeans version 12.3 and try to do a Maven build with Java 11. I am getting the following errors: cd C:\dev\projects\FsAimRestApi; "JAVA_HOME=C:\\Program Files\\AdoptOpenJDK\\jdk-11.0.11.9-hotspot" "M2_HOME=C:\\Program Files\\apache-maven-3.6.3" cmd /c "\"C:\\Program Files\\apache-maven-3.6.3\\bin\\mvn.cmd\" -DskipTests=true -Dmaven.ext.class.path=\"C:\\Program Files\\NetBeans-12.3\\netbeans\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 --debug -Xmx6g -Xms256m -Xss1024k -Dhttps.protocols=TLSv1.2 -Djansi.passthourgh=true -PvDev clean install" OpenJDK 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0 The Java thread stack size specified is too small. Specify at least 180k Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. I'm able to build the project from the command line with Maven. Changing the pom file for Java 7 the compile works in Netbeans. Maven version 3.6.3 Global execution options (within Netbeans): -Xmx6g -Xms256m -Xss1024k -Dhttps.protocols=TLSv1.2 -Djansi.passthourgh=true Windows 10 profressional O/S Netbeans 12.3 What do I need to do to get this fixed. Thanks, Steven M Nelligan SENIOR SOFTWARE DEVELOPER Facilities and Services Information Technology Services University of Illinois at Urbana-Champaign Facilities and Services 1501 S. Oak Street | M/C 800 Champaign, IL 61820 217.244.8097 | other: 217.244.8097 | snell...@illinois.edu<mailto:snell...@illinois.edu> www.fs.illinois.edu<http://www.fs.illinois.edu/> [facebook]<https://urldefense.com/v3/__https:/www.facebook.com/UniversityOfIllinoisFacilitiesServices__;!!DZ3fjg!ozCTNdmOyv2ehUm3kfVe0wzVIwJGB2IYbSq0C3TkU8-Jxtql05ebU05e-8nCNdzzzA$> [twitter] <https://urldefense.com/v3/__https:/twitter.com/UofIFS__;!!DZ3fjg!ozCTNdmOyv2ehUm3kfVe0wzVIwJGB2IYbSq0C3TkU8-Jxtql05ebU05e-8n0ZVbW6w$> [instagram] <https://urldefense.com/v3/__https:/www.instagram.com/uofifs/__;!!DZ3fjg!ozCTNdmOyv2ehUm3kfVe0wzVIwJGB2IYbSq0C3TkU8-Jxtql05ebU05e-8k2CdfLZw$> [youtube] <https://urldefense.com/v3/__https:/www.youtube.com/user/UofIFS__;!!DZ3fjg!ozCTNdmOyv2ehUm3kfVe0wzVIwJGB2IYbSq0C3TkU8-Jxtql05ebU05e-8mw83Iy1g$> [https://webtools.illinois.edu/webservices/js/ds/signature_logo.png]<http://illinois.edu/> Under the Illinois Freedom of Information Act any written communication to or from university employees regarding university business is a public record and may be subject to public disclosure.