← Back to team overview

openjdk team mailing list archive

[Bug 1047762] Re: java-6-openjdk-amd64 + Eclipse not working

 

I was able to reproduce this bug
1. run eclipse
2 open preferencies -> Java -> installed JREs    and get the same results as shown in The Screenshot
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/1047762/+attachment/3300355/+files/eclipse-crash-jdk.png

By looking into the workspace/.metadata/.log
I found that the bug was caused by:
java.lang.NoClassDefFoundError: Could not initialize class com.ibm.icu.text.SimpleDateFormat

This is a variant of an old Debian/Ubuntu bug:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=600288

I am able to workaround the issue by running:

sudo apt-get --reinstall install tzdata-java

** Bug watch added: Debian Bug tracker #600288
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=600288

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-7 in Ubuntu.
https://bugs.launchpad.net/bugs/1047762

Title:
  java-6-openjdk-amd64 + Eclipse not working

Status in “openjdk-6” package in Ubuntu:
  Confirmed
Status in “openjdk-7” package in Ubuntu:
  Confirmed

Bug description:
  During last update of Ubuntu 12.10 beta the JRE for the system was
  updated to:

    Selección   Ruta                                            Prioridad  Estado
  ------------------------------------------------------------
    *0            /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java   1071      modo automático

  This means openjdk-7

  It started to crash eclipse. I mean, the system can run eclipse but
  weird things started to happen. See attached screenshot.

  I had to go back to sun jre.

  /usr/lib/jvm/java-6-sun/jre/bin/java

  
  Any of the following JDKs seems to be affected.
  /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java
  /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java

  
  The problem is that no log is show, just random errors in the environment. But I was able to reproduce 100% of time.

  Description:	Ubuntu quantal (development branch)
  Release:	12.10

  openjdk-6-jdk:
    Instalados: 6b24-1.11.4-3ubuntu1
    Candidato:  6b24-1.11.4-3ubuntu1
    Tabla de versión:
   *** 6b24-1.11.4-3ubuntu1 0
          500 http://archive.ubuntu.com/ubuntu/ quantal/universe amd64 Packages
          100 /var/lib/dpkg/status

  openjdk-7-jdk:
    Instalados: 7u7-2.3.2-1ubuntu1
    Candidato:  7u7-2.3.2-1ubuntu1
    Tabla de versión:
   *** 7u7-2.3.2-1ubuntu1 0
          500 http://archive.ubuntu.com/ubuntu/ quantal/main amd64 Packages
          100 /var/lib/dpkg/status

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/1047762/+subscriptions


References