aspose file tools*
The moose likes JNLP and Web Start and the fly likes Could not create java virtual machine Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Could not create java virtual machine" Watch "Could not create java virtual machine" New topic
Author

Could not create java virtual machine

Sabine El Rassy
Greenhorn

Joined: Jan 23, 2012
Posts: 10
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

Joined: Jul 26, 2007
Posts: 10245
    
    8

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.


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Sabine El Rassy
Greenhorn

Joined: Jan 23, 2012
Posts: 10
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Could not create java virtual machine