JasperSoft Studio MacOS "Failed to create the Java Virtual Machine"


Just downloaded version 5.5 of JAsperSoft studio and tried to start it, but got the warning (!) "Failed to create the Java Virtual Machine". And then nothing happens.

I have JDK installed, which works fine on IntelliJ IDEA for instance.

I have MacOS X 10.7.5.

What to do?

regards - Mikael Brodd

mikael.brodd's picture
Joined: Mar 31 2014 - 6:01am
Last seen: 6 years 5 months ago

2 Answers:


If you ar ein a Mac you will find this file going to applications and right click on the Jaspersoft Studio.app then select "Show Package Content" the .ini file will be located in Contents/MacOS/JasperSoft Studio.ini 

That file as as @hozawa said all the settings of JSS. In there look at the -vm line it should be pointing to one of your JVM folders, check if that is correct if not point it to your installed JVM it should be something like in my Mac is /Library/Java/JavaVirtualMachines/jdk1.7.0_11.jdk/Contents/Home/ But I'm using MacOSX 10.9 so YMMV

marianol's picture
Joined: Sep 13 2011 - 8:04am
Last seen: 1 year 11 months ago

Thanks, now I found the ini-file and edited as you suggested. But still the same behaviour. Here's the contents of the ini-file:


mikael.brodd - 6 years 5 months ago

Mmmm... Strange and im running out of options:) Looks like something is preventing the JVM to be created. Why don't you open an issue in the JSS bug tracker http://community.jaspersoft.com/bug-tracker?field_bug_project_target_id=496

marianol - 6 years 5 months ago

Just to make this post complete, because I had the same problem.
The full path name should be: /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/bin
I added the bin folder and it worked for me (in my case I used jdk.1.7.0_55.jdk but that's besides the point)

harry.vanderkolk - 6 years 1 month ago

There's a "Jaspersoft Studio.ini" file in the folder where you've installed Studio. Open this file up with a text editor. There should be a following line:


Replace the second line with absolute path to your jdk/bin





hozawa's picture
Joined: Apr 24 2010 - 4:31pm
Last seen: 1 year 3 months ago

I'm on a Mac, so sorry, but no, I don't have the ini file there. But I found it through marianol's answer below.

mikael.brodd - 6 years 5 months ago