Reputation: 961
I need to install 32 bit JAVA to get SOS JobScheduler to work however I'm not sure what would be the right command for it. sudo apt-get install default-jre would install the 64 bit version...
Upvotes: 5
Views: 16198
Reputation: 83587
sudo apt-get install default-jre:i386
Explanation:
In Debian (and Ubuntu, which is based on it), you can install the same package for multiple architectures side by side - this is called "multiarch". When installing a package, the part after the colon indicates the architecture (in this case i386, i.e. 32bit). Without the colon part, you get the default architecture. See the MultiarchHOWTO for details.
Upvotes: 4