By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,739 Members | 2,014 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,739 IT Pros & Developers. It's quick & easy.

MFC Application using the JNI (Java Native Interface)

P: n/a
Hello World !

I got some questions about the JNI and its usage with Microsoft Visual
Studio.
First question:

I made an Win32 Application that starts a VM when clicking on a
button. The first time I do this, everything works fine.
But the second try returns error code -1 (unknown error) when trying
to create the VM. Just to mention it, the VM from before was
succesfully destroyed.
May be someone can give me a hint or a solution for this problem.

Second question:

Is it possible to have more than one VM running at the same time ? I
have to ask because I want to access many class files and they are all
in different directories.

I'm looking forward to get many usefull replies

Thanks in advance
Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.