LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 06-07-2011, 01:20 PM   #1
nbob
Member
 
Registered: Nov 2010
Posts: 45

Rep: Reputation: 0
Question Java problems with Linux Mint Debian


Hi. For the past year or so, I have long been living with "buggy" linux and it doesn't matter which distro I choose. The problems crop up when I try to run a java application. Specifically, pogo.com card games.
The way the game works is that you choose a room to play in. Then a small room window comes up after about 30 sec. Then you choose a table, and wait another 30 sec or so. After that, you're at the table and ready to start the game with your opponents.

After playing it this way 2-3 times, that last window before playing the game will freeze up. After that, I had to close out both game windows and reboot.

I soon discovered, however, that I can get the game to re-load quicker than doing a reboot. If I clear the firefox cache and then reload the room window, I can enter the game without it hanging up.

But this fix only works temporarily; and I've tried increasing my cache size but this didn't help the situation.

Is this a problem with sun-java-6, the linux os, firefox, or pogo?

Is there any way to revert to an earlier version of java or linux or firefox that might fix the problem?
I never had the problem until about a year ago. The problem only occurs in linux, my windows OS (windows 7) has no such issues.

Thanks for the help.
 
Old 06-07-2011, 06:53 PM   #2
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Debian, SL
Posts: 5,216

Rep: Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121
Have you tried using openjdk instead of sun java? All my java problems went away after making the switch.

Evo2.
 
Old 06-08-2011, 11:00 AM   #3
nbob
Member
 
Registered: Nov 2010
Posts: 45

Original Poster
Rep: Reputation: 0
OpenJDK

Hello. How do I enable openJDK? The only firefox plugin I have installed is sun java. I guess I need the openJDK plugin somehow.
 
Old 06-08-2011, 05:35 PM   #4
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Debian, SL
Posts: 5,216

Rep: Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121
Quote:
Originally Posted by nbob View Post
How do I enable openJDK?
You need to install it first.

Evo2.
 
Old 06-08-2011, 10:41 PM   #5
nbob
Member
 
Registered: Nov 2010
Posts: 45

Original Poster
Rep: Reputation: 0
Question

It's already installed but there's no plugin anywhere to be found.

Here's what synaptic said I have installed now:

openjdk-6-jre-lib
openjdk-6-jre
openjdk-6-jre-headless
icedtea-6-jre-cacao
 
Old 06-08-2011, 10:57 PM   #6
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Debian, SL
Posts: 5,216

Rep: Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121
Code:
$ apt-cache search openjdk browser plugin
icedtea-plugin - web browser plugin based on OpenJDK and IcedTea to execute Java applets
libreoffice - office productivity suite
$ sudo aptitude install icedtea-plugin
Then restart your browser.

Evo2.
 
Old 06-08-2011, 11:13 PM   #7
nbob
Member
 
Registered: Nov 2010
Posts: 45

Original Poster
Rep: Reputation: 0
Unhappy

Still no luck here. When I try to install I get the following output:
sudo apt-get install icedtea-plugin
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package icedtea-plugin is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'icedtea-plugin' has no installation candidate

Also, I was able to add to my sources.list file so that icedtea plugin is now visible in synaptic. But when I try to install from synaptic I get this:

The following packages have unresolvable dependencies. Please make sure that all required repositories are added and enabled in the preferences.
icedtea6-plugin:
Depends: openjdk-6-jre (=6b18-1.8.7-2~squeeze1) but 6b18-1.8.7-5 is to be installed

thanks for the help.

Last edited by nbob; 06-08-2011 at 11:24 PM.
 
Old 06-08-2011, 11:19 PM   #8
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Debian, SL
Posts: 5,216

Rep: Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121
Ok, sorry I'm working on a real Debian system... seems packages are missing in LMDE. You should probably file a bug report to LMDE.

Evo2.
 
Old 06-09-2011, 09:52 AM   #9
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,732
Blog Entries: 12

Rep: Reputation: 456Reputation: 456Reputation: 456Reputation: 456Reputation: 456
icedtea6-plugin isn't in Wheezy/Testing repo it is in sid

http://packages.debian.org/search?ke...searchon=names
 
Old 06-09-2011, 02:24 PM   #10
nbob
Member
 
Registered: Nov 2010
Posts: 45

Original Poster
Rep: Reputation: 0
Question

Can i somehow add the sid repo to my /etc/apt/sources.list ?
 
Old 06-09-2011, 02:42 PM   #11
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,732
Blog Entries: 12

Rep: Reputation: 456Reputation: 456Reputation: 456Reputation: 456Reputation: 456
Quote:
Originally Posted by nbob View Post
Can i somehow add the sid repo to my /etc/apt/sources.list ?
Sure just copy the Testing line and change testing/wheezy to sid, run apt-get update, then you should be able to do apt-get install icedtea6-plugin.

Although the problem sounds more like a cookie issue than a java problem, openjdk and sun/oracle-java work exactly the same.
 
Old 12-08-2011, 12:36 AM   #12
nbob
Member
 
Registered: Nov 2010
Posts: 45

Original Poster
Rep: Reputation: 0
Found the Culprit

Hello. Thanks for the help.

It seems the various Firefox add-ons were consuming my memory. So I disabled 3 of them and now things are running super. So I guess the lesson is to be careful with installing more than a couple of addons. I had about 5: LastPass, AdBlock Plus, StumbleUpon, TabUtilities Lite, and XMarks. I have now disabled all of them except for LastPass and XMarks, and no more pogo crashes!
 
  


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 or Linux Mint? benc1213 Linux - Newbie 5 05-22-2011 07:44 AM
LXer: Linux Mint Xfce - a new spin based on Debian Testing, plus questions answered by Mint guru Cle LXer Syndicated Linux News 0 04-14-2011 04:00 AM
Invoking java from a bash terminal via shell script fails under Mint Debian rizwanjavaid Programming 3 02-16-2011 01:36 PM
Java for Linux mint? lalabrina007 Linux - Newbie 2 12-21-2010 11:55 AM
Is there a substantial difference between Linux Mint Ubuntu and Linux Mint Debian? schachwizard Linux Mint 4 10-09-2010 11:27 PM


All times are GMT -5. The time now is 08:51 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration