Davis123987's Profile User Rating: -----

Reputation: 0 Apprentice
Group:
Members
Active Posts:
23 (0.02 per day)
Joined:
25-September 10
Profile Views:
1,171
Last Active:
User is offline Feb 04 2013 06:09 PM
Currently:
Offline

Previous Fields

Dream Kudos:
0
Icon   Davis123987 has not set their status

Posts I've Made

  1. In Topic: Eclipse Importing 32 bit DLL on a 64 bit machine

    Posted 31 Jan 2013

    The output is this:

    .Exception in thread "main" java.lang.UnsatisfiedLinkError: project.ThinkGear.GetDriverVersion()I
    at project.ThinkGear.GetDriverVersion(Native Method)
    at project.NeuroSkyApp.createWindow(NeuroSkyApp.java:21)
    at project.NeuroSkyApp.main(NeuroSkyApp.java:9)

    Doesn't that mean that java is having trouble loading the dll and can't get the methods to work?
  2. In Topic: Eclipse Importing 32 bit DLL on a 64 bit machine

    Posted 29 Jan 2013

    View Postg00se, on 29 January 2013 - 12:57 PM, said:

    Quote

    when it is compiled it will be in the jar, and native libraries can run inside a jar file.

    No, they can't. They should be in load.library.path

    System.out.println(System.getProperty("load.library.path"));

    So I have to put the dll file inside one of those paths? Is there any way to keep it with the application, in a libraries folder outside of the jar file or something?
  3. In Topic: Eclipse Importing 32 bit DLL on a 64 bit machine

    Posted 29 Jan 2013

    I think I have everything good, now my only question is where to put the .dll file. I am pretty sure It can't be anywhere in the project, because when it is compiled it will be in the jar, and native libraries can run inside a jar file. Where should I put it and how should I set it up?
  4. In Topic: Eclipse Importing 32 bit DLL on a 64 bit machine

    Posted 29 Jan 2013

    View Postg00se, on 28 January 2013 - 03:26 PM, said:



    But I don't jave a .jar library that I can set the native dependencies for. I just have a .java file that uses the system.loadLibrary to load the native library.

My Information

Member Title:
New D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:

Contact Information

E-mail:
Private

Friends

Davis123987 hasn't added any friends yet.

Comments

Davis123987 has no profile comments yet. Why not say hello?