Jump to content

Jaspersoft Studio: "Failed to create the Java Virtual Machine" at startup


gast951

Recommended Posts

Win 7 Professional 32bit, Java -version = 1.7.0.51

Just installed "Jaspersoft Studio-5.5.0.final-windows-installer-x86.exe", everything left at default value.

When I start JS Studio, a window contaning the error message above appears. Software does not start.

Other PC, same Windows, same Java: no problem.

Anyone had this error and found out why this happens?

Thank you.

 

Link to comment
Share on other sites

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Thank you, no bug tracking needed, but perhaps interesting for others:

 

I found out that there is a second JRE (Java 6) on the PC where ist fails. I deinstalled this one. After this JS Studio started.

No other action, not even Windows restart: JS Studio won't start -> deinstall second old JRE -> JS Studio starts.

 

But when I double clicked a .jrxml file in Eclipse, I still got the error message.

But not, if I right clicked it, chose "open with" and selected JS Studio.

So I associated .jrxml files in Eclipse (Window-Preferences-General-Editors) with JS Studio, and now also double click opens JS Studio.

 

Regards

Rudi

 

 

Link to comment
Share on other sites

  • 3 months later...

This worked for me to resolve the above error:

- Go to the Jaspersoft Studio installation folder, open ‘Jaspersoft Studio.ini’ file using Notepad and edit it as below.

- Find the line -Xmx128m (or -Xmx1024m). Now change the default value 128m (or 1024m) to 512m.

- Save and close it.

- Now you should be able to open Jaspersoft Studio without getting the error message.

Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...