A fatal error has been detected by the Java Runtime Environment

Asked by Padmanaban on 2012-06-11

#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00293ff2, pid=2470, tid=2041174896
#
# JRE version: 6.0_20-b20
# Java VM: OpenJDK Server VM (19.0-b09 mixed mode linux-x86 )
# Derivative: IcedTea6 1.9.13
# Distribution: Ubuntu 10.10, package 6b20-1.9.13-0ubuntu1~10.10.1
# Problematic frame:
# C [libsqlite_jni.so+0x4ff2]
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
# https://bugs.launchpad.net/ubuntu/+source/openjdk-6/
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

--------------- T H R E A D ---------------

Current thread (0x087be400): JavaThread "Finalizer" daemon [_thread_in_native, id=2476, stack(0x79a4d000,0x79a9e000)]

siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x45534e00

Registers:
EAX=0x45534e00, EBX=0x0029aff4, ECX=0x45534e00, EDX=0x08f8dde8
ESP=0x79a9cb30, EBP=0x79a9cb78, ESI=0x087be518, EDI=0x79a9cb88
EIP=0x00293ff2, CR2=0x45534e00, EFLAGS=0x00010287

Register to memory mapping:

EAX=0x45534e00
0x45534e00 is pointing to unknown location

EBX=0x0029aff4
0x0029aff4: <offset 0xbff4> in /usr/lib/jvm/java-6-openjdk/jre/lib/i386/libsqlite_jni.so at 0x0028f000

ECX=0x45534e00
0x45534e00 is pointing to unknown location

EDX=0x08f8dde8
0x08f8dde8 is pointing to unknown location

ESP=0x79a9cb30
0x79a9cb30 is pointing into the stack for thread: 0x087be400
"Finalizer" daemon prio=10 tid=0x087be400 nid=0x9ac runnable [0x79a9c000]
   java.lang.Thread.State: RUNNABLE

EBP=0x79a9cb78
0x79a9cb78 is pointing into the stack for thread: 0x087be400
"Finalizer" daemon prio=10 tid=0x087be400 nid=0x9ac runnable [0x79a9c000]
   java.lang.Thread.State: RUNNABLE

ESI=0x087be518
0x087be518 is pointing to unknown location

EDI=0x79a9cb88
0x79a9cb88 is pointing into the stack for thread: 0x087be400
"Finalizer" daemon prio=10 tid=0x087be400 nid=0x9ac runnable [0x79a9c000]
   java.lang.Thread.State: RUNNABLE

Top of Stack: (sp=0x79a9cb30)
0x79a9cb30: 087be518 79a9cb88 00000022 00000000
0x79a9cb40: 00000000 0872d5a8 00000000 01320f00
0x79a9cb50: 01320f00 79a9ccf8 01309ff4 00000001
0x79a9cb60: 00e5b57e 0872d5a8 00293faf 7a4fc848
0x79a9cb70: 79a9cbb0 087be400 79a9cb98 b47800e4
0x79a9cb80: 00000001 79a9cb88 af1cbac8 01309ff4
0x79a9cb90: 087be400 79a9cc28 79a9cbc8 b47333e6
0x79a9cba0: 087be400 087bed04 79a9cbe8 b47333e6

Instructions: (pc=0x00293ff2)
0x00293fe2: 74 1c 8d 48 34 8b 40 34 85 c0 75 0a eb 10 89 c1
0x00293ff2: 8b 00 85 c0 74 08 39 c2 75 f4 8b 00 89 01 8b 42

Stack: [0x79a4d000,0x79a9e000], sp=0x79a9cb30, free space=318k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libsqlite_jni.so+0x4ff2]
J SQLite.Vm.finalize()V
v ~StubRoutines::call_stub
V [libjvm.so+0x387952]
V [libjvm.so+0x518df9]
V [libjvm.so+0x38688f]
V [libjvm.so+0x392439]
V [libjvm.so+0x3aa86f]
C [libjava.so+0xc1ca] Java_java_lang_ref_Finalizer_invokeFinalizeMethod+0x6a
J java.lang.ref.Finalizer.invokeFinalizeMethod(Ljava/lang/Object;)V

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J SQLite.Vm.finalize()V
v ~StubRoutines::call_stub
J java.lang.ref.Finalizer.invokeFinalizeMethod(Ljava/lang/Object;)V
J java.lang.ref.Finalizer.access$100(Ljava/lang/ref/Finalizer;)V
J java.lang.ref.Finalizer$FinalizerThread.run()V
v ~StubRoutines::call_stub

