This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
I'm working on a C++ application and wanted to use Java code in it. To do that, i've been trying to use CNI functions to call compiled java code with their gcjh produced headers. I first create the JVM, then attach the current thread as defined in the manual. Then, when I need a particular java class instance, i do a new in C++ and use the instance. But, how and when will this object be deleted ?
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |