If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Failed to load java Virtual machine

Started by jschroeder, 02 Mar 2016 06:28:30 PM

Previous topic - Next topic

jschroeder

Whenever I try to run the Accelerator, I get the following error message:


Failed to load the Java Virtual Machine. Check that your working path is set correctly:

The specified module could not be found.


I'm not sure were to check that the working path is set correctly.

bus_pass_man

I see that error if I try to create a project with the MDA with the use dynamic query mode checkbox unchecked.  It is checked on by default.   I don't know if the bug is that the MDA is failing to load the JVM in compatible mode or that a dialog has a checkbox that it should not have.

Just out of curiosity, why do you want to use the old compatible mode query stack rather than the newer DQM?  Since you are starting from a tabula rasa, you ought to take advantage of a Tabula rasa.


jschroeder

Sorry, but I don't fully understand your question.  I'm very new to Cognos.  "Use Dynamic Query Mode"  is checked.  I get the same error if it is checked or not.

MFGF

Quote from: jschroeder on 03 Mar 2016 09:54:19 AM
Sorry, but I don't fully understand your question.  I'm very new to Cognos.  "Use Dynamic Query Mode"  is checked.  I get the same error if it is checked or not.

I think bus_pass_man was assuming you got this error when the "Use Dynamic Query Mode" checkbox was unchecked, but didn't get the error otherwise.

The "Failed to load java Virtual Machine" error is generic - is there an option to click on a Details link and post up the details? Are you running this on the server or on your local machine? What OS? Do you have another instance of FM on a different machine you can try to see if you get the same issue? I managed to find an IBM article dealing with this error in Cognos Controller, which is a different product, but some of the advice might still hold:

http://www-01.ibm.com/support/docview.wss?uid=swg21414679

Let us know what you find.

Cheers!

MF.
Meep!

bus_pass_man

B*gger.  I thought it was working with dqm mode set but it isn't.  The problem happens for both so that puts paid to that idea.

MFGF

Quote from: bus_pass_man on 03 Mar 2016 07:57:50 PM
B*gger.  I thought it was working with dqm mode set but it isn't.  The problem happens for both so that puts paid to that idea.

Ha! You should get your Clairvoyance Cap checked for error messages - might have had a temporary service outage ;)
Meep!

walshmagger

Most of the time you can fix this problem by uninstalling the Java runtime and then reinstalling it all over again. 

You can also try increasing the amount of system memory allocated to the Java virtual machine by setting an environment variable.

Open the Control Panel
Go to System
Go to Advanced Systems Properties
Then Environment Variables
In System Variables, click Add
New Variable Name: _JAVA_OPTIONS
New Variable Value: -Xmx512M
Click OK

That's it, your Java program should now be able to execute properly.