Skip to main content

I have received CJAVA-CLASSNOTFOUND VALUE -3 in a call C$JAVA.

Below a piece of my code:

CALL "C$JAVA"
USING
"br.com.univeinfo.util.Log",
"grava",
"(XX)V",
pasta, |folder
texto-log |some text
RETURNING STATUS-VAL

My environment variables:

JAVA_LIBRARY_NAME=C:\\Program Files (x86)\\Java\\jre-1.8\\bin\\client\\jvm.dll
JAVA_OPTIONS=-Djava.library.path=C:\\SISNFE4\\sisNFe4.jar

Can you help me?

I have received CJAVA-CLASSNOTFOUND VALUE -3 in a call C$JAVA.

Below a piece of my code:

CALL "C$JAVA"
USING
"br.com.univeinfo.util.Log",
"grava",
"(XX)V",
pasta, |folder
texto-log |some text
RETURNING STATUS-VAL

My environment variables:

JAVA_LIBRARY_NAME=C:\\Program Files (x86)\\Java\\jre-1.8\\bin\\client\\jvm.dll
JAVA_OPTIONS=-Djava.library.path=C:\\SISNFE4\\sisNFe4.jar

Can you help me?

Call C$JAVA - first thing is your Call C$JAVA needs to have some sort of operation you want to perform such as: 

CALL "C$JAVA" USING CJAVA-NEW  these op-codes are described in the docs.
Typically the minimum would be Call C$JAVA using CJAVA-NEW, then CALL "C$JAVA" USING CJAVA-CALL
The sample\\java directory contains an example and a readme.