Jump to content
We've recently updated our Privacy Statement, available here ×

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


mikael.brodd
Go to solution Solved by marianol,

Recommended Posts

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 1.7.0.25 installed, which works fine on IntelliJ IDEA for instance.

I have MacOS X 10.7.5.

What to do?

regards - Mikael Brodd

Link to comment
Share on other sites

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

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:

-vm
features/jre.win32.win32.x86_64.feature_1.7.0.u25/jre/bin

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

 

Example:

-vm
C:/Java/jdk1.7.0_25/bin/javaw.exe

 

Link to comment
Share on other sites

  • Solution

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

Link to comment
Share on other sites

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:

 

-startup

../../../plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar

--launcher.library

../../../plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.200.v20120913-144807

-data

@noDefault

-clean

-vm

/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home

-vmargs

-Xms128m

-Xmx1024m

-XX:PermSize=128M

-XX:MaxPermSize=256M

-XX:+CMSClassUnloadingEnabled

-XX:+UseConcMarkSweepGC

-Dfile.encoding=UTF-8

-XstartOnFirstThread

-Dorg.eclipse.swt.internal.carbon.smallFonts

 

Link to comment
Share on other sites

  • 4 months 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...