LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   azureus warning box popup is [explitive] (https://www.linuxquestions.org/questions/linux-newbie-8/azureus-warning-box-popup-is-%5Bexplitive%5D-508288/)

pharmd 12-07-2006 01:35 PM

azureus warning box popup is [explitive]
 
azureus decided it needs to tell me that the program didnt shut down tidily the previous time by displaying this message in a yellow warning box that takes up half the screen.

You would think clicking on the hide button would close the box but it doesnt.

the killall gnome-panel gets rid of the box but also kills azureus.

the xkill command will not even get rid of this beast.

any ideas on how to get rid of this madness once and for all?

cellarlight 12-07-2006 07:08 PM

install the latest Java. Many times the Java that comes from apt-get isn't any good for Java intense programs.

Link to Java download
http://java.sun.com/j2se/1.5.0/download.jsp
You need the JRE 5.0

Install.

Use this to set your Java to the new install:
Code:

update-alternatives --config java
You have to make sure that the newest version of Java is the default Choose used by your system.

pharmd 12-07-2006 11:28 PM

I updated java using this guide http://ubuntuguide.org/wiki/Ubuntu_d...v5.0_Update_10

and i still get the same damn message that wont go away

cellarlight 12-08-2006 07:50 AM

What do you get when use this bash command:
Code:

dpkg -l sun-j2re\*
If you are using Jre 5.0 or it might say Jre 1.5 you don't need the next step, but if it says jre 1.4 or lower then you need to switch your Java.

A lot of systems are setup to only switch Java when specifically told too. You can do that with this command:
Code:

update-alternatives --config java

pharmd 12-08-2006 08:27 AM

When i type dpkg -l sun-j2re\* this is the output


dpkg -l sun-j2re\*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii sun-j2re1.5 1.5.0+update10 Java(TM) 2 RE, Standard Edition, Sun Microsy
un sun-j2re1.5deb <none> (no description available)


Also when i type update-alternatives --config java the output is

update-alternatives --config java

There are 5 alternatives which provide `java'.

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

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

Which do I select?

cellarlight 12-08-2006 12:58 PM

You have the right default(5) set. Maybe, try 4 and if it doesn't work I would switch it back to 5.

You can also open your azureus script located in your azureus directory and manually change the location that it should look for java.
Code:

look_for_java()
{
  JAVADIR=/usr/java

change the "/usr/java" to what is reflected in your file system. Something like "/usr/lib/j2re1.5-sun" or "/usr/lib".


All times are GMT -5. The time now is 11:17 PM.