On 2/22/07, Andrey Sokolov <[EMAIL PROTECTED]> wrote:
Hi, All! I've experienced some troubles while the very beginning of using DRLVM. In spite of successfull building both DRLVM and classlib, I have not managed to run a simple 'Hello, world' java application using JVM. After entering a command line like 'java.exe Hello' it produces next log: java/lang/ExceptionInInitializerError : (null) at com.ibm.icu4jni.charset.CharsetProviderICU.charsetForName (Unknown Source) at java.nio.charset.Charset.forNameInternal (Charset.java: 483) at java.nio.charset.Charset.forName (Charset.java: -1) at java.lang.String.defaultCharset (String.java: 718) at java.lang.String.getBytes (String.java: -1) at org.apache.harmony.luni.util.Util.getBytes (Util.java: 52) at java.io.File.properPath (File.java: 1176) at java.io.File.getAbsolutePath (File.java: -1) at java.io.File.getAbsoluteName (File.java: -1) at java.io.File.toURI (File.java: -1) at java.lang.ClassLoader$SystemClassLoader.<clinit> (ClassLoader.java: 957) at java.lang.ClassLoader.initSystemClassLoader (ClassLoader.java: 632) at java.lang.ClassLoader.getSystemClassLoader (ClassLoader.java: 150) at java.lang.Thread.<init> (Thread.java: 227) caused by java/lang/NullPointerException : (null) at java.lang.Runtime.loadLibrary0 (Runtime.java: 769) at java.lang.System.loadLibrary (System.java: 220) at com.ibm.icu4jni.common.ICU4JNILoader.loadLibrary (Unknown Source) at com.ibm.icu4jni.converters.NativeConverter.<clinit> (Unknown Source) at com.ibm.icu4jni.charset.CharsetProviderICU.charsetForName (Unknown Source) at java.nio.charset.Charset.forNameInternal (Charset.java: 483) at java.nio.charset.Charset.forName (Charset.java: -1) at java.lang.String.defaultCharset (String.java: 718) at java.lang.String.getBytes (String.java: -1) at org.apache.harmony.luni.util.Util.getBytes (Util.java: 52) at java.io.File.properPath (File.java: 1176) at java.io.File.getAbsolutePath (File.java: -1) at java.io.File.getAbsoluteName (File.java: -1) at java.io.File.toURI (File.java: -1) at java.lang.ClassLoader$SystemClassLoader.<clinit> (ClassLoader.java: 957) at java.lang.ClassLoader.initSystemClassLoader (ClassLoader.java: 632) at java.lang.ClassLoader.getSystemClassLoader (ClassLoader.java: 150) at java.lang.Thread.<init> (Thread.java: 227) HMYEXEL062E Internal VM error: Failed to create Java VM FAILED to invoke JVM. I wonder, what this trouble is actually about. I hope, You'll help me. Tnank You so much.
Please make sure icu*.dll files are in the executable path. Andrey Sokolov, Novosibirsk, Russia
[EMAIL PROTECTED]
-- Best regards, Andrew Zhang