×
Discuss on Template programming, jBASE programming, Enquiries, No-File enquiry, Enquiry routines, Version, Version routines, Menus, Abbriviations, Creating local reference fields, Fast path enquiries, Creating charts and graphs, Generating Reports, Deal slips, Straight through processing, Multi Company and Multi Book setup, Tabbed screens, Composite Screens, T24 API, etc...
Using CallJ
- oleg.st
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
14 years 10 months ago #5368
by oleg.st
Using CallJ was created by oleg.st
Can anyone help me?
I tried the example from jBASE BASIC documentation about calling java code from routine, CALLJ, but I have faced with some troubles that I can't solve. I tried with next environment variables:
JBCJVMLIB=/temenos/jbase/4.1.5.29/jdk/jre/bin/classic/libjvm.a
LIBPATH=/temenos/jbase/4.1.5.29/jdk/jre/bin
but i received this error message
Can't load library "/temenos/jbase/4.1.5.29/jdk/jre/bin/libjava.a", because load ENOENT on shared library(s) /temenos/jbase/4.1.5.29/jdk/jre/bin/libjava.a libjvm.a
Can't load library "/temenos/jbase/4.1.5.29/jdk/jre/bin/libcore.a", because load ENOENT on shared library(s) /temenos/jbase/4.1.5.29/jdk/jre/bin/libcore.a
JVM: Can't create JVM. Error : -1
And I tried this:
JBCJVMLIB=/usr/java5_64/jre/bin/j9vm/libjvm.so
LIBPATH=/temenos/jbase/4.1.5.29/jdk/jre/bin
And i received this error message:
Unable to find UTE, path used /usr/java5_64/jre/bin/libute.a
JVMCI170: Please check the path to shared libraries
JVM: Can't create JVM. Error : -1
Can anyone help me?
I tried the example from jBASE BASIC documentation about calling java code from routine, CALLJ, but I have faced with some troubles that I can't solve. I tried with next environment variables:
JBCJVMLIB=/temenos/jbase/4.1.5.29/jdk/jre/bin/classic/libjvm.a
LIBPATH=/temenos/jbase/4.1.5.29/jdk/jre/bin
but i received this error message
Can't load library "/temenos/jbase/4.1.5.29/jdk/jre/bin/libjava.a", because load ENOENT on shared library(s) /temenos/jbase/4.1.5.29/jdk/jre/bin/libjava.a libjvm.a
Can't load library "/temenos/jbase/4.1.5.29/jdk/jre/bin/libcore.a", because load ENOENT on shared library(s) /temenos/jbase/4.1.5.29/jdk/jre/bin/libcore.a
JVM: Can't create JVM. Error : -1
And I tried this:
JBCJVMLIB=/usr/java5_64/jre/bin/j9vm/libjvm.so
LIBPATH=/temenos/jbase/4.1.5.29/jdk/jre/bin
And i received this error message:
Unable to find UTE, path used /usr/java5_64/jre/bin/libute.a
JVMCI170: Please check the path to shared libraries
JVM: Can't create JVM. Error : -1
Can anyone help me?
Please Log in or Create an account to join the conversation.
- oleg.st
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
14 years 10 months ago #5375
by oleg.st
Replied by oleg.st on topic Re:Using CallJ
I've recently solved this problem.
Please Log in or Create an account to join the conversation.
- yathishn
- Offline
- New Member
-
Less
More
- Posts: 10
- Thank you received: 0
14 years 10 months ago #5390
by yathishn
Replied by yathishn on topic Re:Using CallJ
why dont u post how u solved the problem..
Please Log in or Create an account to join the conversation.
- oleg.st
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
14 years 9 months ago #5394
by oleg.st
Replied by oleg.st on topic Re:Using CallJ
I used this configuration in profile:
export JBCJVMLIB=$JREDIR/bin/classic/libjvm.a
export LIBPATH=$LIBPATH:$JREDIR/bin:$JREDIR/bin/classic
export LDR_CNTRL=MAXDATA=0x80000000@USERREGS
export CLASSPATH=... to your jar file
maybe your configuration would be slithly different
export JBCJVMLIB=$JREDIR/bin/classic/libjvm.a
export LIBPATH=$LIBPATH:$JREDIR/bin:$JREDIR/bin/classic
export LDR_CNTRL=MAXDATA=0x80000000@USERREGS
export CLASSPATH=... to your jar file
maybe your configuration would be slithly different
Please Log in or Create an account to join the conversation.
Time to create page: 0.041 seconds