0 Replies Latest reply: Aug 11, 2010 3:57 AM by 843804 RSS

    Practical way to select 32-bit JVM during deloyment?  (Windows)

    843804
      Hello,

      We are developing an application that, when running on Windows, uses 32-bit DLLs via JNI. Therefore, it should be deployed so as to always run on a 32-bit JVM because 64-bit JVMs cannot access 32-bit DLLs (as the whole process must run in the same bit mode).

      Is there any automatic/elegant way to do this? The not-so-elegant way is to scan the directory of 32-bit program files for different JVM versions and create a shortcut/launcher that points to some java.exe there.

      Thanks for any hints you can give.