Problems running/ building Arduino IDE from Eclipse

Hi everybody!!

I’m trying to make some changes on the Arduino IDE but when I try to run or build the IDE to check if the changes are working I have found problems so I can’t.

I have followed this two tutorials:

The steps I have followed are:

They take me to the same point where I have found the following errors:

  • When I try to run by Eclipse:
Exception in thread "main" java.lang.UnsatisfiedLinkError: jnidispatch (/com/sun/jna/win32-amd64/jnidispatch.dll) not found in resource path
	at com.sun.jna.Native.loadNativeLibrary(
	at com.sun.jna.Native.<clinit>(
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(
  • When I try to build it with ant I achieve it, but when I try to run the new arduino IDE it give me back:

Java Virtual Machine Launcher: Could not find the main class: Program will exits.

So I can’t check anything.
The main in is inside the project so I’m totally lost.

I have looked for the solution trought google and this forum and I haven’t found the solution.

I would be pretty glad if someone give me the solution.
Thanks to everyone!!