Jump to content
The simFlight Network Forums

FSUIPC Java SDK


Recommended Posts

Hello,

When I run the test program that is in the FSUIPC SDK folder for Java it gives me this error:


Running tests
Exception in thread "main" java.lang.UnsatisfiedLinkError: G:\Programacao\Java Acars\test\fsuipc_java.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(Unknown Source)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at com.flightsim.fsuipc.fsuipc_wrapper.<clinit>(Unknown Source)
at Test.main(Test.java:99)
[/CODE]

How can I resolve this?

Thanks

Link to comment
Share on other sites

When I run the test program that is in the FSUIPC SDK folder for Java it gives me this error:

Do you know Java? I don't. If you know Java then perhaps you know what the error means.

The only language section of the SDK I know anything about is the C/C++ part. The sources are provided, so if you get stuck in the language you choose I'm sure you could sort it out. With the C/C++ side it is usually simply differences in the version of the Compiler or Development System folks are using. I expect when the Java example was being compiled, many years ago now, it was a different version of Java.

Before I leave you to it, though, one striking thing is noticeable:

Can't load IA 32-bit .dll on a AMD 64-bit platform

All of the DLLs and so on provided will of course be 32-bit, just like FSUIPC and FS itself. Perhaps that's one setting, at least, you need to correct?

Regards

Pete

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.