java.lang.UnsupportedClassVersionError: controller/Uit : Unsupported major.minor version 52.0

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

java.lang.UnsupportedClassVersionError: controller/Uit : Unsupported major.minor version 52.0

2,392 Views
xinbao
Contributor I

macos 12.6.3 

java version "1.7.0_79"

当我点击生成代码时:

preparing widgets, please wait...

Cleaning Generate image files......
Cleaning Generate screen files......
Converting Font To C File
Running UIT To Generate Code

Exception in thread "main" java.lang.UnsupportedClassVersionError: controller/Uit : Unsupported major.minor version 52.0

0 Kudos
Reply
4 Replies

2,342 Views
LiubinGong
NXP Employee
NXP Employee

Hi @xinbao

  Please upgrade the Java version to 1.8.0 and try. Please resolve this issue if it solves the problem.

Thanks

Liubin

0 Kudos
Reply

2,335 Views
xinbao
Contributor I
这个问题解决了,然后出现了下面错误 Compiling /Users/yuxh/GUI-Guider-Projects/lvgl_test/lvgl-simulator/main.c Compiling /Users/yuxh/GUI-Guider-Projects/lvgl_test/lvgl-simulator/../generated/events_init.c Compiling /Users/yuxh/GUI-Guider-Projects/lvgl_test/lvgl-simulator/../generated/gui_guider.c Compiling /Users/yuxh/GUI-Guider-Projects/lvgl_test/lvgl-simulator/../generated/setup_scr_screen.c Compiling /Users/yuxh/GUI-Guider-Projects/lvgl_test/lvgl-simulator/../custom/custom.c Linking simulator Undefined symbols for architecture x86_64: "_lv_font_montserratMedium_12", referenced from: _setup_scr_screen in setup_scr_screen.o "_lv_font_montserratMedium_16", referenced from: _setup_scr_screen in setup_scr_screen.o make: *** [default] Error 1
0 Kudos
Reply

2,306 Views
LiubinGong
NXP Employee
NXP Employee

   Can you tell whether your computer is x86 or arm architecture? Version 1.5.0 does not support Apple computers with M core. BTW, please check the document on the prerequisites of MacOS.  

Thanks 

Liubin

0 Kudos
Reply

2,364 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @xinbao 

Which chip do you used? Please take a video or screenshots show your detail steps, that I will reproduce it on my side.

 

BR

Alice

0 Kudos
Reply