Reputation: 13
I recently wrote an application for a teacher on campus to use with her class. Upon distributing I came to realize the application requires a 32-bit JRE. Is there a way to support both JREs or should I simply inform the user the application requires 32-bit Java 8?
Upvotes: 0
Views: 104
Reputation: 718836
If a Java application >>really<< requires a 32bit JVM, that must be because it depends on 32bit native libraries that are not part of the standard JRE install; i.e. native libraries that you have written yourself, or that come from a third-party source.
If that is the case, you have to have some way to ensure that the relevant machines have the right libraries (32 bit or 64 bit) installed. You need to do this whichever platform you use.
If no native libraries are involved then you are mistaken that your application requires a 32 bit JRE. Pure Java applications are 32 / 64 bit agnostic.
Upvotes: 2