azavea / ansible-java

An Ansible role for installing Java.
Apache License 2.0
4 stars 15 forks source link

Missing libxtst6:i386 #4

Open flibbertigibbet opened 9 years ago

flibbertigibbet commented 9 years ago

Possibly a reincarnation of this bug.

Oracle Java sometimes will throw exceptions in use if the 32-bit version of libxtst6 cannot be found; this doesn't happen on desktop Ubuntu installs, as there's an assistive technology library that depends on it.

To install, multiarch support must be enabled:

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libxtst6:i386
flibbertigibbet commented 9 years ago

Actually, there are more libraries missing. As suggested here, one workaround is to install openjdk-7-jdk:i386, just to pull in the 32-bit library dependencies. That worked for me, but probably isn't a very good solution.