Brazilian bank online access
I had not been able to access my bank account from http://bb.com.br ("Banco do Brasil") for months. The error message was about a missing Java security module. "icedtea-7-plugin" (in Trisquel's repository) was installed though.
Tonight I finally had the idea to take a look at the warning log in the "OpenJDK Java 7 Policy Tool" (itself in the "System settings"). I discovered there a Java exception about the file ".java.policy" missing from my home folder. I created it (with 'touch ~/.java.policy' but one can use a file manager too)... and I can now access my account!
I tested that stupid fix (the file is created empty and apparently remains empty!) on both Trisquel 6 and Trisquel 7. I hope it may be useful to some of you.
I do not know whyI dont love java
I feel it is not secure
the browser can control to computer useing java
But I can not Give up it
Because I Used in the design of networks programs
and I Used it to run Arduino IDE
Hmm.. a bank account without SSL? Hmm...
After entering the agency and account numbers, you get to an HTTPS page where you must enter a eight-digit code.
I know that Java is different from JavaScript, don't worry about that.
Anyway, I'm also a Brazilian and I still don't have a bank account, but
I hope to find a bank whose site doesn't force me to run non-free
JavaScript.
By the way, what a simple fix. :D
Do you mind telling me if you must disable GNU LibreJS to use the site?
I must. Unfortunately. Otherwise the button to enter my accounts is inactive.
Oh...
This actually puzzles me, Banco do Brazil is very active on "free
software events" (becaouse they seem like open source software events to
me) here in Brazil, and they still can't make their JavaScript free.
Besides, if I'm not mistaken, Banco do Brazil is one of the fewer public
banks. The other one being Caixa Econômica Federal. And yet, Brazil is
considered the country which uses and contributes most to "free software".
Hah... Thinks I can't really understand...
No bank account, huh?
https://theyellowkid.files.wordpress.com/2009/06/matelas-billet.jpg?w=500
Right ;) ?
That would be true if I were indeed employed, but unfortunatelly for me,
I'm not. :D
I know how it feels.
I remember a quote I found a while ago (it inspired me, hopefully it will do the same for you):
"You're never unemployed, your current job is simply to find a new job".
Hahahaha!
Thank you very much. :D
I'm trying to find jobs almost every day, despite always facing at least
one of the following problems:
* It requires full-time (almost 24h) or normal job hours (at least 6h)
of work. Something I can't really do since I'm studying and need time to
finish college assignments and obligations. Besides needing time to use
public transportation, since I cannot drive (note: "cannot", I'm
over-sighted due to a brain damage that I have since I was born).
* It's far away from where I live. I would actually prefer remote work
instead of being obligated to take transportation.
* It requires me to use some non-free software. Self-explanatory. I once
acquired basic certification on "basic computing" back in 2009 (when I
have never heard of free software; and where I was just taught to use
Windows and Office, not basic computing in the real sense), but I don't
put it on my curriculum vitae because I feel ashamed (same applies to
Corel Draw; Photoshop; Delphi, which was really boring; Flash
Professional and all that piece of crap from "computing" courses). I
prefer to state on my curriculum vitae the free software experiences
acquired so far.
* It requires a degree or certification which I'm not able to acquire,
either due to lack of money, lack of time to take the certification or
degree (how am I supposed to do so if I would have to work and also to
attend college?), or lack of deeper involvement on the required field (I
try to do most things on the computing fields, but I'm not focused on a
single one of them).
Keep it up man, it's just a matter of time :)
> I know that Java is different from JavaScript, don't worry about that.
yes I know
but you can use java from the browser
This workaround did not work for me. It's interesting to note that Banco do Brasil works on Firefox on Trisquel or Parabola, but not on Abrowser, Icecat and Iceweasel, probably due to a setting that quidam tweaked.
I haven't yet had the time to disable each change to see what is causing the problem, but I intend to in the future.
Your logs don't give any clues?
The specific problem is with Icedtea. This is the error output when I go to https://www.java.com/pt_BR/download/installed8.jsp:
IcedTea-Web Plugin version: 1.6.1
Thu Nov 12 16:59:23 BRST 2015
net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Could not initialize applet. For more information click "more information button".
at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:764)
at net.sourceforge.jnlp.Launcher.getApplet(Launcher.java:686)
at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:933)
Caused by: net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Unknown Main-Class. Could not determine the main class for this application.
at net.sourceforge.jnlp.runtime.JNLPClassLoader.initializeResources(JNLPClassLoader.java:701)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.(JNLPClassLoader.java:285)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.createInstance(JNLPClassLoader.java:357)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:429)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:403)
at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:729)
... 2 more
Caused by: java.lang.ClassNotFoundException: Could not find class JavaDetection
at net.sourceforge.jnlp.runtime.JNLPClassLoader$CodeBaseClassLoader.findClassNonRecursive(JNLPClassLoader.java:2530)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.findClass(JNLPClassLoader.java:1682)
at net.sourceforge.jnlp.runtime.JNLPClassLoader$CodeBaseClassLoader.findClass(JNLPClassLoader.java:2543)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.initializeResources(JNLPClassLoader.java:698)
... 7 more
Caused by: java.security.PrivilegedActionException: java.lang.ClassNotFoundException: JavaDetection
at java.security.AccessController.doPrivileged(Native Method)
at net.sourceforge.jnlp.runtime.JNLPClassLoader$CodeBaseClassLoader.findClassNonRecursive(JNLPClassLoader.java:2520)
... 10 more
Caused by: java.lang.ClassNotFoundException: JavaDetection
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at net.sourceforge.jnlp.runtime.JNLPClassLoader$CodeBaseClassLoader.access$2001(JNLPClassLoader.java:2492)
at net.sourceforge.jnlp.runtime.JNLPClassLoader$CodeBaseClassLoader$1.run(JNLPClassLoader.java:2523)
at net.sourceforge.jnlp.runtime.JNLPClassLoader$CodeBaseClassLoader$1.run(JNLPClassLoader.java:2521)
... 12 more
Chain:
1) at Thu Nov 12 16:59:20 BRST 2015
net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Unknown Main-Class. Could not determine the main class for this application.
at net.sourceforge.jnlp.runtime.JNLPClassLoader.initializeResources(JNLPClassLoader.java:701)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.(JNLPClassLoader.java:285)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.createInstance(JNLPClassLoader.java:357)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:429)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:403)
at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:729)
at net.sourceforge.jnlp.Launcher.getApplet(Launcher.java:686)
at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:933)
Caused by: java.lang.ClassNotFoundException: Could not find class JavaDetection
at net.sourceforge.jnlp.runtime.JNLPClassLoader$CodeBaseClassLoader.findClassNonRecursive(JNLPClassLoader.java:2530)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.findClass(JNLPClassLoader.java:1682)
at net.sourceforge.jnlp.runtime.JNLPClassLoader$CodeBaseClassLoader.findClass(JNLPClassLoader.java:2543)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.initializeResources(JNLPClassLoader.java:698)
... 7 more
Caused by: java.security.PrivilegedActionException: java.lang.ClassNotFoundException: JavaDetection
at java.security.AccessController.doPrivileged(Native Method)
at net.sourceforge.jnlp.runtime.JNLPClassLoader$CodeBaseClassLoader.findClassNonRecursive(JNLPClassLoader.java:2520)
... 10 more
Caused by: java.lang.ClassNotFoundException: JavaDetection
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at net.sourceforge.jnlp.runtime.JNLPClassLoader$CodeBaseClassLoader.access$2001(JNLPClassLoader.java:2492)
at net.sourceforge.jnlp.runtime.JNLPClassLoader$CodeBaseClassLoader$1.run(JNLPClassLoader.java:2523)
at net.sourceforge.jnlp.runtime.JNLPClassLoader$CodeBaseClassLoader$1.run(JNLPClassLoader.java:2521)
... 12 more
2) at Thu Nov 12 16:59:20 BRST 2015
net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Could not initialize applet. For more information click "more information button".
at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:764)
at net.sourceforge.jnlp.Launcher.getApplet(Launcher.java:686)
at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:933)
Caused by: net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Unknown Main-Class. Could not determine the main class for this application.
at net.sourceforge.jnlp.runtime.JNLPClassLoader.initializeResources(JNLPClassLoader.java:701)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.(JNLPClassLoader.java:285)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.createInstance(JNLPClassLoader.java:357)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:429)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:403)
at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:729)
... 2 more
Caused by: java.lang.ClassNotFoundException: Could not find class JavaDetection
at net.sourceforge.jnlp.runtime.JNLPClassLoader$CodeBaseClassLoader.findClassNonRecursive(JNLPClassLoader.java:2530)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.findClass(JNLPClassLoader.java:1682)
at net.sourceforge.jnlp.runtime.JNLPClassLoader$CodeBaseClassLoader.findClass(JNLPClassLoader.java:2543)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.initializeResources(JNLPClassLoader.java:698)
... 7 more
Caused by: java.security.PrivilegedActionException: java.lang.ClassNotFoundException: JavaDetection
at java.security.AccessController.doPrivileged(Native Method)
at net.sourceforge.jnlp.runtime.JNLPClassLoader$CodeBaseClassLoader.findClassNonRecursive(JNLPClassLoader.java:2520)
... 10 more
Caused by: java.lang.ClassNotFoundException: JavaDetection
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at net.sourceforge.jnlp.runtime.JNLPClassLoader$CodeBaseClassLoader.access$2001(JNLPClassLoader.java:2492)
at net.sourceforge.jnlp.runtime.JNLPClassLoader$CodeBaseClassLoader$1.run(JNLPClassLoader.java:2523)
at net.sourceforge.jnlp.runtime.JNLPClassLoader$CodeBaseClassLoader$1.run(JNLPClassLoader.java:2521)
... 12 more
It would be interesting to know if Magic Banana uses this plugin as well. Do you need it to connect to the bank website? I mean what if you disable it temporarily?
Like I wrote in the original post: I have "icedtea-7-plugin" installed from Trisquel's repository. It corresponds to "IcedTea-Web 1.5" according to about:plugins.
And it definitely is required on bb.com.br.
Woops, I missed this.
Well so that's not the same version you both use.
It might matter.
wow Magic Banana, thank you! I was having the same problem and now I can access it again, this problem is occurring in all my machines with different distros though, I'll have to test it in them as well, but I think the problem is the same as all used to work before.