Page 1 of 1

Java over JNI using a PB-dll

Posted: Thu Sep 14, 2006 10:56 pm
by Froggerprogger
Hi there!
In the last two days I made several experiments in Java on how to call native methods via JNI (Java Native Interface) that are implemented inside a dll made by PureBasic.

All is running fine, so if you are interested in, download the .zip containing compiled examples & sources at:

http://www.2mal2mal.de/public/purebasic ... NI_1.0.zip

The next thing will be to do the other way round: Creating and handling a JVM-instance from inside PB to control the whole Java-Environment :)

Posted: Fri Sep 15, 2006 2:32 am
by Straker
Good job! Keep it up - I am particularly interested in the other-way. I currently have a hybrid PB/Java app, but PB only manages the JARs not the JVM.

Posted: Wed May 20, 2009 12:32 pm
by pcfreak
great job, thanks for sharing :)

Posted: Sat Jul 25, 2009 7:55 pm
by Bonne_den_kule
Thanks for sharing :)
EDIT: Does someone know if this still works 100% with current version of PB?

Re: Java over JNI using a PB-dll

Posted: Tue Nov 08, 2016 9:25 pm
by Tombmyst
Is there anybody having the zip file? The link is dead now :(

Re: Java over JNI using a PB-dll

Posted: Tue Nov 08, 2016 10:55 pm
by jack
I found a copy PBJNI_1.0

Re: Java over JNI using a PB-dll

Posted: Wed Nov 09, 2016 8:26 am
by Tombmyst
jack wrote:I found a copy PBJNI_1.0
Thanks!