user1029829
user1029829

Reputation: 961

What is the easiest way to install 32 bit java on 64 bit ubuntu

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

Answers (1)

sleske
sleske

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

Related Questions