PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → WD 8 with jdk 1.5.0 04 and BouncyCastle
WD 8 with jdk 1.5.0 04 and BouncyCastle
Iniciado por Manuela, 21,sep. 2005 09:58 - No hay respuesta
Publicado el 21,septiembre 2005 - 09:58
I develope an application which sends and reads signed and encrypted mail with Java, I compile it with jdk 1.5.0_04 and now I need to call this application from Windev 8.

My java's project is quite complex (Bouncycastle package, maybe do you know it?) and now I'm not able to call my java class from Windev.

Some weeks ago I simply wrote a single java class which just say "Hello World" and I compiled it with JDK 1.5.0_04; then I tried to call it from Windev 8 and all worked fine, I simply used this instructions:

javaLoad("C:\Programmi\Java\jdk1.5.0_04\src.zip; C:\Eclipse_Project\Stampanti")
res = javaExecuteFunction("ListaStampanti", "dati_Java", javaString)

where:
- C:\Programmi\Java\jdk1.5.0_04\src.zip is the location of JDK's src.zip
- C:\Eclipse_Project\Stampanti is the location of ListaStampanti.class;
- ListaStampanti is the name of my java class;
- dati_Java is the name of the method I need to call;
- javaString is the type returned by dati_Java's method;

This simple example works fine in Windev 8 so I realised that the problem is not the JDK I use but my ignorance in configuring javaLoad instruction for a complex project like Bouncycastle (http://www.bouncycastle.org) which has got a lot of classes and a lot of external jars....

May you help me in understanding what I've to write in javaload() function?

Regards,
Manuela