LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-04-2009, 04:54 AM   #1
iPenguin
LQ Newbie
 
Registered: Sep 2008
Posts: 12

Rep: Reputation: 2
Both Azureus and Eclipse working in Debian/etch with Java 1.6


Solved: to have Eclipse and Azureus (now called Vuze) running with no conflicts in Debian/etch with Java 1.6

Here is what I did:

You will want to uninstall Azureus and Eclipse if currently installed.
Then install Eclipse, run it to confirm it works.
Then follow the steps below for installing Azureus.
We will be getting the latest version from Sourceforge.

1. get azureus from sourceforge.
A. click on the frog icon labeled jar (to download the file)
http://azureus.sourceforge.net/download.php

2. make a location for the jar file
/usr/local/azureus/

3. put the file (Azureus4.0.0.4.jar) in /usr/local/azureus/

4. make a shell script to run azureus named (azureus.sh)

Use this for contents:

#!/bin/sh
JAVA='java -Xmx1024M'
if [ -d ~/.azureus ]; then
cd ~/.azureus
else
if [ ! -d ~/.azureus ]; then mkdir ~/.azureus; fi
cd ~/.azureus
fi
exec $JAVA -Djava.library.path=.:/usr/lib/jni:/usr/lib \
-classpath Azureus4.0.0.4.jar:swt.jar:/usr/local/azureus/Azureus4.0.0.4.jar:$JARS \
org.gudy.azureus2.ui.common.Main "$@"

# end of script

5. save the file azureus.sh to /usr/local/azureus/, and chmod 755

6. make a desktop icon/launcher to start azureus (gnome)
A. right-click on the desktop
B. choose (create launcher) from the pop-up menu
- Fill in the launcher data:
C. on basic tab: give it a name: Azureus or Vuze if you want
D. under launcher tab:
Description: BitTorrent client
(to run as root) Command: gksu /usr/local/azureus/azureus.sh %U
(or to run as user) Command: /usr/local/azureus/azureus.sh %U
Comment: peer-to-peer file distribution tool
E. save the launcher

If you want to get a cool Azureus frog icon, which can be added to the launcher later, go here:
http://www.iconarchive.com/show/glas...reus-icon.html

Now you can run Azureus from the launcher, and still be able to run Eclipse.

Note, you may need to set a default for java:
1. type this at shell: update-alternatives --config java
2. select the latest version that you have (need 1.5 at least, i am using 1.6)

EXAMPLE
blackbox:/home/me# update-alternatives --config java

There are 4 alternatives which provide `java'.

Selection Alternative
-----------------------------------------------
1 /usr/bin/gij-wrapper-4.1
2 /usr/lib/jvm/java-1.5.0-sun/jre/bin/java
+ 3 /usr/lib/jvm/java-gcj/jre/bin/java
* 4 /usr/lib/jvm/java-6-sun/jre/bin/java

Press enter to keep the default[*], or type selection number:

- - - - -

This worked for me, and although I haven't tested both programs extensively, they do start and run without issues so far.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian Etch and Eclipse Europa karnaf Debian 2 09-09-2007 01:26 PM
Azureus on Debian Etch bookie Linux - Newbie 1 06-29-2007 07:14 AM
java runtime on debian etch bookie Linux - Newbie 3 06-28-2007 05:58 AM
Azureus stopped working, problem with Java I think kryptobs2000 Linux - Software 7 09-19-2005 03:13 PM
Eclipse on Debian Sid and Java 1.5 compatibility dreambrother Programming 1 11-17-2004 06:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration