Fedora Linux Support Community & Resources Center
  #1  
Old 14th March 2010, 06:06 PM
GoinEasy9's Avatar
GoinEasy9 Online
Registered User
 
Join Date: May 2009
Location: Manorville, New York, USA
Posts: 1,577
linuxfedorafirefox
OpenJava/Ameritrade working

I use two of my Fedora boxes for trading stocks by running Ameritrades Command Center. It required the use of Sun's Java jre, another free but not open app that I had to install. After the update on 3/11 my F12 install started segfaulting Firefox, just as Command Center would have finished it's setup (I see in bugzilla others have had a problem similar #567385). So why am I telling you all this. Well, my F13 Alpha install was sitting next to the segfaulting F12 box, I was not home, so my wife turned on the F13 box, went into Ameritrade and ran Command Center from it, without Sun's Java installed. I confirmed this today by running it myself and checking to see what Java apps were installed. Openjdk is the only app there. None too soon, because I was going to experiment with Firefox 3.6, jre 1.6.0_18 and the revised plugin today. I never thought to check to see if Openjdk had improved to the point where I didn't need Sun's Java any more.

So much for 13 being an unlucky number. So far, I haven't had to use the Nvidia binary blob, and now Sun's Java doesn't need to be installed. Some more testing I guess to make sure, but F13 so far is making me a happy camper.
__________________
Registered Linux User #348347
Have you been seduced by siduction? http://siduction.org/index.php
Running Fedora 17/18, siduction and openSUSE Tumbleweed with KDE
  #2  
Old 5th April 2010, 07:37 PM
PabloTwo's Avatar
PabloTwo Online
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 5,118
linuxfirefox
Re: OpenJava/Ameritrade working

Quote:
Originally Posted by GoinEasy9
I was going to experiment with Firefox 3.6, jre 1.6.0_18 and the revised plugin today.
I got to this thread searching the forum for clues to why FF 3.6.3, which I just installed a couple of hours ago, doesn't pick up the Sun JRE 1.6.0_19 browser plugin. Running the F12 installed FF 3.5.9 has no problems picking it up. FF 3.6.3 picks up all the other plugins in /usr/lib/mozilla/plugins/. I even created a symlink to the jre plugin in /opt/firefox/plugins/ (that's the 3.6.3 install location) and it's still a no show. Funny, because I only realized the java plugin wasn't working in 3.6.3 after logging into Ameritrade and then attempting to launch Command Center2, which rudely informed me I was missing a needed java runtime plugin.

Guess I'll try installing the F13 version of openJDK into F12 (if that's possible without running into dependency hell issues) and give that one a try with FF 3.6.3. But I'd be happier if I can figure out how to get the Sun java browser plugin to recognized in FF 3.6.3.

Last edited by PabloTwo; 5th April 2010 at 07:50 PM.
  #3  
Old 5th April 2010, 07:49 PM
GoinEasy9's Avatar
GoinEasy9 Online
Registered User
 
Join Date: May 2009
Location: Manorville, New York, USA
Posts: 1,577
linuxfedorafirefox
Re: OpenJava/Ameritrade working

Yes, I was pleasantly surprised by the advancements in OpenJDK. For me, FF 3.5.8 was the start of my problems with Sun's Java. If I remember correctly 1.6.0_18 needed a patch, and 1.6.0_19 had the patch included, or something like that. I made the mistake of removing the plugin while experimenting to get it to work, then not being able to reinstall it to a useful state after that. It seems that FF 3.5.8 and 3.5.9 are not compatible with the plugin, heh, but your having the exact opposite problem.
Funny, my FF is only 3.6.2, and there's nothing in the updates.
Anyway, there's no JRE here and we're using Command Center daily for business, hope OpenJDK works for you.
__________________
Registered Linux User #348347
Have you been seduced by siduction? http://siduction.org/index.php
Running Fedora 17/18, siduction and openSUSE Tumbleweed with KDE
  #4  
Old 5th April 2010, 08:05 PM
PabloTwo's Avatar
PabloTwo Online
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 5,118
linuxfirefox
Re: OpenJava/Ameritrade working

Well that's good to know. I just found the solution on another thread though and checked it out. FF 3.6.x no longer supports the libjavaplugin_oji plugin. It's now necessary to use the /opt/jre1.6.0_xx/lib/i386/libnpjp2.so module as the browser plugin. Now, off to check out Command Center 2 again.

I downloaded FF 3.6.3 directly from mozilla.org. I didn't experience any problems with the 1.6.0_18 java plugin in either FF 3.5.8 or 3.5.9, so I don't know where your trouble with it was initiated from. I aborted the openJDK download.
  #5  
Old 5th April 2010, 08:28 PM
GoinEasy9's Avatar
GoinEasy9 Online
Registered User
 
Join Date: May 2009
Location: Manorville, New York, USA
Posts: 1,577
linuxfedorafirefox
Re: OpenJava/Ameritrade working

Yeah, I saw and the support structure of the different plugins/modules, and it's strange, F11 is up to FF 3.5.9 and Sun's JRE and the plugin are working fine there, and I think that version of JRE is 1.6.0_16. All my other machines are running F13 now and I haven't had to use anything but OpenJDK to get Ameritrade working. Whatever works I guess, good luck with the new module.
__________________
Registered Linux User #348347
Have you been seduced by siduction? http://siduction.org/index.php
Running Fedora 17/18, siduction and openSUSE Tumbleweed with KDE
  #6  
Old 5th April 2010, 08:38 PM
PabloTwo's Avatar
PabloTwo Online
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 5,118
linuxfedorafirefox
Re: OpenJava/Ameritrade working

Testing new module libnpjp2.so in FF 3.6.3 @ ameritrade with Command Center 2:

Not good. Two tries..... two strike outs. The CC2 window opens, loads data for several seconds, then FF crashes . Back to FF 3.5.9 for time being.
  #7  
Old 5th April 2010, 09:20 PM
GoinEasy9's Avatar
GoinEasy9 Online
Registered User
 
Join Date: May 2009
Location: Manorville, New York, USA
Posts: 1,577
linuxfedorafirefox
Re: OpenJava/Ameritrade working

That's exactly what happened to me in F12 with FF 3.5.8. Then I turned to my new F13 alpha install with FF 3.6.x (don't remember if it x=0 or 1) and it kept loading, without JRE. I haven't looked back since.
I usually use Dangermouse's instructions from his website to install Sun Java, but I couldn't find the BundleID for 32bit 1.6.0_19. I guess I was lucky not finding it.
__________________
Registered Linux User #348347
Have you been seduced by siduction? http://siduction.org/index.php
Running Fedora 17/18, siduction and openSUSE Tumbleweed with KDE
  #8  
Old 7th April 2010, 07:13 PM
PabloTwo's Avatar
PabloTwo Online
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 5,118
linuxfirefox
Re: OpenJava/Ameritrade working

Followup report:

Probably stretching it a bit as this is really a F12 issue (in the F13 Development forum), but just to provide some finalization to my issue with F12 and the jre libnpjp2.so plugin for FF 3.6.3.....

I managed to crack the nut and get it all working. It's really an SELinux issue, though why I wasn't getting any setroubleshoot AVC popups when those FF crashes occurred, I don't know why. Some more googeling led me to the fix. First tried with selinux set to permissive and it all worked fine on the java.com "test your jvm" page. But leaving selinux in permissive mode wasn't acceptable to me.

Looks like the trick is to chmod the libjvm.so and libdeploy.so files in your jre install. There are 2 instances of libjvm.so, change them both, just to be sure.
Code:
sudo chcon -t textrel_shlib_t /opt/jre1.6.0_19/lib/i386/client/libjvm.so
sudo chcon -t textrel_shlib_t /opt/jre1.6.0_19/lib/i386/server/libjvm.so
sudo chcon -t textrel_shlib_t /opt/jre1.6.0_19/lib/i386/libdeploy.so
Using, of course, the actual path to your jre install location and version. This lets you keep selinux set to enforcing.

Last edited by PabloTwo; 8th April 2010 at 04:38 PM.
 

Tags
openjava or ameritrade, working

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FF 3.5.3 & Ameritrade Command Center GoinEasy9 Using Fedora 0 24th September 2009 01:49 AM
Ameritrade - Firefox - Fedora 11 GoinEasy9 Using Fedora 8 30th August 2009 05:52 AM
F8: Mic not working, sound not working, pulseaudio IS working... garbagio7 Hardware & Laptops 0 5th April 2008 10:06 PM
Fedora 5 - amsn not working, flash not working, java not working =*> try this snecci Using Fedora 6 27th April 2006 11:38 AM
Fedora 5 - amsn not working, flash not working, java not working =*> try this snecci Using Fedora 0 5th April 2006 06:50 AM


Current GMT-time: 22:50 (Saturday, 18-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat