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

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.



Their comments

thanks. this was really helpful.
sad dolls () (URL) - 14 09 09 - 10:26

Your comment

  
Remember personal info?

Emoticons / Textile

Comment moderation is enabled on this site. This means that your comment will not be visible on this site until it has been approved by an editor.

To prevent automated comment spam, we require you to answer this challenging question
 

  (Register your username / Log in)

Notify:
Hide email:

Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.