<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>MCUXpresso IDEのトピックRe: Build Server - Mcuxpressoidec: Java was started but returned exit code=1</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/Build-Server-Mcuxpressoidec-Java-was-started-but-returned-exit/m-p/1289811#M7036</link>
    <description>&lt;P&gt;I did fix it, I think I had to specify a workspace in the arguments when launching mcuxpressoidec.exe using&amp;nbsp;-data "C:\MCUXpressoIDE_11.2.0_4120\workspace". My batch file is now:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;rem Batch file that builds firmware for release

@echo off

rem path to build tools
SET TOOLCHAIN_PATH=C:\nxp\MCUXpressoIDE_11.2.0_4120\ide\tools\bin

rem path to command line executable for MCUXpresso
SET IDE=C:\nxp\MCUXpressoIDE_11.2.0_4120\ide\mcuxpressoidec.exe

ECHO Extending PATH if not already present
ECHO %PATH%|findstr /i /c:"%TOOLCHAIN_PATH:"=%"&amp;gt;nul || set PATH=%PATH%;%TOOLCHAIN_PATH%

ECHO Launching MCUXpresso IDE
"%IDE%" -nosplash --launcher.suppressErrors  -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data "C:\MCUXpressoIDE_11.2.0_4120\workspace" -import "./ProjName" -cleanBuild ProjName/Release&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;Useful link with a batch file that I played spot the difference with:&lt;EM&gt;&lt;BR /&gt;&lt;A href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmcuoneclipse.com%2F2017%2F08%2F03%2Fbuilding-eclipse-and-mcuxpresso-ide-projects-from-the-command-line%2F&amp;amp;data=04%7C01%7CElijah.Orr%40Renishaw.com%7C61fac412e30441a58a0b08d88161f39e%7Cbe3b1b3bae03462ebf694110e380dc7b%7C0%7C0%7C637401604987091637%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;amp;sdata=SEkkAqEq2Iq4qp01dfAmnKvf2FMeiQhfHqSZqhdkGtI%3D&amp;amp;reserved=0" target="_blank"&gt;https://mcuoneclipse.com/2017/08/03/building-eclipse-and-mcuxpresso-ide-projects-from-the-command-line/&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 09 Jun 2021 09:54:41 GMT</pubDate>
    <dc:creator>elijah</dc:creator>
    <dc:date>2021-06-09T09:54:41Z</dc:date>
    <item>
      <title>Build Server - Mcuxpressoidec: Java was started but returned exit code=1</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Build-Server-Mcuxpressoidec-Java-was-started-but-returned-exit/m-p/1154254#M6127</link>
      <description>&lt;P&gt;I am setting up a build server for an MCUXpresso Project, and I have configured it to build the Release configuration. The build finishes correctly but the build server is reporting that it failed with the following message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Mcuxpressoidec:
Java was started but returned exit code=1
-Djava.class.path=C:\nxp\MCUXpressoIDE_11.2.0_4120\ide\\plugins/org.eclipse.equinox.launcher_1.5.600.v20191014-2022.jar
-os win32
-ws win32
-arch x86_64
-launcher C:\nxp\MCUXpressoIDE_11.2.0_4120\ide\mcuxpressoidec.exe
-name Mcuxpressoidec
--launcher.library C:\nxp\MCUXpressoIDE_11.2.0_4120\ide\\plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.1100.v20190907-0426\eclipse_1902.dll
-startup C:\nxp\MCUXpressoIDE_11.2.0_4120\ide\\plugins/org.eclipse.equinox.launcher_1.5.600.v20191014-2022.jar
--launcher.overrideVmargs
-application org.eclipse.cdt.managedbuilder.core.headlessbuild
-import ./ProjectName
-cleanBuild ProjectName/Release
-vm C:\nxp\MCUXpressoIDE_11.2.0_4120\ide\jre\bin\server\jvm.dll
-vmargs
-Djava.class.path=C:\nxp\MCUXpressoIDE_11.2.0_4120\ide\\plugins/org.eclipse.equinox.launcher_1.5.600.v20191014-2022.jar 
##[error]Process completed with exit code 1.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="bolt-fixed-height-list-row scroll-hidden absolute"&gt;&lt;DIV class="line-row flex-row flex-grow"&gt;I am using a batch file to run the build with the following contents:&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;rem Batch file that builds firmware for release

@echo off

rem path to build tools
SET TOOLCHAIN_PATH=C:\nxp\MCUXpressoIDE_11.2.0_4120\ide\tools\bin

rem path to command line executable for MCUXpresso
SET IDE=C:\nxp\MCUXpressoIDE_11.2.0_4120\ide\mcuxpressoidec.exe

ECHO Extending PATH if not already present
ECHO %PATH%|findstr /i /c:"%TOOLCHAIN_PATH:"=%"&amp;gt;nul || set PATH=%PATH%;%TOOLCHAIN_PATH%

ECHO Launching MCUXpresso IDE
"%IDE%" -nosplash --launcher.suppressErrors -application org.eclipse.cdt.managedbuilder.core.headlessbuild -import "./ProjectName" -cleanBuild ProjectName/Release&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Manually running the batch file reports build succeeded with no errors, but the server reports it failed due to the Java error in mcuxpressoidec.exe.&lt;/P&gt;&lt;P&gt;How can I fix this issue?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 10:06:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Build-Server-Mcuxpressoidec-Java-was-started-but-returned-exit/m-p/1154254#M6127</guid>
      <dc:creator>elijah</dc:creator>
      <dc:date>2021-06-09T10:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: Build Server - Mcuxpressoidec: Java was started but returned exit code=1</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Build-Server-Mcuxpressoidec-Java-was-started-but-returned-exit/m-p/1154285#M6129</link>
      <description>&lt;P&gt;I would guess that there *is* an error being reported in the build - check the complete build log.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2020 16:18:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Build-Server-Mcuxpressoidec-Java-was-started-but-returned-exit/m-p/1154285#M6129</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2020-09-16T16:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: Build Server - Mcuxpressoidec: Java was started but returned exit code=1</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Build-Server-Mcuxpressoidec-Java-was-started-but-returned-exit/m-p/1154614#M6132</link>
      <description>&lt;P&gt;I've checked through the whole log, the only error is the one in my post which appears at the end after the build finishes&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 07:37:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Build-Server-Mcuxpressoidec-Java-was-started-but-returned-exit/m-p/1154614#M6132</guid>
      <dc:creator>elijah</dc:creator>
      <dc:date>2020-09-17T07:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: Build Server - Mcuxpressoidec: Java was started but returned exit code=1</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Build-Server-Mcuxpressoidec-Java-was-started-but-returned-exit/m-p/1289804#M7035</link>
      <description>&lt;P&gt;I am encountering the same error. The build process itself is successful and reports 0 errors. Also a functional image is generated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, eclipse exits with return code 1, which leads to the build automation system to register the build as failed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you solve the issue?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 09:34:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Build-Server-Mcuxpressoidec-Java-was-started-but-returned-exit/m-p/1289804#M7035</guid>
      <dc:creator>Smatt</dc:creator>
      <dc:date>2021-06-09T09:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: Build Server - Mcuxpressoidec: Java was started but returned exit code=1</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Build-Server-Mcuxpressoidec-Java-was-started-but-returned-exit/m-p/1289811#M7036</link>
      <description>&lt;P&gt;I did fix it, I think I had to specify a workspace in the arguments when launching mcuxpressoidec.exe using&amp;nbsp;-data "C:\MCUXpressoIDE_11.2.0_4120\workspace". My batch file is now:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;rem Batch file that builds firmware for release

@echo off

rem path to build tools
SET TOOLCHAIN_PATH=C:\nxp\MCUXpressoIDE_11.2.0_4120\ide\tools\bin

rem path to command line executable for MCUXpresso
SET IDE=C:\nxp\MCUXpressoIDE_11.2.0_4120\ide\mcuxpressoidec.exe

ECHO Extending PATH if not already present
ECHO %PATH%|findstr /i /c:"%TOOLCHAIN_PATH:"=%"&amp;gt;nul || set PATH=%PATH%;%TOOLCHAIN_PATH%

