<<Previous Archive | Next Archive>>

BlogBridge on Debian or Ubuntu Needs Sun Java good 0 bad 0

I was unable to get my BlogBridge installation to work on my Debian Linux PC. When I executed the

blogbridge.sh

command to launch BlogBridge, I received many Java-related errors.

Research on this led me to the discovery that Debian 4.0 (Etch) includes the GNU version of Java, while BlogBridge requires Sun's Java 5.

Getting Sun Java5 onto Debian 4.0 (Etch)

A search for "java5" or "sun-java" using apt-cache produced no results -- quite a surprise!

The solution is: Sun's Java5 is not available in the standard Debian Etch package list. To get it, you need to add access to the "non-free" packages to your /etc/apt/sources.list file.

In my case (working from the United States), this was accomplished by adding the following lines to my /etc/apt/sources.list file:

#non-free: for sun-java5
deb http://ftp.us.debian.org/debian/ etch main non-free
deb-src http://ftp.us.debian.org/debian/ etch main non-free

After saving the edits, I executed:

apt-get update

to update the packages my local Debian system was aware of.

Using apt-get to get Sun Java5

With the non-free packages now available, I was able to bring Sun Java5 onto my system:

apt-get install sun-java5-jre
apt-get install sun-java5-jdk

With Sun Java5 installed, BlogBridge runs!

With Sun Java5 installed, I returned to my BlogBridge directory and excecuted:

./blogbridge.sh

Almost immediately, I saw BlogBridge starting up! I now have BlogBridge installed and running on my Debian 4.0 (Etch) system.



Keywords: blogbridge,debian,ubuntu