JNI_CreateJavaVM failed

405 views
Skip to first unread message

yogesh

unread,
Nov 28, 2008, 5:20:28 AM11/28/08
to android-porting
after booting up i am facing "JNI_CreateJavaVM failed", following is
the logcat:-


E/flash_image( 439): error scanning partitions
E/mountd ( 430): could not read initial mass storage state
D/AndroidRuntime( 433):
D/AndroidRuntime( 433): >>>>>>>>>>>>>> AndroidRuntime START
<<<<<<<<<<<<<<
D/AndroidRuntime( 433): CheckJNI is ON
E/dalvikvm( 433): Can't open dex cache '/data/dalvik-cache/
system@framework@core...@classes.dex': No such file or directory
I/dalvikvm( 433): Unable to open or create cache for /system/
framework/core.jar
D/dalvikvm( 433): Failed on '/system/framework/core.jar' (boot=1)
D/dalvikvm( 433): VM cleaning up
D/dalvikvm( 433): LinearAlloc 0x0 used 4100 of 4194304 (0%)
W/dalvikvm( 433): JNI_CreateJavaVM failed
E/AndroidRuntime( 433): JNI_CreateJavaVM failed
I/ ( 434): ServiceManager: 0xaab8
W/AudioHardwareInterface( 434): Using stubbed audio hardware. No
sound will be produced.
I/AudioFlinger( 434): AudioFlinger's main thread ready to run.
I/CameraService( 434): CameraService started: pid=434
D/AndroidRuntime( 450):
D/AndroidRuntime( 450): >>>>>>>>>>>>>> AndroidRuntime START
<<<<<<<<<<<<<<
D/AndroidRuntime( 450): CheckJNI is ON
E/dalvikvm( 450): Can't open dex cache '/data/dalvik-cache/
system@framework@core...@classes.dex': No such file or directory
I/dalvikvm( 450): Unable to open or create cache for /system/
framework/core.jar
D/dalvikvm( 450): Failed on '/system/framework/core.jar' (boot=1)
D/dalvikvm( 450): VM cleaning up
D/dalvikvm( 450): LinearAlloc 0x0 used 4100 of 4194304 (0%)
W/dalvikvm( 450): JNI_CreateJavaVM failed
E/AndroidRuntime( 450): JNI_CreateJavaVM failed
D/AndroidRuntime( 451):
D/AndroidRuntime( 451): >>>>>>>>>>>>>> AndroidRuntime START
<<<<<<<<<<<<<<
D/AndroidRuntime( 451): CheckJNI is ON
E/dalvikvm( 451): Can't open dex cache '/data/dalvik-cache/
system@framework@core...@classes.dex': No such file or directory
I/dalvikvm( 451): Unable to open or create cache for /system/
framework/core.jar
D/dalvikvm( 451): Failed on '/system/framework/core.jar' (boot=1)
D/dalvikvm( 451): VM cleaning up
D/dalvikvm( 451): LinearAlloc 0x0 used 4100 of 4194304 (0%)
W/dalvikvm( 451): JNI_CreateJavaVM failed
E/AndroidRuntime( 451): JNI_CreateJavaVM failed
D/AndroidRuntime( 452):
D/AndroidRuntime( 452): >>>>>>>>>>>>>> AndroidRuntime START
<<<<<<<<<<<<<<
D/AndroidRuntime( 452): CheckJNI is ON
E/dalvikvm( 452): Can't open dex cache '/data/dalvik-cache/
system@framework@core...@classes.dex': No such file or directory
I/dalvikvm( 452): Unable to open or create cache for /system/
framework/core.jar
D/dalvikvm( 452): Failed on '/system/framework/core.jar' (boot=1)
D/dalvikvm( 452): VM cleaning up
D/dalvikvm( 452): LinearAlloc 0x0 used 4100 of 4194304 (0%)
W/dalvikvm( 452): JNI_CreateJavaVM failed
E/AndroidRuntime( 452): JNI_CreateJavaVM failed
D/AndroidRuntime( 453):
D/AndroidRuntime( 453): >>>>>>>>>>>>>> AndroidRuntime START
<<<<<<<<<<<<<<
D/AndroidRuntime( 453): CheckJNI is ON
E/dalvikvm( 453): Can't open dex cache '/data/dalvik-cache/
system@framework@core...@classes.dex': No such file or directory
I/dalvikvm( 453): Unable to open or create cache for /system/
framework/core.jar
D/dalvikvm( 453): Failed on '/system/framework/core.jar' (boot=1)
D/dalvikvm( 453): VM cleaning up
D/dalvikvm( 453): LinearAlloc 0x0 used 4100 of 4194304 (0%)
W/dalvikvm( 453): JNI_CreateJavaVM failed
E/AndroidRuntime( 453): JNI_CreateJavaVM failed

Dianne Hackborn

unread,
Nov 28, 2008, 9:35:01 PM11/28/08
to android...@googlegroups.com
I would guess that your /data filesystem is not writeable:


E/dalvikvm(  450): Can't open dex cache '/data/dalvik-cache/
system@framework@core.jar@
classes.dex': No such file or directory
I/dalvikvm(  450): Unable to open or create cache for /system/
framework/core.jar


--
Dianne Hackborn
Android framework engineer
hac...@android.com

Note: please don't send private questions to me, as I don't have time to provide private support.  All such questions should be posted on public forums, where I and others can see and answer them.

Reply all
Reply to author
Forward
0 new messages