Erro ao executar o aplicativo da Web Java com o tempo de execução OpenJDK Java7 no Ubuntu 14.04

4

Tenho uma nova instalação do Ubuntu 14.04 no meu laptop HP Pavilion g6.

Instalei o plug-in OpenJDK e IcedTea para executar aplicativos Java conforme explicado aqui .

Mas quando eu estiver indo para o site chess.com e selecionando a opção jogar contra o computador , ele está mostrando um erro. "Clique aqui para detalhes que ocorreu uma exceção"

Então corri o firefox do terminal e abri o aplicativo Java novamente. Saída de terminal é como

bibi@bibi-HP-Pavilion-g6-Notebook-PC:~$ firefox

 (process:32619): GLib-CRITICAL **: g_slice_set_config: assertion
 'sys_page_size == 0' failed

 java version "1.7.0_55" OpenJDK Runtime
 Environment (IcedTea 2.4.7) (7u55-2.4.7-1ubuntu1) OpenJDK 64-Bit
 Server VM (build 24.51-b03, mixed mode) No permission to use the
 keyboard API for http://googleads.g.doubleclick.net
 java.io.FileNotFoundException:
 http://www.chess.com/play/ChessApplet.1.14.18.jar  at
 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    at
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
    at
 sun.net.www.protocol.http.HttpURLConnection.run(HttpURLConnection.java:1675)
    at
 sun.net.www.protocol.http.HttpURLConnection.run(HttpURLConnection.java:1673)
    at java.security.AccessController.doPrivileged(Native Method)   at
 sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1671)
    at
 sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1244)
    at
 net.sourceforge.jnlp.util.HttpUtils.consumeAndCloseConnection(HttpUtils.java:66)
    at
 net.sourceforge.jnlp.util.HttpUtils.consumeAndCloseConnectionSilently(HttpUtils.java:52)
    at
 net.sourceforge.jnlp.cache.ResourceTracker.getUrlResponseCodeWithRedirectonResult(ResourceTracker.java:907)
    at
 net.sourceforge.jnlp.cache.ResourceTracker.findBestUrl(ResourceTracker.java:955)
    at
 net.sourceforge.jnlp.cache.ResourceTracker.initializeResource(ResourceTracker.java:788)
    at
 net.sourceforge.jnlp.cache.ResourceTracker.processResource(ResourceTracker.java:628)
    at
 net.sourceforge.jnlp.cache.ResourceTracker.access0(ResourceTracker.java:79)
    at
 net.sourceforge.jnlp.cache.ResourceTracker$Downloader.run(ResourceTracker.java:1235)
    at
 net.sourceforge.jnlp.cache.ResourceTracker$Downloader.run(ResourceTracker.java:1233)
    at java.security.AccessController.doPrivileged(Native Method)   at
 net.sourceforge.jnlp.cache.ResourceTracker$Downloader.run(ResourceTracker.java:1233)
    at java.lang.Thread.run(Thread.java:744) Caused by:
 java.io.FileNotFoundException:
 http://www.chess.com/play/ChessApplet.1.14.18.jar  at
 sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1624)
    at
 java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)
    at
 net.sourceforge.jnlp.cache.ResourceTracker.getUrlResponseCodeWithRedirectonResult(ResourceTracker.java:903)
    ... 9 more

 java.io.FileNotFoundException:
 http://www.chess.com/play/ChessApplet.1.14.18.jar  at
 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    at
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
    at
 sun.net.www.protocol.http.HttpURLConnection.run(HttpURLConnection.java:1675)
    at
 sun.net.www.protocol.http.HttpURLConnection.run(HttpURLConnection.java:1673)
    at java.security.AccessController.doPrivileged(Native Method)   at
 sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1671)
    at
 sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1244)
    at
 net.sourceforge.jnlp.util.HttpUtils.consumeAndCloseConnection(HttpUtils.java:66)
    at
 net.sourceforge.jnlp.util.HttpUtils.consumeAndCloseConnectionSilently(HttpUtils.java:52)
    at
 net.sourceforge.jnlp.cache.ResourceTracker.getUrlResponseCodeWithRedirectonResult(ResourceTracker.java:907)
    at
 net.sourceforge.jnlp.cache.ResourceTracker.findBestUrl(ResourceTracker.java:955)
    at
 net.sourceforge.jnlp.cache.ResourceTracker.initializeResource(ResourceTracker.java:788)
    at
 net.sourceforge.jnlp.cache.ResourceTracker.processResource(ResourceTracker.java:628)
    at
 net.sourceforge.jnlp.cache.ResourceTracker.access0(ResourceTracker.java:79)
    at
 net.sourceforge.jnlp.cache.ResourceTracker$Downloader.run(ResourceTracker.java:1235)
    at
 net.sourceforge.jnlp.cache.ResourceTracker$Downloader.run(ResourceTracker.java:1233)
    at java.security.AccessController.doPrivileged(Native Method)   at
 net.sourceforge.jnlp.cache.ResourceTracker$Downloader.run(ResourceTracker.java:1233)
    at java.lang.Thread.run(Thread.java:744) Caused by:
 java.io.FileNotFoundException:
 http://www.chess.com/play/ChessApplet.1.14.18.jar  at
 sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1624)
    at
 java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)
    at
 net.sourceforge.jnlp.cache.ResourceTracker.getUrlResponseCodeWithRedirectonResult(ResourceTracker.java:903)
    ... 9 more

 No permission to use the keyboard API for
 http://googleads.g.doubleclick.net java.io.FileNotFoundException:
 http://www.chess.com/play/ChessApplet.1.14.18.jar  at
 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    at
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
    at
 sun.net.www.protocol.http.HttpURLConnection.run(HttpURLConnection.java:1675)
    at
 sun.net.www.protocol.http.HttpURLConnection.run(HttpURLConnection.java:1673)
    at java.security.AccessController.doPrivileged(Native Method)   at
 sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1671)
    at
 sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1244)
    at
 net.sourceforge.jnlp.util.HttpUtils.consumeAndCloseConnection(HttpUtils.java:66)
    at
 net.sourceforge.jnlp.util.HttpUtils.consumeAndCloseConnectionSilently(HttpUtils.java:52)
    at
 net.sourceforge.jnlp.cache.ResourceTracker.getUrlResponseCodeWithRedirectonResult(ResourceTracker.java:907)
    at
 net.sourceforge.jnlp.cache.ResourceTracker.findBestUrl(ResourceTracker.java:955)
    at
 net.sourceforge.jnlp.cache.ResourceTracker.initializeResource(ResourceTracker.java:788)
    at
 net.sourceforge.jnlp.cache.ResourceTracker.processResource(ResourceTracker.java:628)
    at
 net.sourceforge.jnlp.cache.ResourceTracker.access0(ResourceTracker.java:79)
    at
 net.sourceforge.jnlp.cache.ResourceTracker$Downloader.run(ResourceTracker.java:1235)
    at
 net.sourceforge.jnlp.cache.ResourceTracker$Downloader.run(ResourceTracker.java:1233)
    at java.security.AccessController.doPrivileged(Native Method)   at
 net.sourceforge.jnlp.cache.ResourceTracker$Downloader.run(ResourceTracker.java:1233)
    at java.lang.Thread.run(Thread.java:744) Caused by:
 java.io.FileNotFoundException:
 http://www.chess.com/play/ChessApplet.1.14.18.jar  at
 sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1624)
    at
 java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)
    at
 net.sourceforge.jnlp.cache.ResourceTracker.getUrlResponseCodeWithRedirectonResult(ResourceTracker.java:903)
    ... 9 more

 java.io.FileNotFoundException:
 http://www.chess.com/play/ChessApplet.1.14.18.jar  at
 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    at
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
    at
 sun.net.www.protocol.http.HttpURLConnection.run(HttpURLConnection.java:1675)
    at
 sun.net.www.protocol.http.HttpURLConnection.run(HttpURLConnection.java:1673)
    at java.security.AccessController.doPrivileged(Native Method)   at
 sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1671)
    at
 sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1244)
    at
 net.sourceforge.jnlp.util.HttpUtils.consumeAndCloseConnection(HttpUtils.java:66)
    at
 net.sourceforge.jnlp.util.HttpUtils.consumeAndCloseConnectionSilently(HttpUtils.java:52)
    at
 net.sourceforge.jnlp.cache.ResourceTracker.getUrlResponseCodeWithRedirectonResult(ResourceTracker.java:907)
    at
 net.sourceforge.jnlp.cache.ResourceTracker.findBestUrl(ResourceTracker.java:955)
    at
 net.sourceforge.jnlp.cache.ResourceTracker.initializeResource(ResourceTracker.java:788)
    at
 net.sourceforge.jnlp.cache.ResourceTracker.processResource(ResourceTracker.java:628)
    at
 net.sourceforge.jnlp.cache.ResourceTracker.access0(ResourceTracker.java:79)
    at
 net.sourceforge.jnlp.cache.ResourceTracker$Downloader.run(ResourceTracker.java:1235)
    at
 net.sourceforge.jnlp.cache.ResourceTracker$Downloader.run(ResourceTracker.java:1233)
    at java.security.AccessController.doPrivileged(Native Method)   at
 net.sourceforge.jnlp.cache.ResourceTracker$Downloader.run(ResourceTracker.java:1233)
    at java.lang.Thread.run(Thread.java:744) Caused by:
 java.io.FileNotFoundException:
 http://www.chess.com/play/ChessApplet.1.14.18.jar  at
 sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1624)
    at
 java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)
    at
 net.sourceforge.jnlp.cache.ResourceTracker.getUrlResponseCodeWithRedirectonResult(ResourceTracker.java:903)
    ... 9 more

 Attempted to download
 http://www.chess.com/play/ChessApplet.1.14.18.jar, but failed to
 connect! JAR http://www.chess.com/play/ChessApplet.1.14.18.jar not
 found. Continuing. JAR
 http://www.chess.com/play/ChessApplet.1.14.18.jar not found.
 Continuing. netx: Initialization Error: Could not initialize applet.
 (Fatal: Initialization Error: Unknown Main-Class. Could not determine
 the main class for this application.) netx: Initialization Error:
 Could not initialize applet. (Fatal: Initialization Error: Unknown
 Main-Class. Could not determine the main class for this application.)
 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:746)  at
 net.sourceforge.jnlp.Launcher.getApplet(Launcher.java:675)     at
 net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:908) 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:684)
    at
 net.sourceforge.jnlp.runtime.JNLPClassLoader.<init(JNLPClassLoader.java:277)
    at
 net.sourceforge.jnlp.runtime.JNLPClassLoader.createInstance(JNLPClassLoader.java:351)
    at
 net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:418)
    at
 net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:394)
    at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:711)    ...
 2 more

 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:746)  at
 net.sourceforge.jnlp.Launcher.getApplet(Launcher.java:675)     at
 net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:908) 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:684)
    at
 net.sourceforge.jnlp.runtime.JNLPClassLoader.<init(JNLPClassLoader.java:277)
    at
 net.sourceforge.jnlp.runtime.JNLPClassLoader.createInstance(JNLPClassLoader.java:351)
    at
 net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:418)
    at
 net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:394)
    at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:711)    ...
 2 more

 Error on Java side: 

 Error: Unable to fetch applet instance id from Java side.

  Error on Java side: 

  Error: Unable to fetch applet instance id from Java side.

  NOTE: child process received 'Goodbye', closing down

  NOTE: child process received 'Goodbye', closing down

  bibi@bibi-HP-Pavilion-g6-Notebook-PC:~$

Existe alguma solução para este problema? Qualquer ajuda seria apreciada. Obrigado.

    
por Bibi424 04.05.2014 / 14:36

1 resposta

2

Eu tentei com o OpenJDK e tive o mesmo problema.

Tentei com o Oracle Java 8 e funciona. Experimente o Oracle Java em vez do OpenJDK.

    
por Mitch 04.05.2014 / 14:51