[Bug 296880] Re: Vuze won't launch if default Java is not Java 6

2009-09-02 Thread Adrian Perez
Since 4.2.0.4-1 (now in karmic), has been fixed.

** Changed in: azureus (Ubuntu)
   Status: Confirmed => Fix Committed

** Changed in: azureus (Ubuntu)
 Assignee: (unassigned) => Adrian Perez (adrianperez-deb)

** Changed in: azureus (Ubuntu)
   Status: Fix Committed => Fix Released

-- 
Vuze won't launch if default Java is not Java 6
https://bugs.launchpad.net/bugs/296880
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 296880] Re: Vuze won't launch if default Java is not Java 6

2009-09-02 Thread Adrian Perez
Hello everybody.
The use of java-wrappers in the azureus launcher since version 4.2.0.4-1 has 
solved most of the issues I've seen in this post. Azureus is reported to run 
only on sun's or openjdk jvm, according to upstream devs. 
That's why I don't use alternatives, but the launcher script should be able to 
detect and set settings for sun (at least 5) or openjdk. 
Please report if you think it runs properly in another JVM.

-- 
Vuze won't launch if default Java is not Java 6
https://bugs.launchpad.net/bugs/296880
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 296880] Re: Vuze won't launch if default Java is not Java 6

2009-08-19 Thread Stefano Maioli
** Changed in: azureus (Ubuntu)
   Status: In Progress => Confirmed

** Changed in: azureus (Ubuntu)
 Assignee: Stefano Maioli (smaioli) => (unassigned)

-- 
Vuze won't launch if default Java is not Java 6
https://bugs.launchpad.net/bugs/296880
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 296880] Re: Vuze won't launch if default Java is not Java 6

2009-05-11 Thread wensveen
@Aldrin: Yes, you're right. Hmm, I guess it's not possible to have the
dependencies conflict with all java runtimes below java 6. Or at least,
this would be undesirable.

At the very least Aldrin's 1st suggestion should be done. It is indeed
simply *wrong*. When we also depend on 'openjdk-6-jre | sun-java6-jre',
fiXedd script is okay, because we know at least one of them is
installed. A more complicated, but also more correct option would be to
first check /etc/alternatives, and when that results in a java version
below 6, fall back to fiXedd script.

Actually, /etc/alternatives/java is kind of incorrect, IMO. Because
java5 and java6 are seperate products, and it is completely viable to
run them alongside each other, there should be an
/etc/alternatives/java5 and /etc/alternatives/java6 (../java7). At least
for versions that are not completely compatible.

-- 
Vuze won't launch if default Java is not Java 6
https://bugs.launchpad.net/bugs/296880
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 296880] Re: Vuze won't launch if default Java is not Java 6

2009-04-30 Thread Aldrin Martoq
@wensveen: If I understand correctly, your proposition doesn't fix the
bug. I have installed both sun-java-5-* and openjdk-6-jre, and my java
preference is set to java5.

My proposal is:
1.- Remove sun-java5-jre from dependencies, since it is simply wrong.
2.- As a temporal fix, either:
-- Remove sun-java6-jre form dependencies, leave opendjk6-jre and the script 
will work as it is
-- Leave openjdk6-jre | sun-java6-jre as dependencies but fix the script, as 
@fiXedd proposal or something that "respects" the /etc/alternatives (only if 
the user choosed a java6 jre).

-- 
Vuze won't launch if default Java is not Java 6
https://bugs.launchpad.net/bugs/296880
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 296880] Re: Vuze won't launch if default Java is not Java 6

2009-04-27 Thread wensveen
Why not use the /etc/alternatives system for this? When the dependencies
have been set to only allow java versions higher than (or equal to)
version 6, this poses no problem, does it?

-- 
Vuze won't launch if default Java is not Java 6
https://bugs.launchpad.net/bugs/296880
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 296880] Re: Vuze won't launch if default Java is not Java 6

