no errors a in the Problem view of S32 Design Studioĥ) and no ""Java was started but returned exit code = 1" dialog" pops up when build using command line. Use scenario 2's S32 Design Studio workspace and scenario 1's project location to buildĤ). some erros appear in the Problem view of S32 Design Studioĥ) and ""Java was started but returned exit code = 1" dialog" pops up when build using command line.ī). do the steps to build as described in scenario.Ĥ). open S32 design studio and import the projectģ). metadata under the s32 design studio root pathĢ). Use scenario 1's S32 Design Studio workspace and scenario 2's project location to buildġ). So I try to repeat scenario 2 with a s32 design studio and another new project location, the result is approximately the same, the difference is that the error numberĪnd I try to go a further investigation, then I do below experiments:Ī). as a comparion, I also used eclipsec.exe to build the project, the result is same as using s32ds.exe build with command line: \eclipse\s32ds.exe -nosplash -application .core.headlessbuild -data E:\00_SoftWare_Program\NXP\s32ds_workspace -cleanBuild /Debugġ0). wait until the building finished, and the "Java was started but returned exit code = 1" dialog will pop upġ1). open cmd window, and goes into the path where the project locates, E:\jenkins_workspace\loop2testĩ). after the building finished, we can see that there are some errors in the Problem view of S32 Design Studio, and these errors has no relation with the project, and I can not find these files that errors indicating in the system local drives.Ĩ). clean the project via right click menuĦ). import the project into S32 design studioĤ). copy the same project folder to a new place, as in E:\jenkins_workspace\loop2testģ). base on scenario 1, switch to a new s32 design studio workspace, as E:\00_SoftWare_Program\NXP\s32ds_workspaceĢ). as a comparion, I also used eclipsec.exe to build the project, the result is same as using s32ds.exeġ). wait until the building finished, no "Java was started but returned exit code = 1" dialog pops up.ġ0). build with command line: \eclipse\s32ds.exe -nosplash -application .core.headlessbuild -data E:\00_SoftWare_Program\NXP\nxp_s32_workspace -cleanBuild /Debugĩ). open cmd window, and goes into the path where the project locates, E:\000_ProjectShare\honglin.liang\loop2test\Ĩ). Hope you have fixed Java was Started but Returned Exit Code. That is, C:\ProgramData\Oracle\Java\javapath. > Select Path > click Edit and then remove the first entry. After that, choose Advanced tab > Environment Variables. clean the project via right click menuħ). Search for System Variable and Select Edit the System Environment Variable option. PS: the project folder is extracted from a zip file, which is sent by my colleagueģ). import a project in local disk dirve, as in E:\000_ProjectShare\honglin.liang\loop2test\ open S32 Design studio and switch to a new workspace as E:\00_SoftWare_Program\NXP\nxp_s32_workspaceĢ). Hello, after some day testing, I found that when the compling has some errors, it will pop up this windows ( java exit code =1 ) after the compiling via command line.ġ).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |