Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
08-25-2013, 07:20 PM
|
#1
|
Member
Registered: Feb 2013
Distribution: Slackware
Posts: 50
Rep:
|
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.
|
|
|
08-25-2013, 08:49 PM
|
#2
|
Senior Member
Registered: Dec 2008
Posts: 1,201
|
I can access the website of your bank with Firefox ESR 17.0.8 and jdk 7u25 (= java 1.7.0_25).
|
|
|
08-25-2013, 09:11 PM
|
#3
|
Member
Registered: May 2009
Location: Belo Horizonte, Brasil
Distribution: Slackware
Posts: 40
Rep:
|
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).
|
|
|
08-26-2013, 02:21 AM
|
#4
|
Member
Registered: Feb 2013
Distribution: Slackware
Posts: 50
Original Poster
Rep:
|
Quote:
Originally Posted by guanx
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.
|
|
|
08-26-2013, 02:32 AM
|
#5
|
Member
Registered: Feb 2013
Distribution: Slackware
Posts: 50
Original Poster
Rep:
|
Quote:
Originally Posted by gabrielmagno
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.
|
|
|
08-26-2013, 04:01 AM
|
#6
|
Senior Member
Registered: Dec 2005
Distribution: Slackware
Posts: 1,135
|
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....
|
|
|
08-26-2013, 05:07 AM
|
#7
|
Member
Registered: Feb 2013
Distribution: Slackware
Posts: 50
Original Poster
Rep:
|
Quote:
Originally Posted by mrclisdue
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.
|
|
|
08-26-2013, 06:28 AM
|
#8
|
Senior Member
Registered: Dec 2005
Distribution: Slackware
Posts: 1,135
|
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,
|
|
|
08-26-2013, 07:21 AM
|
#9
|
Senior Member
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
|
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.
|
|
|
08-26-2013, 08:05 AM
|
#10
|
Member
Registered: Sep 2005
Location: UK
Distribution: Slackware
Posts: 226
Rep:
|
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.
|
08-26-2013, 08:05 AM
|
#11
|
Member
Registered: Sep 2005
Location: UK
Distribution: Slackware
Posts: 226
Rep:
|
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.
|
08-26-2013, 08:31 AM
|
#12
|
Senior Member
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
|
Quote:
Originally Posted by kristizz
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.
|
|
|
08-26-2013, 11:05 AM
|
#13
|
Member
Registered: Aug 2012
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 964
|
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.
|
|
|
08-26-2013, 05:26 PM
|
#14
|
Member
Registered: Oct 2010
Location: Brazil, SP - Cosmópolis
Distribution: Slackware
Posts: 171
Rep:
|
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.
|
|
|
08-26-2013, 05:49 PM
|
#15
|
Member
Registered: Feb 2013
Distribution: Slackware
Posts: 50
Original Poster
Rep:
|
Quote:
Originally Posted by mrclisdue
|
# cat /proc/sys/net/ipv4/tcp_window_scaling
0
Nope, unfortunately it didn't work.
Thanks anyway, mrclisdue.
Compass.
|
|
|
08-26-2013, 06:10 PM
|
#16
|
Member
Registered: Feb 2013
Distribution: Slackware
Posts: 50
Original Poster
Rep:
|
Quote:
Originally Posted by tronayne
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
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
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
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
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.
|
|
|
All times are GMT -5. The time now is 05:22 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|