Java stopped working

Heya,

My java-plugins stopped working. I can’t log on to my webbank and Danish authorities without it. I’ve tried in Google Chrome, Konqueror, Firefox and Opera. None of them works. All browsers report that java is enabled. According to yast2 I have:

java-1_6_0-sun
java-1_6_0-sun-plugin

Typing ‘java’ in the console, gives the following output:

jacob@linux-c18f:~> java
Usage: java -options] class [args...]
           (to execute a class)
   or  java -options] -jar jarfile [args...]
           (to execute a jar file)

where options include:
    -d32          use a 32-bit data model if available

    -d64          use a 64-bit data model if available
    -server       to select the "server" VM
                  The default VM is server.
                  
    -cp <class search path of directories and zip/jar files>
    -classpath <class search path of directories and zip/jar files>
                  A : separated list of directories, JAR archives,
                  and ZIP archives to search for class files.
    -D<name>=<value>
                  set a system property
    -verbose:class|gc|jni]
                  enable verbose output
    -version      print product version and exit
    -version:<value>
                  require the specified version to run
    -showversion  print product version and continue
    -jre-restrict-search | -jre-no-restrict-search
                  include/exclude user private JREs in the version search
    -? -help      print this help message
    -X            print help on non-standard options
    -ea:<packagename>...|:<classname>]
    -enableassertions:<packagename>...|:<classname>]
                  enable assertions
    -da:<packagename>...|:<classname>]
    -disableassertions:<packagename>...|:<classname>]
                  disable assertions
    -esa | -enablesystemassertions
                  enable system assertions
    -dsa | -disablesystemassertions
                  disable system assertions
    -agentlib:<libname>=<options>]
                  load native agent library <libname>, e.g. -agentlib:hprof
                    see also, -agentlib:jdwp=help and -agentlib:hprof=help
    -agentpath:<pathname>=<options>]
                  load native agent library by full pathname
    -javaagent:<jarpath>=<options>]
                  load Java programming language agent, see java.lang.instrument
    -splash:<imagepath>
                  show splash screen with specified image
jacob@linux-c18f:~> 

I dunno if that helps. I’ve taken backup of my linux partition. Would it be quicker to just wipe it and try again?

Best regards,

Daqar

So, if you are using Firefox, open Tools / Addons / Plugins and tell us if you see your Java Plugin, what version is it and is it enabled?

Thank You,

It says for Firefox:

Java(TM) Plug-in 1.6.0_20

Opera:

Java(TM) Plug-in 1.6.0_20

Konqueror:

/usr/lib64/browser-plugins/javaplugin.so

Google Chrome:

Java(TM) Plug-in 1.6.0_20

All the browsers report they have java, but none of them can open my webbank or access Danish public services requiring java. The browsers fail every online java test I’ve put them to.

Best regards,

Daqar

On 2010-08-23 10:06, Daqar wrote:

> All the browsers report they have java, but none of them can open my
> webbank or access Danish public services requiring java. The browsers
> fail every online java test I’ve put them to.

]> <http://www.java.com/en/download/dt_verify.jsp?plugin=true&latest=true&users_jre=1.6.0_13>


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Elessar))

Tried that one too. Java doesn’t load.

Daqar

Hello Daqar,

Are that all the java packaged you’ve got installed?
I remember having problems with java in Firefox when openJDK and Java-sun where installed.

Does this also happen with java applications or only applets?

Best of luck!:wink:

Hmmm…I dunno. I have a java-based flight simulator. Flying Guns. At least I think it uses java and it works quite well. OpenOffice uses java too, right? That one works too. I’m not sure which java programs I have. How do I find out?

Daqar

> All the browsers report they have java, but none of them can open
> my webbank or access Danish public services requiring java. The
> browsers fail every online java test I’ve put them to.

you are having problems (like i am) with “nemID”…i asked in a Danish
language technical forum how to get mine going and received:

apparently you need to use YaST to make sure you are running real SUN
java and not the open source version (ice tea)–just install the SUN
version and uninstall ice tea…AND, i got:

“Jeg mener at kunne huske, at der var en bug i hotspot-java på Unix i
version 1.6.0_15 og muligvis også 1.6.0_16. Prøv seneste version af
Java (1.6.0_21) og se om ikke det afhjælper problemet.”

i see you are running 1.6.0_20, i’m not sure that upgrading your
plugin to the _21 level will fix the problem or not as i have not yet
taken the time to install 1.6.0_21, but that may
solve the problem…

amazingly, i went to the nemid.dk site and ran their “Text din
computer” and it said my was fine, but then at Nykredit the java app
would hang during initialization…

good luck


DenverD
CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