--------------- P R O C E S S ---------------

Java Threads: ( => current thread )
  0x087d2000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2480, stack(0x796a9000,0x796fa000)]
  0x79d00800 JavaThread "CompilerThread1" daemon [_thread_blocked, id=2479, stack(0x796fa000,0x7977b000)]
  0x087cf400 JavaThread "CompilerThread0" daemon [_thread_blocked, id=2478, stack(0x7977b000,0x797fc000)]
  0x087cdc00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2477, stack(0x797fc000,0x7984d000)]
=>0x087be400 JavaThread "Finalizer" daemon [_thread_in_native, id=2476, stack(0x79a4d000,0x79a9e000)]
  0x087b9800 JavaThread "Reference Handler" daemon [_thread_blocked, id=2475, stack(0x79a9e000,0x79aef000)]
  0x08730000 JavaThread "main" [_thread_in_native, id=2471, stack(0xb7733000,0xb7784000)]

Other Threads:
  0x087b5c00 VMThread [stack: 0x79aef000,0x79b70000] [id=2474]
  0x79d03800 WatcherThread [stack: 0x79628000,0x796a9000] [id=2481]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 PSYoungGen total 225152K, used 13122K [0xa3a70000, 0xb4290000, 0xb4670000)
  eden space 180864K, 2% used [0xa3a70000,0xa3dfea48,0xaeb10000)
  from space 44288K, 21% used [0xaeb10000,0xaf452010,0xb1650000)
  to space 43072K, 0% used [0xb1880000,0xb1880000,0xb4290000)
 PSOldGen total 184064K, used 85048K [0x82270000, 0x8d630000, 0xa3a70000)
  object space 184064K, 46% used [0x82270000,0x8757e3b0,0x8d630000)
 PSPermGen total 16384K, used 3344K [0x7a270000, 0x7b270000, 0x82270000)
  object space 16384K, 20% used [0x7a270000,0x7a5b41f0,0x7b270000)

