Skip to content

Arduino IDE Crashed Soon After "ant run"(WIN7) #8617

Closed
@cuter1986

Description

@cuter1986

According to this guide: [https://github.com/arduino/Arduino/wiki/Building-Arduino]
I succeeded in compiling arduino ide source code, but when I try to launch it using "ant run", it immediately crashes. What can i do to help?

My OS is WIN7.
jdk installation path: D:\Program Files (x86)\Java\jdk1.8.0_202
JAVA_HOME = D:\Program Files (x86)\Java\jdk1.8.0_202
CLASSPATH = .%JAVA_HOME%\lib;%JAVA_HOME%\lib\tools.jar

arduino_debug.exe reports following info.

D:\Arduino\build\windows\work>arduino_debug.exe
java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native
at com.sun.jna.platform.win32.Shell32.(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(Win32Kn
ownFolders.java:53)
at processing.app.windows.Platform.recoverSettingsFolderPath(Platform.ja
va:64)
at processing.app.windows.Platform.init(Platform.java:54)
at processing.app.Base.(Base.java:208)
at processing.app.Base.main(Base.java:151)

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS: WindowsSpecific to the Windows version of the Arduino IDEType: BugWaiting for feedbackMore information must be provided before we can proceed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions