Java

Asked by j.m.hawk on 2011-01-12

Trying to run a Java applet. It's for a chess server. Ubuntu does not seem to recognize it.
When i go out to Java it checks the system and informs me that something is wrong with Java on my machine.
Not sure how to fix this.
m

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu sun-java6 Edit question
Assignee:
No assignee Edit question
Solved by:
Andree
Solved:
2011-01-12
Last query:
2011-01-12
Last reply:
2011-01-12

could you please provide us the information what exactly you did and what the error message is if you get one?

j.m.hawk (jmh19) said : #2

simply went out to my Chess website ICC, but the applet wouldn't start because it doesn't see Java. I must have that installed.
Thought i had it. went out to the main Java website that checks which version i have and informed me there was "Something wrong with my Java"
that's all there was.
m

could you please open a terminal and type

java -version

and post the output?

j.m.hawk (jmh19) said : #4

jmh@ubuntu:~$ java -version
java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.2) (6b20-1.9.2-0ubuntu2)
OpenJDK Client VM (build 19.0-b09, mixed mode, sharing)

i'm not 100% percent sure but it might be related to that you use the openjdk instead of the oracle version. i know that there are some compability issues between the two versions.

i would suggest to install the oracle version and try it with that one.

do you have a link to the applet so that i can try it with my java version?

j.m.hawk (jmh19) said : #6

http://www.freechess.org/Login/jin/applet.php

if i boot into Windows and use Mozilla i don't have any problems. So it's not the Browser.
thanx
m

for me it works but i have the oracle version installed.

you could also try to install the following package: icedtea6-plugin

the description of that package is: web browser plugin based on OpenJDK and IcedTea to execute Java applets

this might solve you problem.