Azureus Java Hotspot Bug

I have been using ubuntu for a few weeks not and have really enjoyed using it. A few glitches still need to be sieved out but still its a wonderful distro.

DEBUG::Mon May 14 22:11:20 SGT 2007::com.aelitis.azureus.core.versioncheck.VersionCheckClient::constructVersionCheckMessage::351:
Plugin 'azbpupnp' reported excessive info string 'howardsky-pc/11,MARCUSTAN: marcus:/3.0,VECTOR: Sridhar:/3.0,U0606145: AdminNUS:/3.0,HOWARDSKY-PC: Howardsky:/4.0,U0408648: Lim:/3.0,IBM-R51: AdminNUS:/3.0,nus-pc/11,TONYER: Tony:/3.0,KARISH-PC: karish:/4.0,LENOVO-7E809734: Thilina:/3.0,U0303074: sianchun/1.0,COFFEE: Sun Coffee:/3.0'
VersionCheckClient::getVersionCheckInfo::103,VersionCheckClient::getExternalIpAddress::138,AZMyInstanceImpl::readExternalAddress::207,AZMyInstanceImpl::getExternalAddress::336,AZInstanceImpl::encode::47,AZInstanceManagerImpl::sendMessage::348,AZInstanceManagerImpl::sendMessage::330,AZInstanceManagerImpl$request::::1213,AZInstanceManagerImpl::sendRequest::1172,AZInstanceManagerImpl::search::661,AZInstanceManagerImpl$4::runSupport::241,AEThread::run::69
#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xb485a172, pid=15344, tid=3084807056
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0-b105 mixed mode, sharing)
# Problematic frame:
# C [libglibjni-0.4.so+0x9172]
#
# An error report file with more information is saved as hs_err_pid15344.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
Aborted

This above bug is really troublesome. I installed Azureus through add/remove. It worked like a charm for a few minutes and then suddently crashed. After that, I started receiving this message, and Azureus would fail to start. The reason is that the packages in repos are still old and won't work with jre 1.5 and higher.

The fix is very simple. Download the Azureus2.jar from the
latest Azureus 2.5 Release [2.5.0.4].
Replace it in /usr/share/java/


and it starts working again ;)