Hi Davantmay,
Your post is posted to a wrong forum. I moved it to "Java Applets". Please find the correct forum next time.
Regarding to your questions, please read the following thread. It is a little bit long but i am almost sure that you will solve your problem if you try suggested solutions there
Several Java Virtual Machines running in the same process caused an error