LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-07-2006, 01:35 PM   #1
pharmd
Member
 
Registered: Feb 2005
Location: South Carolina
Distribution: Ubuntu 6.06 LTS
Posts: 83

Rep: Reputation: 15
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?
 
Old 12-07-2006, 07:08 PM   #2
cellarlight
Member
 
Registered: Feb 2006
Location: United States
Distribution: Debian Etch, Suse 10.0, Ubuntu Feisty
Posts: 37

Rep: Reputation: 15
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.
 
Old 12-07-2006, 11:28 PM   #3
pharmd
Member
 
Registered: Feb 2005
Location: South Carolina
Distribution: Ubuntu 6.06 LTS
Posts: 83

Original Poster
Rep: Reputation: 15
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

Last edited by pharmd; 12-07-2006 at 11:37 PM.
 
Old 12-08-2006, 07:50 AM   #4
cellarlight
Member
 
Registered: Feb 2006
Location: United States
Distribution: Debian Etch, Suse 10.0, Ubuntu Feisty
Posts: 37

Rep: Reputation: 15
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
 
Old 12-08-2006, 08:27 AM   #5
pharmd
Member
 
Registered: Feb 2005
Location: South Carolina
Distribution: Ubuntu 6.06 LTS
Posts: 83

Original Poster
Rep: Reputation: 15
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?
 
Old 12-08-2006, 12:58 PM   #6
cellarlight
Member
 
Registered: Feb 2006
Location: United States
Distribution: Debian Etch, Suse 10.0, Ubuntu Feisty
Posts: 37

Rep: Reputation: 15
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".

Last edited by cellarlight; 12-08-2006 at 01:03 PM.
 
  


Reply



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
"Script Warning" popup with Search->AdvancedSearch haertig LQ Suggestions & Feedback 9 10-01-2006 12:02 PM
Azureus warning Deelk Fedora 1 03-25-2006 06:59 AM
Text Box popup agallant Programming 2 08-16-2004 12:56 PM
Can I create a popup box that alerts me when someone logs in to my box remotely? davee Linux - Security 1 06-29-2004 03:00 PM
How do I make a message box popup for all users? Joey.Dale Linux - General 3 04-09-2004 12:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:44 PM.

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