Error about sun/misc/BASE64Encoder on Eclipse

前端 未结 4 773
执笔经年
执笔经年 2020-12-19 13:30

when i run my app in mac, and show up this message Errors occurred during the build. Errors running builder \'Android Package Builder\' on project \'IMPEXP\'. sun/misc/BASE

4条回答
  •  旧巷少年郎
    2020-12-19 14:14

    As others have pointed out already, this is a compatibility issue—you need exactly Java 8 to run Eclipse.

    • Install JDK 8 if you don’t have it already.
    • In Eclipse, go to Window > Preferences > Installed JREs. Make sure Java 8 appears in the list and is selected. After that, close Eclipse.
    • Additionally, eclipse.ini also has a reference to the Java VM it uses. Make sure the VM it points to is Java 8 (see link on how to find it and how to set VM preferences).
    • Restart Eclipse and try again.

提交回复
热议问题