Technically, Android doesn't use a JVM.

Android actually compiles java code to native code, so you may need to
make sure your app and JESS is compiled properly. Even though android
supports a large percent of the core java API, there are things
missing from it.

peter lin

On Tue, Oct 5, 2010 at 3:40 AM, PramodJagtap <[email protected]> wrote:
>
> I tried to use JESS jar files (jess.jar and jsr94.jar) in android
> application. Somehow it is having issue while creating instance of "Rete"
> and it is throwing following exception:
> **************************************************************************
> I/System.out(  397): *** FATAL ***: Can't initialize Jess
> W/System.err(  397): Jess reported an error in routine
> Funcall.loadIntrisics.
> W/System.err(  397):   Message: Missing non-optional function class.
> W/System.err(  397):    at jess.Funcall.goto(Unknown Source)
> W/System.err(  397):    at jess.Funcall.<clinit>(Unknown Source)
> W/System.err(  397):    at jess.ValueFactory.<init>(Unknown Source)
> W/System.err(  397):    at jess.Rete.<init>(Unknown Source)
> W/System.err(  397):    at jess.Rete.<init>(Unknown Source)
> W/System.err(  397):    at
> gov.sandia.jess.example.pricing.PricingEngine.<init>(
> PricingEngine.java:17)
> W/System.err(  397):    at
> gov.sandia.jess.example.pricing.demo.TestJESS.onCreat
> e(TestJESS.java:24)
> W/System.err(  397):    at
> android.app.Instrumentation.callActivityOnCreate(Inst
> rumentation.java:1047)
> W/System.err(  397):    at
> android.app.ActivityThread.performLaunchActivity(Acti
> vityThread.java:2627)
> W/System.err(  397):    at
> android.app.ActivityThread.handleLaunchActivity(Activ
> ityThread.java:2679)
> W/System.err(  397):    at
> android.app.ActivityThread.access$2300(ActivityThread
> .java:125)
> W/System.err(  397):    at
> android.app.ActivityThread$H.handleMessage(ActivityTh
> read.java:2033)
> W/System.err(  397):    at
> android.os.Handler.dispatchMessage(Handler.java:99)
> W/System.err(  397):    at android.os.Looper.loop(Looper.java:123)
> W/System.err(  397):    at
> android.app.ActivityThread.main(ActivityThread.java:4
> 627)
> W/System.err(  397):    at java.lang.reflect.Method.invokeNative(Native
> Method)
> W/System.err(  397):    at java.lang.reflect.Method.invoke(Method.java:521)
> W/System.err(  397):    at
> com.android.internal.os.ZygoteInit$MethodAndArgsCalle
> r.run(ZygoteInit.java:868)
> W/System.err(  397):    at
> com.android.internal.os.ZygoteInit.main(ZygoteInit.ja
> va:626)
> W/System.err(  397):    at dalvik.system.NativeStart.main(Native Method)
> W/System.err(  397): Caused by: java.lang.VerifyError: jess.d9
> W/System.err(  397):    at jess.du.a(Unknown Source)
> W/System.err(  397):    at jess.Funcall.a(Unknown Source)
> W/System.err(  397):    ... 20 more
> I/AndroidRuntime(  397): AndroidRuntime onExit calling exit(0)
> I/ActivityManager(   66): Process gov.sandia.jess.example.pricing.demo (pid
> 397)
>  has died.
> ******************************************************************************
>
> I am not sure if this is the correct way of using JESS in an android app.
> Can someone please tell me how to do that ?
>
> Thanks,
> Pramod
>
>
>
>
> PramodJagtap wrote:
>>
>> Hello,
>>
>> I am trying out existing rule engines on android devices (specifically
>> Android OS 2.2 devices) .
>> While searching I came across Jena, JESS and JTP as suitable candidates. I
>> tried porting Jena on android but somehow it's ARQ support is causing some
>> issues.
>> So I was wondering if it's possible to use JESS on android devices and if
>> yes, can someone provide me few pointers?
>>
>>
>> Thanks in advance.
>> Pramod
>>
>
> --
> View this message in context: 
> http://old.nabble.com/JESS-on-android-device-tp29885003p29885044.html
> Sent from the Jess mailing list archive at Nabble.com.
>
>
>
> --------------------------------------------------------------------
> To unsubscribe, send the words 'unsubscribe jess-users [email protected]'
> in the BODY of a message to [email protected], NOT to the list
> (use your own address!) List problems? Notify [email protected].
> --------------------------------------------------------------------
>
>




--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [email protected]'
in the BODY of a message to [email protected], NOT to the list
(use your own address!) List problems? Notify [email protected].
--------------------------------------------------------------------

Reply via email to