LinuxQuestions.org
Visit Jeremy's Blog.
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-20-2015, 04:45 PM   #1
hengerch
LQ Newbie
 
Registered: May 2015
Posts: 3

Rep: Reputation: Disabled
My first problem is not related to Linux OS, but to the Java plugin in Firefox


Linux Mint 17.1 Rebecca 32 bit, is functioning without problems, on my Acer Aspire 5602WLMi Laptop. I followed all recommendations on the website: sites.google.com/site/computertip/, a very helpfull site in dutch language. But in one point I did not succeed. With Windows XP OS, I used to play cards online on http://www.kaartspellen-online.nl/ Well, I tried to play the game in Linux, but it would not start because of Java was not installed. So I followed the instructions on the before mentioned website, and managed to install the appropiate Java applet, and activated the plugin 1.8.45 in Firefox. Everything ok I thought, but when starting the game I got the message: Game blocked by Java security. After reading several instructions of Java to this problem, the solution was to add the website of the game in the Java Control Panel, to the exception site list. So far so good, but the result was the same every time; the message: Game blocked by Java security. In the end I was tired of it, and I managed to play the game with the IcedTea 7 plugin, but I have always trouble with the picture "images/java_notfound.png" which is covering the middle of the playfield. I admit, this is a minor problem but to me very frustrating.
 
Old 06-21-2015, 12:29 PM   #2
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: Oregon, USA
Distribution: Lubuntu 14.04, Windows Vista
Posts: 5,160
Blog Entries: 3

Rep: Reputation: 691Reputation: 691Reputation: 691Reputation: 691Reputation: 691Reputation: 691
Hi...

Welcome to the forum

Yes, I've dealt with this on a few occasions myself. Oracle has tightened the security of Java with the release of version 8. Unfortunately, their approach, or perhaps bugs in the software, has led to the situation you've described.

What has worked for me in the past is to uninstall version 8, if that is what you have installed, and install version 7, which you can find here. Now, the version I've linked to appears to be 1.7.0_76. From what I understand here, starting with update 51, new security rules were implemented to forbid the program from running unsigned applets. Even still, I think versions after 51 are still easier than 8 to get things running. While version 7 is older and probably has more security holes, you might get more functionality. Kind of a trade off.

Let us know how it turns out.

Regards...

Last edited by ardvark71; 06-22-2015 at 05:24 PM. Reason: Correction.
 
1 members found this post helpful.
Old 06-21-2015, 01:48 PM   #3
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 2,323
Blog Entries: 1

Rep: Reputation: 447Reputation: 447Reputation: 447Reputation: 447Reputation: 447
For games I tend to add a workaround.conf file in /etc/ld.so.conf.d/ with the location of java's lib directory and run ldconfig.

# echo "/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64" > /etc/ld.so.conf.d/workaround.conf
# ldconfig

Pretty much the same if I'm running oracles version, just a different location. The plugin for firefox ends up in /usr/lib/mozilla/plugins/ in debian. Which tends to be a symlink to /etc/alternatives/... which is another symlink to the actual location. I'm a little rusty as to why I do this, but I think it had to do with opengl support (in browser) not working without it. Which you also need the jogl (java open gl) libs to have work.

# apt-get install libjogl2-java

For debian stable at least. YMMV. The workaround.conf is to help java find java. There's another trick for it by putting that in LD_PRELOAD or some such that doesn't require rootly actions. Plus other optimizations in shell variables as documented on most game forums that are java and browser based like runescape.
 
Old 06-22-2015, 04:21 PM   #4
hengerch
LQ Newbie
 
Registered: May 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ardvark71 View Post
Hi...

Welcome to the forum

Yes, I've dealt with this on a few occasions myself. Oracle has tightened the security of Java with the release of version 8. Unfortunately, their approach, or perhaps bugs in the software, has led to the situation you've described.

What has worked for me in the past is to uninstall version 8, if that is what you have installed, and install version 7, which you can find here. Now, the version I've linked to appears to be 1.7.0_76. From what I understand here, new security rules were implemented to forbid the program from running unsigned applets. Even still, I think versions after 51 are still easier than 8 to get things running. While version 7 is older and probably has more security holes, you might get more functionality. Kind of a trade off.

Let us know how it turns out.

Regards...
Hi Ardvark71,
your reply was very helpfull, in the way that I easily installed oracle java version 7, and activated the Java(TM) Plugin 10.80.2 in Mozilla Firefox. But one thing I do not understand, the problem with the picture "java_notfound.png" is the same. Every time after starting the game, the picture shows up and blocks the middle of the playfield, and in that way playing the game is not possible. I managed to get rid of the picture by blocking all pictures in the game and starting the game again, but the next time I start the game, all pictures are gone, and I have again unblock the pictures to start the game, and then this "java_notfound.png" picture shows up again. I tried already everything to get rid of this picture but till now without result. Perhaps you have also a solution for this frustrating problem.

Best Regards from Holland.
Hengerch
 
Old 06-22-2015, 11:10 PM   #5
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: Oregon, USA
Distribution: Lubuntu 14.04, Windows Vista
Posts: 5,160
Blog Entries: 3

Rep: Reputation: 691Reputation: 691Reputation: 691Reputation: 691Reputation: 691Reputation: 691
Hi Hengerch...

Could you upload a screenshot of "java_notfound.png" as you're seeing it?

Greetings from the United States!

Last edited by ardvark71; 06-23-2015 at 01:54 AM. Reason: Changed information.
 
Old 06-23-2015, 02:54 PM   #6
hengerch
LQ Newbie
 
Registered: May 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hengerch View Post
Hi Ardvark71,
your reply was very helpfull, in the way that I easily installed oracle java version 7, and activated the Java(TM) Plugin 10.80.2 in Mozilla Firefox. But one thing I do not understand, the problem with the picture "java_notfound.png" is the same. Every time after starting the game, the picture shows up and blocks the middle of the playfield, and in that way playing the game is not possible. I managed to get rid of the picture by blocking all pictures in the game and starting the game again, but the next time I start the game, all pictures are gone, and I have again unblock the pictures to start the game, and then this "java_notfound.png" picture shows up again. I tried already everything to get rid of this picture but till now without result. Perhaps you have also a solution for this frustrating problem.

Best Regards from Holland.
Hengerch
Hi AdVark71,
here you find the picture, in Dutch language. Translated: Java Not Found
In order to play the game on this website
you first have to download and install Java
Download Java
Well, I do not understand this, because I started the game already with the Java plug-in.
Good luck with it,
Hengerch
Attached Thumbnails
Click image for larger version

Name:	java_notfound.png
Views:	15
Size:	34.6 KB
ID:	18785  
 
Old 06-24-2015, 11:57 AM   #7
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 2,323
Blog Entries: 1

Rep: Reputation: 447Reputation: 447Reputation: 447Reputation: 447Reputation: 447
Some sites have started filtering based on the java version. Some of that is even built into the browser now. So you'll get messages like that when your java is not the "version" of java that they deem blessed. You should also check aboutlugins to make sure the browser sees your java. And the java test page to verify that your java works.

https://www.java.com/verify
 
Old 06-24-2015, 04:14 PM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
also BE AWARE AND WARNED

some sites that tell you to "download" java , direct you to a hacked site to get the download

and you end up installing the malicious code


also some advertising will try to trick you into "just clicking" on a link

Last edited by John VV; 06-24-2015 at 04:15 PM.
 
Old 06-24-2015, 06:37 PM   #9
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: Oregon, USA
Distribution: Lubuntu 14.04, Windows Vista
Posts: 5,160
Blog Entries: 3

Rep: Reputation: 691Reputation: 691Reputation: 691Reputation: 691Reputation: 691Reputation: 691
Hi hengerch...

Just to verify, has Firefox accepted the activation of the Java plugin or has it disabled it?

Regards...
 
Old 06-25-2015, 07:29 AM   #10
ondoho
Senior Member
 
Registered: Dec 2013
Posts: 4,176

Rep: Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835
another thing you can try:
- close your browser completely.
- open with an empty page (or at least not the java game page).
- from preferences => privacy: clear history when ff closes: offline website data, cookies, cache, active logins and site preferences
- close your browser completely.
- try again

this might have unpleasant but mostly harmless side effects on other sites.
if that worked, you can untick the boxes again.
 
  


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
Problem getting java plugin registered in Firefox mski35 Fedora 2 11-17-2008 10:37 PM
jdk, java plugin and firefox problem ricguitar Fedora 19 08-08-2007 02:30 AM
firefox java plugin libstdc++.so.5: problem & solution Blaumieser Mandriva 3 03-31-2007 08:29 PM
Still having a mandrake/firefox/java related problem KezzerDrix Mandriva 4 04-27-2005 11:15 PM
problem installing java plugin - Mozilla firefox chr15t0 Linux - General 2 07-20-2004 05:48 AM


All times are GMT -5. The time now is 10:55 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration