LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-25-2013, 07:20 PM   #1
compassnet
Member
 
Registered: Feb 2013
Distribution: Slackware
Posts: 50

Rep: Reputation: 8
Slackware Linux + Internet Banking + Java + Firefox


Hi.

I'm having problems accessing my banking site.

My system is:

Slackware 14.0
Firefox 23.0.1

$ java -version:
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) Server VM (build 23.25-b01, mixed mode)

$ which java:
/usr/local/bin/java

$ whereis java:
java: /usr/local/bin/java /usr/local/java

This is Java's debugging log:

Quote:
Java Plug-in 10.25.2.15
Using JRE version 1.7.0_25-b15 Java HotSpot(TM) Server VM
User home directory = /home/net
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------
basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@1a33efb
basic: Plugin2ClassLoader.addURL parent called for https://www2.bancobrasil.com.br/aapf/idh/GbAs.jar
security: Accessing keys and certificate in Mozilla user profile: null
security: JSS is not configured
network: Cache entry not found [url: https://www2.bancobrasil.com.br/aapf/idh/GbAs.jar, version: null]
network: Connecting https://www2.bancobrasil.com.br/aapf/idh/GbAs.jar with proxy=DIRECT
network: Cache entry not found [url: file:/usr/local/java/lib/ext/sunec.jar, version: null]
network: Cache entry not found [url: file:/usr/local/java/lib/ext/sunjce_provider.jar, version: null]
network: Connecting http://www2.bancobrasil.com.br:443/ with proxy=DIRECT
security: Loading Root CA certificates from /usr/local/java/lib/security/cacerts
security: Loaded Root CA certificates from /usr/local/java/lib/security/cacerts
security: Loading SSL Root CA certificates from /usr/local/java/lib/security/cacerts
security: Loaded SSL Root CA certificates from /usr/local/java/lib/security/cacerts
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
network: Server https://www2.bancobrasil.com.br/aapf/idh/GbAs.jar requesting to set-cookie with "JSESSIONID=ZJlQShNYLrqpG32G2nljLqBF1jTyJTvgKJvJq1Ggkp7wxtKX2GLJ!-1094061917; path=/aapf; HttpOnly"
network: Downloading resource: https://www2.bancobrasil.com.br/aapf/idh/GbAs.jar
Content-Length: 53,434
Content-Encoding: null
network: CleanupThread used 4510 us
network: Wrote URL https://www2.bancobrasil.com.br/aapf/idh/GbAs.jar to File /home/net/.java/deployment/cache/6.0/41/381d22e9-3e193b64-temp
security: Blacklist revocation check is enabled
security: blacklist: Reconstruct cache
security: blacklist: created: NEED_CREATE, lastModified: 1377455386545
security: blacklist: check contains 9nkMeRi0d0g/AAXggifgzA==, state now NEED_CREATE
security: blacklist: check raw /home/net/.java/deployment/security/blacklist.dynamic, false
security: blacklist: check raw /usr/local/java/lib/security/blacklist, false
security: blacklist: check raw /home/net/.java/deployment/security/blacklist, false
security: blacklist: save cache to /home/net/.java/deployment/cache/security/blacklist.cache
security: Trusted libraries list check is enabled
security: Trusted libraries list file not found
cache: Create from verifier: JarSigningData{hasOnlySignedEntries=true, hasSingleCodeSource=true, hasMissingSignedEntries=false}
network: CleanupThread used 3 us
cache: Adding MemoryCache entry: https://www2.bancobrasil.com.br/aapf/idh/GbAs.jar
security: Trust for: https://www2.bancobrasil.com.br/aapf/idh/GbAs.jar has ended: Wed Dec 31 21:00:00 BRT 1969
Missing Permissions manifest attribute for: https://www2.bancobrasil.com.br/aapf/idh/GbAs.jar
Missing Codebase manifest attribute for: https://www2.bancobrasil.com.br/aapf/idh/GbAs.jar
security: Loading Deployment certificates from /home/net/.java/deployment/security/trusted.certs
security: Loaded Deployment certificates from /home/net/.java/deployment/security/trusted.certs
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Validate the certificate5988E8C9747CE0DBB244CB8FA9130BD3
security: SHA-256 finger print: 0CFC19DB681B014BFE3F23CB3A78B67208B4E3D8D7B6A7B1807F7CD6ECB2A54E
security: SHA-256 finger print: 9ACFAB7E43C8D880D06B262A94DEEEE4B4659989C3D0CAF19BAF6405E41AB7DF
security: The certificate has expired, need to check timestamping info
security: No timestamping info available
security: The OCSP support is enabled
security: The CRL support is enabled
network: Connecting http://ocsp.verisign.com/ with proxy=DIRECT
security: OCSP Response: GOOD
network: Connecting http://ocsp.verisign.com/ with proxy=DIRECT
security: OCSP Response: GOOD
security: Certificate validation succeeded using OCSP/CRL
security: SSV validation: running: 1.7.0_25, requested: null, range: null
network: Created version ID: 1.7.0.25
network: Created version ID: 1.7.0.25
security: continue with running version
basic: Applet loaded.
basic: Applet resized and added to parent container
basic: PERF: AppletExecutionRunnable - applet.init() BEGIN ; jvmLaunch dt 93059 us, pluginInit dt 3966311 us, TotalTime: 4059370 us
network: Cache entry not found [url: https://www2.bancobrasil.com.br/aapf/idh/gbas.so, version: null]
network: Connecting https://www2.bancobrasil.com.br/aapf/idh/gbas.so with proxy=DIRECT
network: Connecting http://www2.bancobrasil.com.br:443/ with proxy=DIRECT
network: Server https://www2.bancobrasil.com.br/aapf/idh/gbas.so requesting to set-cookie with "JSESSIONID=VtN5ShNb2hnKk3w22wxTL2JJwZ0TTwN6dqndWRnGlsT5ZQByVQTW!-1094061917; path=/aapf; HttpOnly"
network: Downloading resource: https://www2.bancobrasil.com.br/aapf/idh/gbas.so
Content-Length: 329,938
Content-Encoding: null
network: CleanupThread used 5 us
network: Wrote URL https://www2.bancobrasil.com.br/aapf/idh/gbas.so to File /home/net/.java/deployment/cache/6.0/33/14482961-3a2510f1-temp
network: CleanupThread used 3 us
cache: Adding MemoryCache entry: https://www2.bancobrasil.com.br/aapf/idh/gbas.so
basic: Applet initialized
basic: Starting applet
basic: completed perf rollup
basic: Applet made visible
basic: Applet started
basic: Told clients applet is started
network: Created version ID: 1.7.0.25
network: Created version ID: 1.7.0.25
network: Created version ID: 1.7.0.25
network: Created version ID: 1.7.0.25
network: Created version ID: 1.7.0.25
network: Created version ID: 1.7.0.25
network: Created version ID: 1.7.0.25
network: Created version ID: 1.7.0.25
network: Created version ID: 1.7.0.25
network: Created version ID: 1.7.0.25
network: Created version ID: 1.7.0.25
network: Created version ID: 1.7.0.25
basic: Starting applet teardown
basic: Finished applet teardown
basic: Removed progress listener: sun.plugin.util.ProgressMonitorAdapter@1a33efb
basic: PluginMain.unregisterApplet: 1 from mananger sun.plugin2.applet.Applet2Manager@1dd817
When I test java http://java.com/en/download/testjava.jsp it is working, but my internet banking website doesn't work at all.

Firefox error:
The connection was reset
The connection to the server was reset while the page was loading.

I've tried the following in no specific order:

1. Downgraded to java-1.6.0.45 + $ rm -rf "$HOME/.java" (doesn't work);
2. Installed jdk-7u25-i586-1 (doesn't work);
3. Installed icedtea-web-1.4-i486-2alien + openjre-7u40_b31-i486-1alien + rhino-1_7R3-noarch-1alien + online guide to install the java plugin (doesn't work; Firefox detects the plugin but no success);
4. Installed mozilla-firefox-17.0.7esr-i486-1_slack14.0 (doesn't work);
5. Tried a new Mozilla Firefox profile for all versions tested (doesn't work);
6. Tried symlinking /usr/local/java/lib/i386/libnpjp.so to many different places (doesn't work; java is detected online with the java tool but still no success);
7. Disabled IPv6 by adding "deployment.javaws.jre.0.args=-Djava.net.preferIPv4Stack\=true" in $HOME/.java/deployment/deployment.properties (doesn't work);
8. Tried accessing my banking as root (yes, blame me) but no success.

In practically every test I've made I've $ rm -rf "$HOME/.java" with no success.
The only thing I did that worked was to install lubuntu-13.04-desktop-amd64 on my secondary hard drive. I installed some version of openjdk if I'm not mistaken and it worked flawlessly.

I'm not going to reboot my system every time I want to access my online banking, so either I use Lubuntu (which I'm reluctant to do) or I continue to use the horrendous android application, because with Slackware I haven't gone anywhere.

I want to stay with Slackware and have my internet banking working again if possible.

Compass.
 
Old 08-25-2013, 08:49 PM   #2
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,172

Rep: Reputation: 227Reputation: 227Reputation: 227
I can access the website of your bank with Firefox ESR 17.0.8 and jdk 7u25 (= java 1.7.0_25).
Attached Thumbnails
Click image for larger version

Name:	bancobrasil.png
Views:	95
Size:	105.0 KB
ID:	13271  
 
Old 08-25-2013, 09:11 PM   #3
gabrielmagno
Member
 
Registered: May 2009
Location: Belo Horizonte, Brasil
Distribution: Slackware
Posts: 40

Rep: Reputation: 15
I can access the Banco do Brasil site and log in my account using Slackware64 14.0 and Firefox 23.0.

Please note that it does not work with OpenJDK, so you have to use the original source from http://www.java.com and use the slackbuild for java in the "extra" folder of the slackware tree.

Also, try cleaning the cookies related to the site (bb.com.br, bancodobrasil.com.br, etc).
 
Old 08-26-2013, 02:21 AM   #4
compassnet
Member
 
Registered: Feb 2013
Distribution: Slackware
Posts: 50

Original Poster
Rep: Reputation: 8
Quote:
Originally Posted by guanx View Post
I can access the website of your bank with Firefox ESR 17.0.8 and jdk 7u25 (= java 1.7.0_25).
That's exactly the screen I can't get to (where I type in my password aka "senha" in portuguese).

The banks main page http://www.bb.com.br/ works fine, but after I type in my account information and click "ok" I cannot get to the screen you've attached.

I should've been more specific, sorry.

Compass.

Last edited by compassnet; 08-26-2013 at 02:34 AM.
 
Old 08-26-2013, 02:32 AM   #5
compassnet
Member
 
Registered: Feb 2013
Distribution: Slackware
Posts: 50

Original Poster
Rep: Reputation: 8
Quote:
Originally Posted by gabrielmagno View Post
I can access the Banco do Brasil site and log in my account using Slackware64 14.0 and Firefox 23.0.

Please note that it does not work with OpenJDK, so you have to use the original source from http://www.java.com and use the slackbuild for java in the "extra" folder of the slackware tree.

Also, try cleaning the cookies related to the site (bb.com.br, bancodobrasil.com.br, etc).
Quote:
$ ls -lah /var/log/removed_packages/jdk-7u25-i586-1
-rw-r--r-- 1 root root 84K Aug 11 21:52 /var/log/removed_packages/jdk-7u25-i586-1
I've tried using the slackbuild too but it also didn't work, as shown above after I removed it.

I'm almost certain in my Lubuntu install I'm using OpenJDK, but I'll have to reboot to be sure (I'll see if I can figure it out by just mounting the HD).

Cookies aren't the issue, since I've used new profiles many times by moving $HOME/.mozilla to another location altogether.

Hell, here is ldd on java if it clarifies anything:
Quote:
$ ldd /usr/local/java/bin/java
linux-gate.so.1 (0xffffe000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb772d000)
libjli.so => /usr/local/java/bin/../lib/i386/jli/libjli.so (0xb7719000)
libdl.so.2 => /lib/libdl.so.2 (0xb7714000)
libc.so.6 => /lib/libc.so.6 (0xb758f000)
/lib/ld-linux.so.2 (0xb7763000)
I really want to avoid reinstalling everything because some important files will be overwritten (/etc comes to mind).
Waiting for the next Slackware version and then doing a full install has also crossed my mind.

Compass.

Last edited by compassnet; 08-26-2013 at 02:38 AM.
 
Old 08-26-2013, 04:01 AM   #6
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 1,134

Rep: Reputation: 277Reputation: 277Reputation: 277
I have a love/hate relationship with Firefox - it can and will be a pain at times....

That being said, open Konqueror, and see if the results differ. If your page loads, then at least we can eliminate java or openjdk as the culprit, and try to narrow it down to FF and why....
 
Old 08-26-2013, 05:07 AM   #7
compassnet
Member
 
Registered: Feb 2013
Distribution: Slackware
Posts: 50

Original Poster
Rep: Reputation: 8
Quote:
Originally Posted by mrclisdue View Post
I have a love/hate relationship with Firefox - it can and will be a pain at times....

That being said, open Konqueror, and see if the results differ. If your page loads, then at least we can eliminate java or openjdk as the culprit, and try to narrow it down to FF and why....
I'll install KDE (I use Fluxbox) later, add a new user and see what happens.

I also tried opera-12.15-1748.i386 but no success.

Compass.
 
Old 08-26-2013, 06:28 AM   #8
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 1,134

Rep: Reputation: 277Reputation: 277Reputation: 277
I don't know if it's pertinent, but before adding packages (especially KDE), you may want to have a look at this post, dusted off from the archives:

http://www.linuxquestions.org/questi...7/#post3446978

This "fix" solved my banking-page issue.

cheers,
 
Old 08-26-2013, 07:21 AM   #9
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Be aware that there have been security problems with the Java plug-in (in all browsers, doesn't matter which one) and the "fix" has been to disable the plug-in by default (unless you absolutely, positively must have the plug-in, it's recommended that it be disabled).

In Firefox, click Tools, Add-0ns, Plugins and see if Java is disabled (there's a button to change it from enabled to disabled or enabled). Could be that simple? Maybe?

You've been bouncing around a lot, it seems, and you may have some conflicting stuff installed here or there. If you've used a SlackBuild to install, upgrade or remove packages it'll be easier to clean up any extra installations of Java.

Take a look at
Code:
ls /var/log/packages/*java*
/var/log/packages/gcc-java-4.7.1-x86_64-1
ls /var/log/packages/*jdk*
/var/log/packages/jdk-7u25-x86_64-1
That's the only Java stuff you ought to have.

On the other hand, if you've installed with configure - make - make install, you'll probably want to get into the source directory and make uninstall to remove extraneous installations so you can start clean.

The package, jdk-7u25-x86_64-1, is the current stable version from Oracle. You build it with the Java SlackBuild in the /extra directory (you want the JDK: it also installs JRE so you won't have problems with applications that require JRE). If there is a previous version installed remove it (removepkg packagename)

Let me repeat that: Before you do anything it would be a good idea to remove any Java packages you've installed; get the list as above and use removepkg to uninstall them -- do not remove gcc-java-4.7.1-x86_64-1, though.

If your haven't already done so, go to http://www.oracle.com/technetwork/ja...ads/index.html, select the Download button under JDK and download the "tar.gz" appropriate for your system, jdk-7u25-linux-x64.tar.gz (64-bit) or jdk-7u25-linux-i586.tar.gz (32-bit).

Note that I (and others) have had problems with Open-JDK not working with some applications; that's why I recommend the Oracle version.

You need the entire directory content from the /extra Java directory and you'll need to copy the downloaded file into that directory then
Code:
su -
cd <PATH-to-Java-Directory>
./java.SlackBuild
<wait a while>
mv /tmp/jdk-7u25-x86_64-1.txz .
installpkg ./jdk-7u25-x86_64-1.txz
^D (exit from su -)
The package instals Java in /usr/lib64/java (64-bit) and creates all the symbolic links needed for Firefox in /usr/lib64/mozilla:
Code:
tree /usr/lib64/mozilla
/usr/lib64/mozilla
└── plugins
    ├── libflashplayer.so
    ├── libnpjp2.so -> /usr/lib64/java/jre/lib/amd64/libnpjp2.so
    ├── libvlcplugin.la
    ├── libvlcplugin.so
    └── skypebuttons.so
(the one you care about is
Code:
libnpjp2.so -> /usr/lib64/java/jre/lib/amd64/libnpjp2.so
that's the Java plug-in for Firefox.

Finally, open Firefox, click Tools, Add-ons, Plugins and make sure that the Java plug-in is enabled.

Again, it's a good idea to not have that plug-in active unless you must have it for some application (apparently your bank wants it). It's no big deal to, when you're going the bank (as it were) to enable the plug-in then disable it when you're through. You may want to take a look at http://www.us-cert.gov/ncas/alerts/TA13-064A for the background and recommendations regarding Java; as far as I know, the current stable release has fixed some of the security problems but not all and it would be a good idea to not enable that plug-in (in any browser) unless absolutely necessary for use with a trusted site.

Hope this helps some.

Last edited by tronayne; 08-26-2013 at 07:28 AM.
 
Old 08-26-2013, 08:05 AM   #10
Phorize
Member
 
Registered: Sep 2005
Location: UK
Distribution: Slackware
Posts: 226

Rep: Reputation: 29
Am I the only one shuddering at the mention of Java browser plugins in the same sentence as online banking?
 
2 members found this post helpful.
Old 08-26-2013, 08:05 AM   #11
Phorize
Member
 
Registered: Sep 2005
Location: UK
Distribution: Slackware
Posts: 226

Rep: Reputation: 29
Am I the only one shuddering at the mention of Java browser plugins in the same sentence as online banking?
 
2 members found this post helpful.
Old 08-26-2013, 08:31 AM   #12
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Quote:
Originally Posted by kristizz View Post
Am I the only one shuddering at the mention of Java browser plugins in the same sentence as online banking?
You certainly are not.

Oracle bought Sun, Oracle has messed with OpenOffice (dumped it to Apache, thankfully). Oracle is messing with MySQL because it competes with it's own product (developers gone to MariaDB, who knows what's going to happen there). Oracle messed with Java (well, Java was and is kind of a mess -- so what's going to happen to Java?). And who knows what else Oracle is going to mess with?

Me? I'm done with MySQL completely in favor of PostgreSQL. I'm back to OpenOffice (I like and trust Apache software). Java. Oh, Java, what is your fate? Javascript annoys the hell out of me (every damned web page is loaded with the stuff), I have to have Java to build and run a large, sophisticated institutional repository application. Thankfully, my banking software (Moneydance, a Java application) and the financial institutions I deal with don't require the Java plug-in to use them.

Admittedly, Oracle has been working on the problems but Larry Ellison doesn't get any money from it so who knows what's going to happen with that (maybe sell it to Apache for $1?).

Probably be better if financial institutions didn't require the Java plug-in in the first place (why would you ever want the execute external software on your system to do a little accounting?) Not so much a problem with Unix/Linux systems, BIG problem with Microjunk, though.

Gives me the shivers.

Last edited by tronayne; 08-26-2013 at 08:33 AM.
 
Old 08-26-2013, 11:05 AM   #13
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 925

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Just did login at Banco do Brasil successfully with FirefoxESR and IcedTea/Openjava, all most recent releases.
I can use Caixa Econômica Federal home banking as well, and they are also using java for security(???!!)
Maybe what I do different is that I have an user just for home banking.
 
Old 08-26-2013, 05:26 PM   #14
frushiyama
Member
 
Registered: Oct 2010
Location: Brazil, SP - Cosmópolis
Distribution: Slackware
Posts: 171

Rep: Reputation: 40
I'm on Slackware64 multilib current updated (except the kernel which is 3.9.10), the BB site works after i reload the page one time.
Firefox, open java and iced tea from Alien's bob repository.
Nothing more was did: normal build and instalation.
Just to mention, i build the open java with GCC bootstratp for the first time, instaled, then i build it again without the bootstrap, and reinstaled.
Attached Thumbnails
Click image for larger version

Name:	Screenshot - 08262013 - 07:19:16 PM.png
Views:	29
Size:	108.2 KB
ID:	13286   Click image for larger version

Name:	Screenshot - 08262013 - 07:19:31 PM.png
Views:	29
Size:	101.7 KB
ID:	13287  
 
Old 08-26-2013, 05:49 PM   #15
compassnet
Member
 
Registered: Feb 2013
Distribution: Slackware
Posts: 50

Original Poster
Rep: Reputation: 8
Quote:
Originally Posted by mrclisdue View Post
I don't know if it's pertinent, but before adding packages (especially KDE), you may want to have a look at this post, dusted off from the archives:

http://www.linuxquestions.org/questi...7/#post3446978

This "fix" solved my banking-page issue.

cheers,
# cat /proc/sys/net/ipv4/tcp_window_scaling
0

Nope, unfortunately it didn't work.

Thanks anyway, mrclisdue.

Compass.
 
Old 08-26-2013, 06:10 PM   #16
compassnet
Member
 
Registered: Feb 2013
Distribution: Slackware
Posts: 50

Original Poster
Rep: Reputation: 8

Quote:
Originally Posted by tronayne View Post
Be aware that there have been security problems with the Java plug-in (in all browsers, doesn't matter which one) and the "fix" has been to disable the plug-in by default (unless you absolutely, positively must have the plug-in, it's recommended that it be disabled).
Yes, I must have java if only for my internet banking. I use NoScript for everything else, but I can assure you that it's not the source of my problems, because otherwise the online java test tool wouldn't work, and I've also tried with new Firefox Profiles.

Quote:
Originally Posted by tronayne View Post
In Firefox, click Tools, Add-0ns, Plugins and see if Java is disabled (there's a button to change it from enabled to disabled or enabled). Could be that simple? Maybe?
Nope, from there java is active.

Quote:
Originally Posted by tronayne View Post
You've been bouncing around a lot, it seems, and you may have some conflicting stuff installed here or there. If you've used a SlackBuild to install, upgrade or remove packages it'll be easier to clean up any extra installations of Java.
I've done a SlackBuild of jdk-7u25-i586-1 (doesn't work) and I've also tried icedtea-web-1.4-i486-2alien + openjre-7u40_b31-i486-1alien + rhino-1_7R3-noarch-1alien + online guide to install the java plugin to no avail. Doesn't work.

Quote:
Originally Posted by tronayne View Post
Take a look at
Code:
ls /var/log/packages/*java*
/var/log/packages/gcc-java-4.7.1-x86_64-1
ls /var/log/packages/*jdk*
/var/log/packages/jdk-7u25-x86_64-1
That's the only Java stuff you ought to have.

On the other hand, if you've installed with configure - make - make install, you'll probably want to get into the source directory and make uninstall to remove extraneous installations so you can start clean.

The package, jdk-7u25-x86_64-1, is the current stable version from Oracle. You build it with the Java SlackBuild in the /extra directory (you want the JDK: it also installs JRE so you won't have problems with applications that require JRE). If there is a previous version installed remove it (removepkg packagename)

Let me repeat that: Before you do anything it would be a good idea to remove any Java packages you've installed; get the list as above and use removepkg to uninstall them -- do not remove gcc-java-4.7.1-x86_64-1, though.

If your haven't already done so, go to http://www.oracle.com/technetwork/ja...ads/index.html, select the Download button under JDK and download the "tar.gz" appropriate for your system, jdk-7u25-linux-x64.tar.gz (64-bit) or jdk-7u25-linux-i586.tar.gz (32-bit).

Note that I (and others) have had problems with Open-JDK not working with some applications; that's why I recommend the Oracle version.

You need the entire directory content from the /extra Java directory and you'll need to copy the downloaded file into that directory then
Code:
su -
cd <PATH-to-Java-Directory>
./java.SlackBuild
<wait a while>
mv /tmp/jdk-7u25-x86_64-1.txz .
installpkg ./jdk-7u25-x86_64-1.txz
^D (exit from su -)
The package instals Java in /usr/lib64/java (64-bit) and creates all the symbolic links needed for Firefox in /usr/lib64/mozilla:
Code:
tree /usr/lib64/mozilla
/usr/lib64/mozilla
└── plugins
    ├── libflashplayer.so
    ├── libnpjp2.so -> /usr/lib64/java/jre/lib/amd64/libnpjp2.so
    ├── libvlcplugin.la
    ├── libvlcplugin.so
    └── skypebuttons.so
(the one you care about is
Code:
libnpjp2.so -> /usr/lib64/java/jre/lib/amd64/libnpjp2.so
that's the Java plug-in for Firefox.
This is how I install java here (been doing it this way for quite a long time):

1. $ cd
2. $ tar zxf programs/jre-7u25-linux-i586.tar.gz -C .
3. # mv /home/net/jre1.7.0_25/ /usr/local/
4. # cd /usr/local/
5. # mv jre1.7.0_25/ java/
6. # chown -R root:root java/
7. # cd /usr/local/bin/
8. # ln -s /usr/local/java/bin/java

Doing it like that java is detected by the online java testing tool, but my banking stopped working.

Quote:
Originally Posted by tronayne View Post
Finally, open Firefox, click Tools, Add-ons, Plugins and make sure that the Java plug-in is enabled.

Again, it's a good idea to not have that plug-in active unless you must have it for some application (apparently your bank wants it). It's no big deal to, when you're going the bank (as it were) to enable the plug-in then disable it when you're through. You may want to take a look at http://www.us-cert.gov/ncas/alerts/TA13-064A for the background and recommendations regarding Java; as far as I know, the current stable release has fixed some of the security problems but not all and it would be a good idea to not enable that plug-in (in any browser) unless absolutely necessary for use with a trusted site.
Java in my case is essential. Either I use it or I'll have to go to personally to the bank or use the android application which I truly dislike.

Hope this helps some.
Thanks for the ideas tronayne, but I'm still not there.
 
  


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
Internet banking usb stick setup robuust Linux - Security 8 02-06-2010 10:41 AM
Firefox and online banking salimshahzad General 12 01-11-2010 04:43 AM
Internet banking setup robuust Linux - Security 7 07-10-2009 01:28 PM
internet banking acwaite Linux - General 2 07-16-2007 06:35 PM
Internet Banking & Linux :( SML Linux - Newbie 16 09-24-2006 08:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:59 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
Open Source Consulting | Domain Registration