Haven't tested, since I don't have my dev machine to hand, but this or some variant should work. Look at the file \Program Files\apache-maven-3.6.2\bin\mvn.cmd (you can use a text editor) to see how maven finds the arguments to pass to java.exe (it should open .mvn/java-config and add it's contents to the java argument list)
On 6/3/2020 5:32 AM, Nelligan, Steven M wrote:
I have multiple projects, but one project returns the following error. What does this mean and how can I fix it? If I run MVN directly from the console window, it builds. Using Netbeans IDE 11.2 on Windows 10---------------------------------------------------------------OUTPUT – Build Window------------------------------------------------cd C:\dev\Projects\mobileapp; "JAVA_HOME=C:\\Program Files\\Java\\jdk-11" "M2_HOME=C:\\Program Files\\apache-maven-3.6.2" cmd /c "\"\"C:\\Program Files\\apache-maven-3.6.2\\bin\\mvn.cmd\" -DskipTests=true -Dmaven.ext.class.path=\"C:\\Program Files\\NetBeans-11.2\\netbeans\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=Cp1252 --update-snapshots --update-snapshots -PvDev clean install\""*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.* *Steven M Nelligan* /APPLICATION 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 61820217.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./
-- William Reynolds, Ph.D. Stellar Science, LLC wnreyno...@stellarscience.com www.stellarscience.com 877-763-8268 x710 (v)
smime.p7s
Description: S/MIME Cryptographic Signature