title: After successful build at the comand line I get Eclipse error JVM terminated. Exit code=1
body: <p>I am using eclipse IDE for C/C++ Developers (includes Incubating components)
  Version: 2021-03 (4.19.0)
  Build id: 20210312-0638</p>
  <p>I am using it on lubuntu 20.10 64bit.</p>
  <p>I have also installed java11 as part of trying to resolve the issue:
  openjdk 11.0.11 2021-04-20
  OpenJDK Runtime Environment (build 11.0.11+9-Ubuntu-0ubuntu2.20.10)
  OpenJDK 64-Bit Server VM (build 11.0.11+9-Ubuntu-0ubuntu2.20.10, mixed mode, sharing)</p>
  <p>The eclipse GUI works just fine and I am able to compile my code. I am interested to compile the eclipse project via the command line(So I can run it as part of a CI pipeline).</p>
  <p>When I compile it via the command line my build is successful and I get a binary. the problem is I am getting &quot;JVM terminated. Exit code=1&quot; which make my pipeline to fail.</p>
  <p>This is the command I use to compile</p>
  <pre><code>./eclipse -nosplash --launcher.suppressErrors  -application org.eclipse.cdt.managedbuilder.core.headlessbuild -import /&lt;path_to_project&gt;/ -data /&lt;eclipse_work_space&gt; -build &lt;project_name&gt;/Debug
  </code></pre>
  <p>This is the full error message I get once compiling is done:</p>
  <pre><code>Eclipse:
  JVM terminated. Exit code=1
  /usr/lib/jvm/java-11-openjdk-amd64/bin/java
  -Dosgi.requiredJavaVersion=11
  -Dosgi.instance.area.default=@user.home/eclipse-workspace
  -Dsun.java.command=Eclipse
  -XX:+UseG1GC
  -XX:+UseStringDeduplication
  --add-modules=ALL-SYSTEM
  -Dosgi.requiredJavaVersion=11
  -Dosgi.dataAreaRequiresExplicitInit=true
  -Dorg.eclipse.swt.graphics.Resource.reportNonDisposed=true
  -Xms256m
  -Xmx2048m
  --add-modules=ALL-SYSTEM
  -Declipse.p2.max.threads=10
  -Doomph.update.url=http://download.eclipse.org/oomph/updates/milestone/latest
  -Doomph.redirection.index.redirection=index:/-&gt;http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/
  -jar /home/drone/eclipse/cpp-2021-03/eclipse//plugins/org.eclipse.equinox.launcher_1.6.100.v20201223-0822.jar
  -os linux
  -ws gtk
  -arch x86_64
  -launcher /home/drone/eclipse/cpp-2021-03/eclipse/eclipse
  -name Eclipse
  --launcher.library /home/drone/.p2/pool/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.2.100.v20210209-1541/eclipse_11301.so
  -startup /home/drone/eclipse/cpp-2021-03/eclipse//plugins/org.eclipse.equinox.launcher_1.6.100.v20201223-0822.jar
  --launcher.appendVmargs
  -exitdata 20
  -product org.eclipse.epp.package.cpp.product
  -application org.eclipse.cdt.managedbuilder.core.headlessbuild
  -import /home/drone/azure_agent/_work/1/s/projects/RT-Linux/
  -data /var/tmp/ee
  -build linux_sim/Debug
  -vm /usr/lib/jvm/java-11-openjdk-amd64/bin/java
  -vmargs
  -Dosgi.requiredJavaVersion=11
  -Dosgi.instance.area.default=@user.home/eclipse-workspace
  -Dsun.java.command=Eclipse
  -XX:+UseG1GC
  -XX:+UseStringDeduplication
  --add-modules=ALL-SYSTEM
  -Dosgi.requiredJavaVersion=11
  -Dosgi.dataAreaRequiresExplicitInit=true
  -Dorg.eclipse.swt.graphics.Resource.reportNonDisposed=true
  -Xms256m
  -Xmx2048m
  --add-modules=ALL-SYSTEM
  -Declipse.p2.max.threads=10
  -Doomph.update.url=http://download.eclipse.org/oomph/updates/milestone/latest
  -Doomph.redirection.index.redirection=index:/-&gt;http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/
  -jar /home/drone/eclipse/cpp-2021-03/eclipse//plugins/org.eclipse.equinox.launcher_1.6.100.v20201223-0822.jar 
  </code></pre>
  <p>This is the eclipse.ini file:</p>
  <pre><code>-startup
  plugins/org.eclipse.equinox.launcher_1.6.100.v20201223-0822.jar
  --launcher.library
  /home/drone/.p2/pool/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.2.100.v20210209-1541
  -product
  org.eclipse.epp.package.cpp.product
  -showsplash
  /home/drone/.p2/pool/plugins/org.eclipse.epp.package.common_4.19.0.20210311-1200
  --launcher.defaultAction
  openFile
  --launcher.appendVmargs
  -vm
  /usr/lib/jvm/java-11-openjdk-amd64/bin/java
  -vmargs
  -Dosgi.requiredJavaVersion=11
  -Dosgi.instance.area.default=@user.home/eclipse-workspace
  -Dsun.java.command=Eclipse
  -XX:+UseG1GC
  -XX:+UseStringDeduplication
  --add-modules=ALL-SYSTEM
  -Dosgi.requiredJavaVersion=11
  -Dosgi.dataAreaRequiresExplicitInit=true
  -Dorg.eclipse.swt.graphics.Resource.reportNonDisposed=true
  -Xms256m
  -Xmx2048m
  --add-modules=ALL-SYSTEM
  -Declipse.p2.max.threads=10
  -Doomph.update.url=http://download.eclipse.org/oomph/updates/milestone/latest
  -Doomph.redirection.index.redirection=index:/-&gt;http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/
  </code></pre>
  <p>I did a search before posting but found no mention of this issue when compiling via the command line.</p>
  <p>Edit:
  I will be perfectly fine with a way to suppress this error(so my pipeline won't fail because of it) if it won;t suppress compilation errors during the build.</p>