Development version: Failed to load Native Code. #58

Closed
celtic-bear opened this Issue Mar 24, 2016 · 5 comments

Projects

None yet

3 participants

@celtic-bear

Hi, got this error without any CPU or system version logic. On my machine with Windows 10/64 32 bit version running fine, when 64 giving that error. However, on 2012R2 server this is vice versa. Tried on different 64 machines and got the same error without any logic. Tried to install on all of them the latest Java, but got the same issue.
2012r2
win10

@angryziber
Owner

Hello, do I understand correctly that on every machine you still get the program working, but the problem is with choosing the right build?

If this is the case, you can use the Windows installer (ipscan-setup.exe) that tests your Java and installs the working build automatically.

@alesper3

You misunderstand him. He is using x86 jre. and needs to use x64jre. Download correct jre and change run configuration to point to x64 jre instead of x86 jre.

@celtic-bear
celtic-bear commented Apr 21, 2016 edited

The problem is, that I was writing a script, to run a scanner depending on operation system and make a log, but I can't find why x86 version of ipscan is running on machines with x86 Java or X64 and not running on X64 machines with different Java versions.

@alesper3
alesper3 commented May 1, 2016 edited

The problem for me is when I try to run source code after building i get this:
image
Failed to load Native Code
your answer is ok to those just running .exe, however, i would like to run the source.

@angryziber angryziber changed the title from Failed to load Native Code. to Development version: Failed to load Native Code. Jul 9, 2016
@angryziber
Owner

Please select the correct library for your platform in Project Structure (see the updated README for details).

@angryziber angryziber closed this Jul 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment