miondere
17-01-2006, 14:35
Salve!
Devo sviluppare delle JNI per interfacciarmi con il java a delle librerie in c++, ma devo fare tutto questo su Pocket PC.
Sono quindi alla ricerca di una Java Virtual Machine per Pocket PC.
L'unica free che ho trovato e purtroppo credo che non ne esistano altre è Mysaifu http://www2s.biglobe.ne.jp/~dat/java/project/jvm/index_en.html
Purtroppo non mi funziona, non mi trova la dll in un semplice esempio Hello World:
Exception in thread "Thread-1" java.lang.ExceptionInInitializerError
at HelloWorld.main (HelloWorld.java :9)
at java.lang.reflect.Method.invokeNative (Native Method)
at java.lang.reflect.Method.invoke (Method.java:329)
at java.lang.VMMainThread$1.run (VMMainThread.java:100)
at java.lang.VMThread.run ( VMThread.java:120)
Caused by: java.lang.UnsatisfiedLinkError: Native library `hello' not found (as file `hello') in gnu.classpath.boot.library.path and java.library.path
at java.lang.Runtime.loadLibrary (Runtime.java:763)
at java.lang.System.loadLibrary (System.java:512)
at HelloWorld.<clinit> ( HelloWorld.java:5)
at HelloWorld.<clinit> ( HelloWorld.java:5)
at HelloWorld.main (HelloWorld.java :9)
...4 more
JVM exit.
Qualcuno di voi ha esperienza con JVM per pocket pc?
Grazie, ciao
Devo sviluppare delle JNI per interfacciarmi con il java a delle librerie in c++, ma devo fare tutto questo su Pocket PC.
Sono quindi alla ricerca di una Java Virtual Machine per Pocket PC.
L'unica free che ho trovato e purtroppo credo che non ne esistano altre è Mysaifu http://www2s.biglobe.ne.jp/~dat/java/project/jvm/index_en.html
Purtroppo non mi funziona, non mi trova la dll in un semplice esempio Hello World:
Exception in thread "Thread-1" java.lang.ExceptionInInitializerError
at HelloWorld.main (HelloWorld.java :9)
at java.lang.reflect.Method.invokeNative (Native Method)
at java.lang.reflect.Method.invoke (Method.java:329)
at java.lang.VMMainThread$1.run (VMMainThread.java:100)
at java.lang.VMThread.run ( VMThread.java:120)
Caused by: java.lang.UnsatisfiedLinkError: Native library `hello' not found (as file `hello') in gnu.classpath.boot.library.path and java.library.path
at java.lang.Runtime.loadLibrary (Runtime.java:763)
at java.lang.System.loadLibrary (System.java:512)
at HelloWorld.<clinit> ( HelloWorld.java:5)
at HelloWorld.<clinit> ( HelloWorld.java:5)
at HelloWorld.main (HelloWorld.java :9)
...4 more
JVM exit.
Qualcuno di voi ha esperienza con JVM per pocket pc?
Grazie, ciao