Reputation: 2760
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 scripts to start them?
Upvotes: 0
Views: 255
Reputation: 2060
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
Upvotes: 2