PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e 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.vergerio, set., 21 2005 9:58 AM - Sem resposta
Publicado em setembro, 21 2005 - 9:58 AM
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