2009-04-25 Thread fiXedd
Implementing John's proposed fix would have been ideal. However, what
happened was that it was made to depend on one of "openjdk-6-jre | sun-
java5-jre | sun-java6-jre" where as the script will only actually allow
one of those to work. Even something like the following would be better
(though still not ideal since it doesn't respect preferences):

if [ -f /usr/lib/jvm/java-6-openjdk/jre/bin/java ]; then
JAVA='/usr/lib/jvm/java-6-openjdk/jre/bin/java -Xmx1024M'
else
if [ -f /usr/lib/jvm/java-6-sun/jre/bin/java ]; then
JAVA='/usr/lib/jvm/java-6-sun/jre/bin/java -Xmx1024M'
else
JAVA='/usr/bin/java -Xmx1024M'
fi
fi

-- 
Vuze won't launch if default Java is not Java 6
https://bugs.launchpad.net/bugs/296880
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 296880] Re: Vuze won't launch if default Java is not Java 6

2009-04-24 Thread Wilbert Volkers
I've also updated from 8.10 to 9.04, and i have java6 installed. It will
still not work because the path to the java executable has changed. To
fix it:

$ sudo gedit /usr/bin/azureus

change

JAVA='/usr/lib/jvm/java-6-openjdk/jre/bin/java -Xmx1024M'

to

JAVA='/usr/lib/jvm/java-6-sun/jre/bin/java -Xmx1024M'

-- 
Vuze won't launch if default Java is not Java 6
https://bugs.launchpad.net/bugs/296880
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 296880] Re: Vuze won't launch if default Java is not Java 6

2009-04-23 Thread Aldrin Martoq
I've updated from 8.10 to 9.04, now vuze/azureus is not working.

The /usr/bin/azureus script has /usr/lib/jvm/java-6-openjdk/jre/bin/java
hardwired, but I don't have java6 installed in my machine only sun-
java5-*. If I change the script, I got the "class version" problem.

Please fix the script (It's harwired to openjdk) and fix the dependencies, so 
updates don't break and make the package unusable. Current in azures is:
Depends: openjdk-6-jre | sun-java5-jre | sun-java6-jre, libcommons-cli-java, 
liblog4j1.2-java, libswt-gtk-3.4-java


Thanks,

-- 
Vuze won't launch if default Java is not Java 6
https://bugs.launchpad.net/bugs/296880
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 296880] Re: Vuze won't launch if default Java is not Java 6

2008-11-29 Thread Stefano Maioli
@John: I propose implementing your suggested fix only in the Intrepid
SRU, leaving the startup script in Jaunty the way it is. Otherwise when
new java versions will come out things will break (it will be the time
for jdk 7 sooner or later). After all, since we will depend on
java6-runtime, a java6 jre will be the default unless a user decided to
call update-alternatives himself.

-- 
Vuze won't launch if default Java is not Java 6
https://bugs.launchpad.net/bugs/296880
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 296880] Re: Vuze won't launch if default Java is not Java 6

2008-11-23 Thread Stefano Maioli
** Changed in: azureus (Ubuntu)
 Assignee: (unassigned) => Stefano Maioli (smaioli)
   Status: Triaged => In Progress

-- 
Vuze won't launch if default Java is not Java 6
https://bugs.launchpad.net/bugs/296880
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 296880] Re: Vuze won't launch if default Java is not Java 6

2008-11-23 Thread bugmenot
Is there any progress regarding this bug?
Is it already fixed? On http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=495514 
seem to exist patches for the wanted behaviour.

-- 
Vuze won't launch if default Java is not Java 6
https://bugs.launchpad.net/bugs/296880
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 296880] Re: Vuze won't launch if default Java is not Java 6

2008-11-11 Thread John Dong
I think it's time for us to bite the bullet and do this... We are pretty
sure that only OpenJDK6 and Sun Java6 run Azureus correctly. I think if
we compile with class compatibility with Java 1.5 we can get sun-java5
working too.

Stefano and I talked a bit about this before, I think we should hardcode
the launcher to prefer OpenJDK6, then sun-java6, then if both are not
present then we respect the /usr/bin/java symlink. In addition, we
should add an AZUREUS_FORCE_JAVA type of environment variable to respect
/usr/bin/java no matter what.

** Changed in: azureus (Ubuntu)
   Importance: Undecided => Medium
   Status: New => Triaged

-- 
Vuze won't launch if default Java is not Java 6
https://bugs.launchpad.net/bugs/296880
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs