• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Could not create java virtual machine

 
Sabine El Rassy
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I have a .JNLP file on a server. when i try to execute the file from a certain post, I get this error "Could not create java virtual machine ".
The same .JNLP file executed from a different post is working fine with no problem.
Does anyone have an idea what could it be?

I tried to modify the max-heap-size in the JNLP from "1024m" to "512m" and it didnt work. Reinstalling java on the post didn't work either.

Thanks for your help
 
Maneesh Godbole
Saloon Keeper
Posts: 11165
14
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you start getting the error after you explicitly set the heap size? If yes, can you try removing the size specification?
Also, you might want to check on the error console in the browser as well as the java control panel.
 
Sabine El Rassy
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No it appeared directly once I try to execute since the beginning. removing specification didn't work.
and the error occurs before that the java console debugger opens.
this is the code of my JNLP


Ps: On the same post I have another exact JNLP that links to another .jar and works fine
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic