No, lots of software comes in 32-bit and 64-bit varieties besides the OS. You need to check the documentation of whatever software you intend to install if it runs on one, the other, or both varieties. Luckily, the Tomcat requirements page has all that information.