How to specify to the Java VM the -d32 parameter

匆匆过客 提交于 2019-12-18 08:59:33

问题


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.

I was wondering what the steps are to do this since they do not specify.


回答1:


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.



来源:https://stackoverflow.com/questions/5603294/how-to-specify-to-the-java-vm-the-d32-parameter

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!