Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Get error "Could not initialize class com.sun.jna.Native" running arduino_debug.exe #9758

Closed
Labels
Component: IDEThe Arduino IDE OpenJDKIssues to be verified once OpenJDK (AdoptOpenJDK) is implemented Type: Bug
@hellyzh

Description

Get error "Could not initialize class com.sun.jna.Native" running arduino_debug.exe for Arduino IDE 1.8.11 on Windows 10

C:\>"C:\Program Files (x86)\Arduino\arduino_debug.exe"
java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native
 at com.sun.jna.platform.win32.Shell32.<clinit>(Shell32.java:32)
 at com.sun.jna.platform.win32.Shell32Util.getFolderPath(Shell32Util.java:44)
 at com.sun.jna.platform.win32.Shell32Util.getFolderPath(Shell32Util.java:61)
 at cc.arduino.os.windows.Win32KnownFolders.getLocalAppDataFolder(Win32KnownFolders.java:53)
 at processing.app.windows.Platform.recoverSettingsFolderPath(Platform.java:64)
 at processing.app.windows.Platform.init(Platform.java:54)
 at processing.app.Base.<init>(Base.java:207)
 at processing.app.Base.main(Base.java:150)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: IDEThe Arduino IDE OpenJDKIssues to be verified once OpenJDK (AdoptOpenJDK) is implemented Type: Bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /