2020-07-21 06:00 AM
It seems that windows 10 version 2004 (build 19041.388) affects somehow the keil project file generation. It fails with the error:
"The code is succesfully generated but MDK-ARM v5 project generation have a problem".
Question is: Where is the problem ?
I tried to generate in different locations e.g. C:\ , C:\Users\myuser\ but it did not worked for me
Last try was on Windows version 1809 (build 17763.1294) and it worked perfecly
Java version (non working)
C:\Users\psany>java -version
java version "1.8.0_261"
Java(TM) SE Runtime Environment (build 1.8.0_261-b12)
Java HotSpot(TM) Client VM (build 25.261-b12, mixed mode)
Java version (working)
openjdk version "1.8.0_252"
OpenJDK Runtime Environment (Zulu 8.46.0.20-SA-win64) (build 1.8.0_252-b14)
OpenJDK 64-Bit Server VM (Zulu 8.46.0.20-SA-win64) (build 25.252-b14, mixed mode)
Regards
Sandor
2020-07-21 01:50 PM
Finally I found the problem myself.
The problem is caused by java runtime from Oracle (SE)
java version "1.8.0_261"
Java(TM) SE Runtime Environment (build 1.8.0_261-b12)
Java HotSpot(TM) Client VM (build 25.261-b12, mixed mode)
FIX: Downloaded the OpenJDK from here:
Now the java version is:
openjdk version "11.0.8" 2020-07-14
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.8+10)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.8+10, mixed mode)
It works fine.
2020-11-02 03:08 AM
I'm having the same issue.
How did you determine what was the problem?
Is there a log file of the code gen process somewhere?
2020-11-26 05:00 AM
Found logs. Java version was wrong. All working.