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

Jaspersoft Studio not starting on Mac


gdoe6545
Go to solution Solved by Massimo Rabbi,

Recommended Posts

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Solution

Hi,
please try to locate the log file that should be in ~/JaspersoftWorkspace/.metadata/.plugins/org.eclipse.ui.workbench/log

Just in case try to start it from the command line like this:

1. Open Terminal window
2. Move to the Jaspersoft Studio install location: i.e. /Applications/Jaspersoft Studio 5.5.0.final/Jaspersoft Studio.app/Contents/MacOS
3. Run like this: ./Jaspersoft Studio -debug -consoleLog

You should see a more detailed log of what is happening. And this could give us some interesting info.

Best regards,
Massimo.

Link to comment
Share on other sites

I got it working by completely removing '.metadata' I'll keep the above in mind if I have problems in the future.

 

But I did then run into another problem, Studio was starting up under the 1.6 JRE even though my default JRE is 1.7 and I was getting "Unsupported major.minor version 51.0" build errors.

 

I had to remove this line in "Jaspersoft Studio.ini" to get things working:

-vm /Applications/Jaspersoft Studio 5.5.0.final/features/jre.macosx.cocoa.x86_64.feature_1.7.0.u25/jre/Contents/Home

 

After removing this my templates compile correctly and Studio uses the 1.7 JRE.

 

Link to comment
Share on other sites

I ran into the same problem os a separate machine and I can confirm the hang on startup is due to Studio running under the wrong JRE (1.6) when I have classes in my workspace compiled under 1.7.

 

Removing the -vm option as above allowed Studio to start correctly.

 

 

!SESSION 2013-12-21 06:07:01.759 -----------------------------------------------

eclipse.buildId=unknown

java.version=1.6.0_65

java.vendor=Apple Inc.

BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_GB

Framework arguments: -keyring /Users/phill/.eclipse_keyring -showlocation

Command-line arguments: -os macosx -ws cocoa -arch x86_64 -data @noDefault -clean -keyring /Users/phill/.eclipse_keyring -showlocation

 

!ENTRY org.eclipse.core.resources 2 10035 2013-12-21 06:07:12.708

!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.

 

!ENTRY org.eclipse.osgi 2 1 2013-12-21 06:07:14.224

!MESSAGE NLS unused message: ImageCreationDialog_bytes in: com.jaspersoft.studio.messages.messages

 

!ENTRY org.eclipse.core.resources 4 2 2013-12-21 06:07:16.927

!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".

!STACK 0

java.lang.UnsupportedClassVersionError: com/myapp/BidQuestionGroup : Unsupported major.minor version 51.0

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)

Link to comment
Share on other sites

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...