About Compile jucedemo on different platforms

In the case, both machines are 32 bits.
if we build jucedemo.exe on windows xp, can we use it in windows vista without error? or vice versa?

in the case , windows xp is 32 bits and vista is 64 bits.
can we build the jucedemo.exe on one machine and use it on the other or we need to build it separately in these two different platforms?


Yes, it should work on either platform if it’s built for that architecture, but to run on a 64-bit cpu it’d need to be compiled for that.