Creating java executable using JNI ?

Posted by Xinus on Stack Overflow See other posts from Stack Overflow or by Xinus
Published on 2010-05-08T13:35:37Z Indexed on 2010/05/08 13:38 UTC
Read the original article Hit count: 273

Filed under:
|
|

I am trying to create executable under windows platform for Java program using JNI ,C/C++ and invocation API, I have already created jar file for my program which includes all dependencies. I want to embed it in exe file, I was successful in running simple main class(present in file system) using JNI invocation API, I am planning to add jar file as resource in C/C++ program. But I don't know how do I run that jar file , One option is create temporary jar file on file system and run it using java, But I do not want to expose my jar file to everyone for security reasons, How can I run serialized jar file on the fly using JNI ?

© Stack Overflow or respective owner

Related posts about java

Related posts about jni