ECHO Launching MCUXpresso IDE
"%IDE%" -nosplash --launcher.suppressErrors  -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data "C:\MCUXpressoIDE_11.2.0_4120\workspace" -import "./ProjName" -cleanBuild ProjName/Release&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;Useful link with a batch file that I played spot the difference with:&lt;EM&gt;&lt;BR /&gt;&lt;A href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmcuoneclipse.com%2F2017%2F08%2F03%2Fbuilding-eclipse-and-mcuxpresso-ide-projects-from-the-command-line%2F&amp;amp;data=04%7C01%7CElijah.Orr%40Renishaw.com%7C61fac412e30441a58a0b08d88161f39e%7Cbe3b1b3bae03462ebf694110e380dc7b%7C0%7C0%7C637401604987091637%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;amp;sdata=SEkkAqEq2Iq4qp01dfAmnKvf2FMeiQhfHqSZqhdkGtI%3D&amp;amp;reserved=0" target="_blank"&gt;https://mcuoneclipse.com/2017/08/03/building-eclipse-and-mcuxpresso-ide-projects-from-the-command-line/&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 09:54:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Build-Server-Mcuxpressoidec-Java-was-started-but-returned-exit/m-p/1289811#M7036</guid>
      <dc:creator>elijah</dc:creator>
      <dc:date>2021-06-09T09:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Build Server - Mcuxpressoidec: Java was started but returned exit code=1</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Build-Server-Mcuxpressoidec-Java-was-started-but-returned-exit/m-p/1289813#M7037</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;A href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmcuoneclipse.com%2F2017%2F08%2F03%2Fbuilding-eclipse-and-mcuxpresso-ide-projects-from-the-command-line%2F&amp;amp;data=04%7C01%7CElijah.Orr%40Renishaw.com%7C61fac412e30441a58a0b08d88161f39e%7Cbe3b1b3bae03462ebf694110e380dc7b%7C0%7C0%7C637401604987091637%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;amp;sdata=SEkkAqEq2Iq4qp01dfAmnKvf2FMeiQhfHqSZqhdkGtI%3D&amp;amp;reserved=0" target="_blank"&gt;https://mcuoneclipse.com/2017/08/03/building-eclipse-and-mcuxpresso-ide-projects-from-the-command-line/&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I spotted a difference between the example here and my batch file, which was specifying a workspace.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 09:49:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Build-Server-Mcuxpressoidec-Java-was-started-but-returned-exit/m-p/1289813#M7037</guid>
      <dc:creator>elijah</dc:creator>
      <dc:date>2021-06-09T09:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: Build Server - Mcuxpressoidec: Java was started but returned exit code=1</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Build-Server-Mcuxpressoidec-Java-was-started-but-returned-exit/m-p/1289826#M7038</link>
      <description>&lt;P&gt;I did fix it, I had to specify a workspace in the arguments when launching mcuxpressoidec.exe using&amp;nbsp;-data "C:\MCUXpressoIDE_11.2.0_4120\workspace". My batch file is now:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;rem Batch file that builds firmware for release

@echo off

rem path to build tools
SET TOOLCHAIN_PATH=C:\nxp\MCUXpressoIDE_11.2.0_4120\ide\tools\bin

rem path to command line executable for MCUXpresso
SET IDE=C:\nxp\MCUXpressoIDE_11.2.0_4120\ide\mcuxpressoidec.exe

ECHO Extending PATH if not already present
ECHO %PATH%|findstr /i /c:"%TOOLCHAIN_PATH:"=%"&amp;gt;nul || set PATH=%PATH%;%TOOLCHAIN_PATH%

ECHO Launching MCUXpresso IDE
"%IDE%" -nosplash --launcher.suppressErrors  -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data "C:\MCUXpressoIDE_11.2.0_4120\workspace" -import "./ProjectName" -cleanBuild ProjectName/Release&lt;/LI-CODE&gt;&lt;P&gt;Useful link that has a batch file that I played spot the difference with to find the issue:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;A href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmcuoneclipse.com%2F2017%2F08%2F03%2Fbuilding-eclipse-and-mcuxpresso-ide-projects-from-the-command-line%2F&amp;amp;data=04%7C01%7CElijah.Orr%40Renishaw.com%7C82104d37f49f4e482f1308d8822acc8a%7Cbe3b1b3bae03462ebf694110e380dc7b%7C0%7C0%7C637402467625427221%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;amp;sdata=5%2BZv6gb52fM0S3CO6VhlplFkaGCs6CXVGMI35IgHbac%3D&amp;amp;reserved=0" target="_blank"&gt;https://mcuoneclipse.com/2017/08/03/building-eclipse-and-mcuxpresso-ide-projects-from-the-command-line/&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 10:10:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Build-Server-Mcuxpressoidec-Java-was-started-but-returned-exit/m-p/1289826#M7038</guid>
      <dc:creator>elijah</dc:creator>
      <dc:date>2021-06-09T10:10:41Z</dc:date>
    </item>
  </channel>
</rss>

