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://www.facebook.com/UniversityOfIllinoisFacilitiesServices>    
[twitter] <https://twitter.com/UofIFS>     [instagram] 
<https://www.instagram.com/uofifs/>     [youtube] 
<https://www.youtube.com/user/UofIFS>

[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.




Reply via email to