How to specify to the Java VM the -d32 parameter

前端 未结 1 2008
野趣味
野趣味 2020-12-21 06:29

I recently downloaded watij. on their website they say

Note: If you are running on a Mac you must add -d32 to your Java VM parameters.

相关标签:
1条回答
  • 2020-12-21 07:20

    adding -d32 to vm parameters means, when you run your app:

    javac HelloWorld.java
    java HelloWorld
    

    Instead you do this:

    javac HelloWorld.java
    java -d32 HelloWorld
    

    It specifies that the program will run in 32bit architecture.

    To set JVM arguments from Eclipse, do this:
    1. Right click on the class you want to run.
    2. Click run configurations
    3. Go to arguments tab and write "-d32" under VM arguments text box.

    0 讨论(0)
提交回复
热议问题