Embedding 32-bit Java in a 64-bit world

I have a 64-bit version on Windows 7. Naturally, I’ve been using the 64-bit versions of Eclipse and the JDK as well.

However, I want my programs to run on 32-bit versions of Windows. When I built a setup file for one of my programs, the .exe program that starts the game exited because I was using a 32-bit .exe file with a 64-bit JVM. I could change it to a 64-bit .exe, but then it wouldn’t run on 32-bit operating systems. It appears that I must now install the 32-bit JDK (and possibly the 32-bit version of Eclipse to use it).

I realize that the byte code isn’t dependent upon the version of JVM it was compiled with, but it doesn’t matter. I need to embed a 32-bit JRE because a 64-bit JRE won’t run on 32-bit operating systems. I might as well compile the code with the 32-bit JVM because I have no reason to keep the 64-bit JDK while using the 32-bit version.

I guess this isn’t a question or anything - I just find it irritating that there’s one more thing I have to mess around with. I was oddly excited that I was working with all these 64-bit programs, and it’s a little disappointing that I’m going to be using the 32-bit versions.