MC33816 Developer Studio Java Windows 10

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MC33816 Developer Studio Java Windows 10

Jump to solution
4,039 Views
jgillis
Contributor I

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:

jgillis_0-1643818626440.png

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:

jgillis_1-1643818905147.png

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

Labels (2)
Tags (1)
0 Kudos
Reply
1 Solution
3,998 Views
TomasVaverka
NXP TechSupport
NXP TechSupport

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:

image 001.png

You should also check the JAVA_HOME environment variable and make sure it points to the jdk 1.8 directory:

image 002.png

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:

image 003.png

 

I hope it helps.

Best regards,

Tomas

View solution in original post

4 Replies
3,999 Views
TomasVaverka
NXP TechSupport
NXP TechSupport

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:

image 001.png

You should also check the JAVA_HOME environment variable and make sure it points to the jdk 1.8 directory:

image 002.png

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:

image 003.png

 

I hope it helps.

Best regards,

Tomas

3,990 Views
jgillis
Contributor I

Thomas,

Thanks for the detailed reply. Your very last comment about the PATH is what fixed it for me:

jgillis_0-1644514297245.png

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

0 Kudos
Reply
3,985 Views
TomasVaverka
NXP TechSupport
NXP TechSupport

Hello Jeremiah,

You are welcome, I am glad the problem got resolved.

Regards,

Tomas

0 Kudos
Reply
4,009 Views
TomasVaverka
NXP TechSupport
NXP TechSupport

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