I am indeed running sun java. I’ve had problems with the open source java too, so I just switch to sun java as one of the first things. But somehow it has stopped working. I’ve been able to log on before, using opensuse. But now I can’t. And I can’t figure out why. I removed and reinstalled sun java and open java about 3 times each last night, using yast. It didn’t help.

Daqar

Check whether you have the correct sun java runtime enabled:
su -c ‘update-alternatives --config java’

So it kind of looks like DenverD is saying the problem may be with the bank online setup changing in some way and not how Linux & Java are working together. I would reread just what he said. It does point out at least one case where keeping a dual boot computer with Windows might have some value to get online with your bank if for some reason you could not get it to work under Linux.

I can also report that I had issues using my bank logon last year under Linux and Firefox, but it was corrected after a couple of months. This occurred even as no one at the bank claimed there was a problem and I did nothing to fix the issue except to retry Firefox under Linux one more time after a couple of months went by and suddenly it was working again. I truly don’t know if my issue was with Java or not, but I must admit to switching to Windows until the issue seemingly went away on its own.

Now I would also like to add that getting Linux working with your online banking and the problems that can occur when it stops working is the number one reason why I am hesitant to upgrade openSUSE every eight months. I can freely admit that instead of doing away with my old openSUSE 11.2 setup, I just added a new hard drive for openSUSE 11.3, just in case I could not get the new load to work. I still am holding on to that lifeline even as everything seems OK in openSUSE 11.3.

Thank You,

jacob@linux-c18f:~> su
Password: 
linux-c18f:/home/jacob # -c 'update-alternatives --config java'
If '-c' is not a typo you can use command-not-found to lookup the package that contains it, like this:
    cnf -c
linux-c18f:/home/jacob # update-alternatives --config java

There is only 1 program which provides java
(/usr/lib64/jvm/jre-1.6.0-sun/bin/java). Nothing to configure.
linux-c18f:/home/jacob # 

That there is a the output from Knurpht’s command. I had to do a little guessing to make it work.

Wierd. I do have it all working under windows, so I can use that.

Daqar wrote:

> Wierd. I do have it all working under windows, so I can use that.

complain to your bank (and nemID) for forcing you to use non-open
source software to net-bank…

that is: the situation will never change if those who want software
freedom remain silent…Denmark is one of the most MS-locked up
countries on earth…


DenverD
CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

I was at a linux user group meeting today. Of course the blasted thing started to work when I wanted to demonstrate the problem. It seems I’ve been too impatient with it. It just seems to need a lot of load time. I feel kinda stupid now !! :P:P:shame::shame:

Best regards,

Daqar

On 2010-08-23 16:06, Daqar wrote:
>
> Code:
> --------------------
> jacob@linux-c18f:~> su
> Password:
> linux-c18f:/home/jacob # -c ‘update-alternatives --config java’
> If ‘-c’ is not a typo you can use command-not-found to lookup the package that contains it, like this:

You were told to run a certain command in one line. I see two. Any result afterwards is wrong.

> That there is a the output from Knurpht’s command. I had to do a little
> guessing to make it work.

And you guessed badly :slight_smile:


su -c 'update-alternatives --config java'

Or in two lines:


su -
update-alternatives --config java

>
> Wierd. I do have it all working under windows, so I can use that.

Concentrate not in connecting to your bank, but in running a standard test, like the link from
java.com I gave you. If that does not run, there is something wrong with your system. When you get
that working, then try your bank.

Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Elessar))

Daqar wrote:
> It just seems to need a lot of load time.

really!?

like how much, i’ve quit it several times after waiting two minutes or
more…how long is required (for the nemID app to load)??


DenverD
CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

I dunno, I didn’t time it. I was talking to another guy I don’t know how long and then when I returned to my computer, the webbank log on was ready. I then immediately went to test the digital signature, and that worked too. I thought 2 minutes would be enough. It’s too easy to say it needs more time I think, but maybe it just needs 5 minutes? 10?

@Carlos:
Here is the output of the correct command…

jacob@linux-c18f:~> su -c 'update-alternatives --config java'
Password: 

There is only 1 program which provides java
(/usr/lib64/jvm/jre-1.6.0-sun/bin/java). Nothing to configure.
jacob@linux-c18f:~> 

Daqar

Daqar wrote:
> I dunno, I didn’t time it. I was talking to another guy I don’t know how
> long and then when I returned to my computer, the webbank log on was
> ready. I then immediately went to test the digital signature, and that
> worked too. I thought 2 minutes would be enough. It’s too easy to say it
> needs more time I think, but maybe it just needs 5 minutes? 10?

i forgot about it, and came back 50 minutes later and it wasn’t
ready…so…i guess i have to upgrade to the _21 version, and give
that a try…


DenverD
CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]