We're moving to MCUxpresso with our Kinetis-based products, and currently we have a project on our build server that is "failing" with the following Java error:
[15:48:59]Java was started but returned exit code=1
[15:48:59]Process exited with code 1
The strange thing is that the code is still compiled and the binary is generated.
I've read in the Eclipse forums that in order to solve this problem, we have to match the "bitness" of the JDK and MCUxpresso. I can't definitively find this information for MCUxpresso. In the output above, I can't tell if -arch x86 refers to the JDK or the IDE.
Is anyone else having this problem? We see it on our build server, but not on developer PCs.
I am sorry for the late response and not sure if the problem still exist or not. We had update the MCUXpresso to 10.3.0 and you can download it from:MCUXpresso IDE|Eclipse-based Integrated Development Environment (IDE)|NXP
Make sure the host operating systems requirement:
I'll add a helpful hint that hadn't even occurred to me -- run the IDE and then open Task Manager. You'll be able to tell in the Processes tab if it's a 32 bit application. In our case, it is 32 bit, so I'm going to try to install the 32 bit JRE to see if that helps.
No, as that seems like the least-likely way to solve this problem. Can you explain why reinstalling MCUXpresso might work? Installing/upgrading to the latest version didn't make the problem go away.