I need to run some java programs in a 32 bit JVM and some in 64. I'm wondering if there's a better way than writing 开发者_StackOverflow社区scripts to start them?
you have to use full path to 32-bit and 64-bit java executable:
C:\Program Files\JDK64bit\bin\java.exe -cp . your.jar
You may wrap it into platform dependent exe
精彩评论