QUOTE: |
#!/bin/sh # S. Correia # 2007 11 21 # A simple script to patch the java library in order # to solve the problem with "Assertion 'c->xlib.lock' failed." # see bug http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6532373 LIB_TO_PATCH=libmawt.so for f in `find $JAVA_HOME -name "$LIB_TO_PATCH"` do echo "Patching library $f" #sudo sed -i 's/XINERAMA/FAKEEXTN/g' "$f" sed -i 's/XINERAMA/FAKEEXTN/g' "$f" done |
[火星人 ] 修復ubuntu中java執行的Locking assertion failure已經有505次圍觀