barrymac
barrymac

Reputation: 2760

what's the nicest way to run multiple JDKs on windows for running different programs with the right JVM?

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

Answers (1)

Sergei Chicherin
Sergei Chicherin

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

Related Questions