Comment 83 for bug 86103

Revision history for this message
Sascha Grossenbacher (berdir) wrote :

Ok, that one is a bit complexer, because the installer does unpack its own version.

Perhabs someone does know a better way, but I think, you need to fix the libawt.so on the fly between "Unpacking the JRE..." and "Launching installer.."

1. Prepare two shells, on for the installer, one for the sed command

2. Save the following lines to a bash script (for exampe fixJava.sh)

#!/bin/bash

for file in `find /tmp -name "*awt.so"`; do
 echo $file
 sudo sed -i 's/XINERAMA/FAKEEXTN/g' $file
done

3. make that file executable: chmod u+x <filename>

4. enter the name of the file, but don't start it.. ./fixJava.sh

5. in the other shell, start the Maple Installer

6. Wait for the Line "Extracting the installation resources from the installer archive...", then start the fixJava.sh script

7. Install Maple ;)

PS: the script should work for the normal java installation too.. just change /tmp to /usr/lib/jvm and call it with sudo