Hello,
I cannot get the MC33816 Developer Studio to build in Windows 10 x64. I started with a new project, generated new source files, then clicked the Build button. I receive the following error:
I have attached the Build Output log. I cannot find any documentation about any Java requirements for this program. IDK if there is a JAVA version incompatibility. The log shows:
Java RUNTIME version used for PSC microcode is : 16.0.2
Java BUILD version used for PSC microcode is : 1.6.0_18
Per some other threads here, my registry looks like:
I cannot find anywhere on my computer where JAVA 1.6.0_18 is installed. You can see that the CurrentVersion of JRE is set to 1.8 which matches what NXP TechSupport posted here. JRE 1.8 is activated in the JAVA control panel.
I have other programs that require some of these other JAVA installs.
What do I need to do to get MC33816 Developer Studio to build correctly?
Thanks,
Jeremiah
Solved! Go to Solution.
Hello Jeremiah,
The build output log you sent shows that the assembler is trying to use Java RUNTIME version 16.0.2 which will not work.
My installation which works, shows the following from the build output log:
Java RUNTIME version used for PSC microcode is : 1.8.0_282
Java BUILD version used for PSC microcode is : 1.6.0_18
The Java runtime settings should point to the 1.8.0_xxx version of Java that you have on your computer.
Here is how it looks on my computer:
You should also check the JAVA_HOME environment variable and make sure it points to the jdk 1.8 directory:
Here is the output from my computer when I type java -version at the command prompt:
C:\Users\nxa21573>java -version
openjdk version "1.8.0_282"
OpenJDK Runtime Environment Corretto-8.282.08.1 (build 1.8.0_282-b08)
OpenJDK 64-Bit Server VM Corretto-8.282.08.1 (build 25.282-b08, mixed mode)
You should check this on your computer also to see that 1.8.0_xxx is being used.
One more thing. Please also check the PATH environment variable to make sure the 1.8.0_xxx version is listed first as it is on my computer:
I hope it helps.
Best regards,
Tomas
Hello Jeremiah,
The build output log you sent shows that the assembler is trying to use Java RUNTIME version 16.0.2 which will not work.
My installation which works, shows the following from the build output log:
Java RUNTIME version used for PSC microcode is : 1.8.0_282
Java BUILD version used for PSC microcode is : 1.6.0_18
The Java runtime settings should point to the 1.8.0_xxx version of Java that you have on your computer.
Here is how it looks on my computer:
You should also check the JAVA_HOME environment variable and make sure it points to the jdk 1.8 directory:
Here is the output from my computer when I type java -version at the command prompt:
C:\Users\nxa21573>java -version
openjdk version "1.8.0_282"
OpenJDK Runtime Environment Corretto-8.282.08.1 (build 1.8.0_282-b08)
OpenJDK 64-Bit Server VM Corretto-8.282.08.1 (build 25.282-b08, mixed mode)
You should check this on your computer also to see that 1.8.0_xxx is being used.
One more thing. Please also check the PATH environment variable to make sure the 1.8.0_xxx version is listed first as it is on my computer:
I hope it helps.
Best regards,
Tomas
Thomas,
Thanks for the detailed reply. Your very last comment about the PATH is what fixed it for me:
The java -version was previously reporting JDK 16.0.2 version. The default java version seems to be controlled by what path is first on the list.
I do not have JAVA_HOME as a system variable and it doesn't seem to be needed. I am able to Build and generate source files without it.
My build output log is now:
Java RUNTIME version used for PSC microcode is : 1.8.0_321
Java BUILD version used for PSC microcode is : 1.6.0_18
Regards,
Jeremiah
Hello Jeremiah,
You are welcome, I am glad the problem got resolved.
Regards,
Tomas
Hello Jeremiah,
Sorry for the delay, I am currently very busy and have not had time to look at this. I will look into it later today together with our SW expert.
Best regards,
Tomas