Issue setting up Netbeans

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue setting up Netbeans

LukasHehn
Hi,

I'm trying to set up Netbeans to write a MM plugin but I'm having some trouble. Specifically, after following the instructions on this page (https://micro-manager.org/wiki/Using_Netbeans) but when i right click and debug, I get an error message that says: "Error: Failed to load the MMCoreJ_wrap native library
C:\Program Files\Micro-Manager-1.4 32bit nightly\MMCoreJ_wrap.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform"

I assume I did something wrong with the 32/64 bit versions. I am on a 64bit system (Windows 7) but I would like to use the 32 bit MM as one of my components doesnt work with the 64 bit version. I also went with the 64 bit versions of Netbeans from here http://www.oracle.com/technetwork/java/javase/downloads/jdk-netbeans-jsp-142931.html

If that might be what causes the problem, I could switch to the 32 bit version of netbeans, but I'm guessing that the error is in something else I did.

I hope someone can help me with this!

regards,

Lukas Hehn


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
micro-manager-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/micro-manager-general
Reply | Threaded
Open this post in threaded view
|

Re: Issue setting up Netbeans

Nico Stuurman-2
Hi Lukas,

On 1/31/2018 6:04 AM, lukas Hehn wrote:

> I'm trying to set up Netbeans to write a MM plugin but I'm having some
> trouble. Specifically, after following the instructions on this page
> (https://micro-manager.org/wiki/Using_Netbeans) but when i right click
> and debug, I get an error message that says: "Error: Failed to load
> the MMCoreJ_wrap native library
> C:\Program Files\Micro-Manager-1.4 32bit nightly\MMCoreJ_wrap.dll:
> Can't load IA 32-bit .dll on a AMD 64-bit platform"
>
> I assume I did something wrong with the 32/64 bit versions. I am on a
> 64bit system (Windows 7) but I would like to use the 32 bit MM as one
> of my components doesnt work with the 64 bit version. I also went with
> the 64 bit versions of Netbeans from here
> http://www.oracle.com/technetwork/java/javase/downloads/jdk-netbeans-jsp-142931.html
>
> If that might be what causes the problem, I could switch to the 32 bit
> version of netbeans, but I'm guessing that the error is in something
> else I did.

I would give the 32-bit version of Netbeans a try.  Since you are
running 64-bit Netbeans, you can not load any 32-bit dlls in that
environment (since it was started up without invocation of the Windows
on Windows subsystem).

Let us know how it goes!

Best,

Nico


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
micro-manager-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/micro-manager-general