Dynamic libraries:
00110000-00267000 r-xp 00000000 08:06 12062541 /lib/libc-2.12.1.so
00267000-00269000 r--p 00157000 08:06 12062541 /lib/libc-2.12.1.so
00269000-0026a000 rw-p 00159000 08:06 12062541 /lib/libc-2.12.1.so
0026a000-0026d000 rw-p 00000000 00:00 0
0026d000-00274000 r-xp 00000000 08:06 12058873 /lib/librt-2.12.1.so
00274000-00275000 r--p 00006000 08:06 12058873 /lib/librt-2.12.1.so
00275000-00276000 rw-p 00007000 08:06 12058873 /lib/librt-2.12.1.so
00276000-00281000 r-xp 00000000 08:06 4194785 /usr/lib/jvm/java-6-openjdk/jre/lib/i386/libverify.so
00281000-00282000 ---p 0000b000 08:06 4194785 /usr/lib/jvm/java-6-openjdk/jre/lib/i386/libverify.so
00282000-00283000 r--p 0000b000 08:06 4194785 /usr/lib/jvm/java-6-openjdk/jre/lib/i386/libverify.so
00283000-00284000 rw-p 0000c000 08:06 4194785 /usr/lib/jvm/java-6-openjdk/jre/lib/i386/libverify.so
00284000-0028d000 r-xp 00000000 08:06 12058875 /lib/libnss_nis-2.12.1.so
0028d000-0028e000 r--p 00008000 08:06 12058875 /lib/libnss_nis-2.12.1.so
0028e000-0028f000 rw-p 00009000 08:06 12058875 /lib/libnss_nis-2.12.1.so
0028f000-0029a000 r-xp 00000000 08:06 4195695 /usr/lib/jvm/java-6-openjdk/jre/lib/i386/libsqlite_jni.so
0029a000-0029b000 r--p 0000a000 08:06 4195695 /usr/lib/jvm/java-6-openjdk/jre/lib/i386/libsqlite_jni.so
0029b000-0029c000 rw-p 0000b000 08:06 4195695 /usr/lib/jvm/java-6-openjdk/jre/lib/i386/libsqlite_jni.so
00320000-00335000 r-xp 00000000 08:06 12062542 /lib/libpthread-2.12.1.so
00335000-00336000 ---p 00015000 08:06 12062542 /lib/libpthread-2.12.1.so
00336000-00337000 r--p 00015000 08:06 12062542 /lib/libpthread-2.12.1.so
00337000-00338000 rw-p 00016000 08:06 12062542 /lib/libpthread-2.12.1.so
00338000-0033a000 rw-p 00000000 00:00 0
0039c000-003c0000 r-xp 00000000 08:06 12062539 /lib/libm-2.12.1.so
003c0000-003c1000 r--p 00023000 08:06 12062539 /lib/libm-2.12.1.so
003c1000-003c2000 rw-p 00024000 08:06 12062539 /lib/libm-2.12.1.so
00427000-00429000 r-xp 00000000 08:06 12058871 /lib/libdl-2.12.1.so
00429000-0042a000 r--p 00001000 08:06 12058871 /lib/libdl-2.12.1.so
0042a000-0042b000 rw-p 00002000 08:06 12058871 /lib/libdl-2.12.1.so
0042b000-004b3000 r-xp 00000000 08:06 15862609 /usr/lib/libsqlite3.so.0.8.6
004b3000-004b4000 r--p 00088000 08:06 15862609 /usr/lib/libsqlite3.so.0.8.6
004b4000-004b5000 rw-p 00089000 08:06 15862609 /usr/lib/libsqlite3.so.0.8.6
00739000-0074c000 r-xp 00000000 08:06 12058818 /lib/libz.so.1.2.3.4
0074c000-0074d000 r--p 00012000 08:06 12058818 /lib/libz.so.1.2.3.4
0074d000-0074e000 rw-p 00013000 08:06 12058818 /lib/libz.so.1.2.3.4
00788000-007a4000 r-xp 00000000 08:06 12058773 /lib/ld-2.12.1.so
007a4000-007a5000 r--p 0001b000 08:06 12058773 /lib/ld-2.12.1.so
007a5000-007a6000 rw-p 0001c000 08:06 12058773 /lib/ld-2.12.1.so
007c9000-007cf000 r-xp 00000000 08:06 12062540 /lib/libnss_compat-2.12.1.so
007cf000-007d0000 r--p 00006000 08:06 12062540 /lib/libnss_compat-2.12.1.so
007d0000-007d1000 rw-p 00007000 08:06 12062540 /lib/libnss_compat-2.12.1.so
0087c000-00886000 r-xp 00000000 08:06 12058869 /lib/libnss_files-2.12.1.so
00886000-00887000 r--p 00009000 08:06 12058869 /lib/libnss_files-2.12.1.so
00887000-00888000 rw-p 0000a000 08:06 12058869 /lib/libnss_files-2.12.1.so
00931000-00934000 r-xp 00000000 08:06 4194766 /usr/lib/jvm/java-6-openjdk/jre/lib/i386/jli/libjli.so
00934000-00935000 r--p 00002000 08:06 4194766 /usr/lib/jvm/java-6-openjdk/jre/lib/i386/jli/libjli.so
00935000-00936000 rw-p 00003000 08:06 4194766 /usr/lib/jvm/java-6-openjdk/jre/lib/i386/jli/libjli.so
009af000-009b5000 r-xp 00000000 08:06 4194778 /usr/lib/jvm/java-6-openjdk/jre/lib/i386/native_threads/libhpi.so
009b5000-009b6000 r--p 00005000 08:06 4194778 /usr/lib/jvm/java-6-openjdk/jre/lib/i386/native_threads/libhpi.so
009b6000-009b7000 rw-p 00006000 08:06 4194778 /usr/lib/jvm/java-6-openjdk/jre/lib/i386/native_threads/libhpi.so
009db000-009fd000 r-xp 00000000 08:06 4194757 /usr/lib/jvm/java-6-openjdk/jre/lib/i386/libjava.so
009fd000-009fe000 r--p 00021000 08:06 4194757 /usr/lib/jvm/java-6-openjdk/jre/lib/i386/libjava.so
009fe000-00a00000 rw-p 00022000 08:06 4194757 /usr/lib/jvm/java-6-openjdk/jre/lib/i386/libjava.so
00bc0000-00bd3000 r-xp 00000000 08:06 12058877 /lib/libnsl-2.12.1.so
00bd3000-00bd4000 r--p 00012000 08:06 12058877 /lib/libnsl-2.12.1.so
00bd4000-00bd5000 rw-p 00013000 08:06 12058877 /lib/libnsl-2.12.1.so
00bd5000-00bd7000 rw-p 00000000 00:00 0
00bf0000-00bf6000 r-xp 00000000 08:06 4194762 /usr/lib/jvm/java-6-openjdk/jre/lib/i386/libzip.so
00bf6000-00bf7000 r--p 00005000 08:06 4194762 /usr/lib/jvm/java-6-openjdk/jre/lib/i386/libzip.so
00bf7000-00bf8000 rw-p 00006000 08:06 4194762 /usr/lib/jvm/java-6-openjdk/jre/lib/i386/libzip.so
00bff000-00c00000 r-xp 00000000 00:00 0 [vdso]
00c00000-012c5000 r-xp 00000000 08:06 4194776 /usr/lib/jvm/java-6-openjdk/jre/lib/i386/server/libjvm.so
012c5000-0130a000 r--p 006c4000 08:06 4194776 /usr/lib/jvm/java-6-openjdk/jre/lib/i386/server/libjvm.so
0130a000-01319000 rw-p 00709000 08:06 4194776 /usr/lib/jvm/java-6-openjdk/jre/lib/i386/server/libjvm.so
01319000-01738000 rw-p 00000000 00:00 0
08048000-08051000 r-xp 00000000 08:06 4194726 /usr/lib/jvm/java-6-openjdk/jre/bin/java
08051000-08052000 r--p 00008000 08:06 4194726 /usr/lib/jvm/java-6-openjdk/jre/bin/java
08052000-08053000 rw-p 00009000 08:06 4194726 /usr/lib/jvm/java-6-openjdk/jre/bin/java
0872a000-09054000 rw-p 00000000 00:00 0 [heap]
78d00000-78d36000 rw-p 00000000 00:00 0
78d36000-78e00000 ---p 00000000 00:00 0
78f00000-790fa000 rw-p 00000000 00:00 0
790fa000-79100000 ---p 00000000 00:00 0
79100000-79300000 rw-p 00000000 00:00 0
79300000-79500000 rw-p 00000000 00:00 0
79500000-79600000 rw-p 00000000 00:00 0
79628000-79629000 ---p 00000000 00:00 0
79629000-796a9000 rw-p 00000000 00:00 0
796a9000-796ac000 ---p 00000000 00:00 0
796ac000-796fa000 rw-p 00000000 00:00 0
796fa000-796fd000 ---p 00000000 00:00 0
796fd000-7977b000 rw-p 00000000 00:00 0
7977b000-7977e000 ---p 00000000 00:00 0
7977e000-797fc000 rw-p 00000000 00:00 0
797fc000-797ff000 ---p 00000000 00:00 0
797ff000-7984d000 rw-p 00000000 00:00 0
7984d000-79a4d000 r--p 00000000 08:06 15862110 /usr/lib/locale/locale-archive
79a4d000-79a50000 ---p 00000000 00:00 0
79a50000-79a9e000 rw-p 00000000 00:00 0
79a9e000-79aa1000 ---p 00000000 00:00 0
79aa1000-79aef000 rw-p 00000000 00:00 0
79aef000-79af0000 ---p 00000000 00:00 0
79af0000-79b70000 rw-p 00000000 00:00 0
79b70000-79d00000 r--s 038c5000 08:06 4194798 /usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar
79d00000-79e00000 rw-p 00000000 00:00 0
79e0a000-79e0d000 r--s 0007d000 08:06 4194676 /usr/lib/jvm/java-6-openjdk/jre/lib/jsse.jar
79e0d000-79e15000 r--s 00066000 08:06 267401 /usr/share/java/gnome-java-bridge.jar
79e15000-79e17000 r--s 0001d000 08:06 4194680 /usr/lib/jvm/java-6-openjdk/jre/lib/plugin.jar
79e17000-79e1c000 r--s 00045000 08:06 4194684 /usr/lib/jvm/java-6-openjdk/jre/lib/netx.jar
79e1c000-79e4f000 rw-p 00000000 00:00 0
79e4f000-79e50000 ---p 00000000 00:00 0
79e50000-79ed0000 rw-p 00000000 00:00 0
79ed0000-79ed1000 ---p 00000000 00:00 0
79ed1000-79f59000 rw-p 00000000 00:00 0
79f59000-79f91000 rw-p 00000000 00:00 0
79f91000-79feb000 rw-p 00000000 00:00 0
79feb000-7a09d000 rw-p 00000000 00:00 0
7a09d000-7a0a5000 rw-p 00000000 00:00 0
7a0a5000-7a0dd000 rw-p 00000000 00:00 0
7a0dd000-7a137000 rw-p 00000000 00:00 0
7a137000-7a1e9000 rw-p 00000000 00:00 0
7a1e9000-7a26e000 rw-p 00000000 00:00 0
7a26e000-7a26f000 ---p 00000000 00:00 0
7a26f000-7b270000 rw-p 00000000 00:00 0
7b270000-82270000 rw-p 00000000 00:00 0
82270000-8d630000 rw-p 00000000 00:00 0
8d630000-a3a70000 rw-p 00000000 00:00 0
a3a70000-b4290000 rw-p 00000000 00:00 0
b4290000-b4670000 ---p 00000000 00:00 0
b4670000-b4673000 r--s 0000f000 08:06 4194708 /usr/lib/jvm/java-6-openjdk/jre/lib/ext/pulse-java.jar
b4673000-b467c000 rw-p 00000000 00:00 0
b467c000-b4733000 rw-p 00000000 00:00 0
b4733000-b4973000 rwxp 00000000 00:00 0
b4973000-b7733000 rw-p 00000000 00:00 0
b7733000-b7736000 ---p 00000000 00:00 0
b7736000-b7787000 rw-p 00000000 00:00 0
b7788000-b778a000 r--s 00013000 08:06 4194649 /usr/lib/jvm/java-6-openjdk/jre/lib/ext/sqlite.jar
b778a000-b778b000 r--p 0029c000 08:06 15862110 /usr/lib/locale/locale-archive
b778b000-b7793000 rw-s 00000000 08:06 5636168 /tmp/hsperfdata_karthik/2470
b7793000-b7794000 rw-p 00000000 00:00 0
b7794000-b7795000 r--p 00000000 00:00 0
b7795000-b7797000 rw-p 00000000 00:00 0
bfba2000-bfbc3000 rw-p 00000000 00:00 0 [stack]

