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

后端 未结 3 1730
盖世英雄少女心
盖世英雄少女心 2021-02-02 16:28

I download the Gurobi package for linear programming. I import the corresponding gurobi.jar package. Then run the example program. Then it appears the following errors:

相关标签:
3条回答
  • 2021-02-02 16:59

    If you are still getting that error after installing the 64 bit JRE, it means that the JVM running Gurobi package is still using the 32 bit JRE.

    Check that you have updated the PATH and JAVA_HOME globally and in the command shell that you are using. (Maybe you just need to exit and restart it.)

    Check that your command shell runs the right version of Java by running "java -version" and checking that it says it is a 64bit JRE.

    If you are launching the example via a wrapper script / batch file, make sure that the script is using the right JRE. Modify as required ...

    0 讨论(0)
  • 2021-02-02 17:01

    Uninstall(delete) this: jre, jdk, eclipse. Download 32 bit(x86) version of this programs:jre, jdk, eclipse. And install it.

    0 讨论(0)
  • 2021-02-02 17:11

    Try this:

    1. Download and install a 32-bit JDK.
    2. Go to eclipse click on your project (Run As → Run Configurations...) under Java Application branch.
    3. Go to the JRE tab and select Alternate JRE. Click on Installed JRE button, add your 32-bit JRE and select.
    0 讨论(0)
提交回复
热议问题