VM Arguments:
java_command: TwitterAnalysis new_db.db
Launcher Type: SUN_STANDARD

Environment Variables:
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
USERNAME=karthik
LD_LIBRARY_PATH=/usr/lib/jvm/java-6-openjdk/jre/lib/i386/server:/usr/lib/jvm/java-6-openjdk/jre/lib/i386:/usr/lib/jvm/java-6-openjdk/jre/../lib/i386
SHELL=/bin/bash
DISPLAY=:0.0

Signal Handlers:
SIGSEGV: [libjvm.so+0x6498a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGBUS: [libjvm.so+0x6498a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGFPE: [libjvm.so+0x51bb40], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGPIPE: [libjvm.so+0x51bb40], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGXFSZ: [libjvm.so+0x51bb40], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGILL: [libjvm.so+0x51bb40], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGUSR2: [libjvm.so+0x51b1f0], sa_mask[0]=0x00000000, sa_flags=0x10000004
SIGHUP: [libjvm.so+0x51dd60], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGINT: [libjvm.so+0x51dd60], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGTERM: [libjvm.so+0x51dd60], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGQUIT: [libjvm.so+0x51dd60], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004

--------------- S Y S T E M ---------------

OS:Ubuntu 10.10 (maverick)
uname:Linux 2.6.35-32-generic #67-Ubuntu SMP Mon Mar 5 19:35:26 UTC 2012 i686
libc:glibc 2.12.1 NPTL 2.12.1
rlimit: STACK 8192k, CORE 0k, NPROC infinity, NOFILE 1024, AS infinity
load average:1.10 0.52 0.23

/proc/meminfo:
MemTotal: 3286980 kB
MemFree: 243688 kB
Buffers: 89592 kB
Cached: 2126304 kB
SwapCached: 0 kB
Active: 2196480 kB
Inactive: 742652 kB
Active(anon): 724064 kB
Inactive(anon): 67876 kB
Active(file): 1472416 kB
Inactive(file): 674776 kB
Unevictable: 16 kB
Mlocked: 16 kB
HighTotal: 2429856 kB
HighFree: 3052 kB
LowTotal: 857124 kB
LowFree: 240636 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 24680 kB
Writeback: 0 kB
AnonPages: 723472 kB
Mapped: 88872 kB
Shmem: 68484 kB
Slab: 63968 kB
SReclaimable: 51908 kB
SUnreclaim: 12060 kB
KernelStack: 2496 kB
PageTables: 6296 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 1643488 kB
Committed_AS: 1930432 kB
VmallocTotal: 122880 kB
VmallocUsed: 30584 kB
VmallocChunk: 85500 kB
HardwareCorrupted: 0 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 4096 kB
DirectMap4k: 16376 kB
DirectMap4M: 892928 kB

CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 23 stepping 10, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1

Memory: 4k page, physical 3286980k(243688k free), swap 0k(0k free)

vm_info: OpenJDK Server VM (19.0-b09) for linux-x86 JRE (1.6.0_20-b20), built on Feb 18 2012 07:29:49 by "buildd" with gcc 4.4.5

time: Mon Jun 11 11:33:11 2012
elapsed time: 155 seconds

i tried reinstall the jdk and java , But still i get same problem
how i can solve this?

But i run this file through the terminal not ecllipse

thanks

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu devscripts Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Sasa Paporovic (melchiaros) said :
#1

You use a too old java version on a not anymore supported Ubuntu version(10.10 is outdated).

---------------------------------------------------------------------

You should upgrade to the newest Ubuntu12.04.

----------------------------------------------------------------------

Java6 is still the default in Ubuntu12.04 , because a migration to Java 7 would have broken some dependences(HIVE, some apache projects for big data, ...).

When you are not depending on Java 6 you could Install openjdk7 on your system.

In my experience there are much lesser bugs in it( -> The first release has closed arround 5000 bugs, there is no backport of this fixes in java6).

Make a internetsearch on how do it exactly!

My suggestions are to install with the following:

sudo apt-get install openjdk-7-jdk openjdk-7-source openjdk-7-demo openjdk-7-doc openjdk-7-jre-headless openjdk-7-jre-lib

after that you have to change which jre/jdk is default:

http://askubuntu.com/questions/64329/how-to-replace-openjdk-6-with-openjdk-7

-----------------------------------------------------------------------------------------

Good luck.

Revision history for this message
Padmanaban (padinfoplus) said :
#2

Thanks to reply, I will check with Ubuntu12.04.

Can you help with this problem?

Provide an answer of your own, or ask Padmanaban for more information if necessary.

To post a message you must log in.