Author |
Message
|
arunft9 |
Posted: Wed Apr 23, 2014 4:13 am Post subject: 'Failed to create the Java Virtual Machine' error |
|
|
Newbie
Joined: 23 Apr 2014 Posts: 3
|
Hi All,
I am getting 'Failed to create the Java Virtual Machine' error every time when I try to open my the WebSphere MQ Explorer (Version 7.5). This is started happening after I am updating the Java in my machine.
I did update the CLASSPATH for the latest Java version for which I have installed. I tried many changes in the MQExplorer.ini file to get this work, but no luck. Could someone help on this
Thanks in Advance.
This how my MQExplorer.ini looks
-startup
../mqexplorer/eclipse/plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
--launcher.library
../mqexplorer/eclipse/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.2.R36x_v20101222
-vm
../java/jre/bin
-vmargs
-Xmx512M |
|
Back to top |
|
 |
smdavies99 |
Posted: Wed Apr 23, 2014 4:33 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
Why did you do that?
MQExplorer includes its own jvm.
 _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
arunft9 |
Posted: Wed Apr 23, 2014 6:25 am Post subject: |
|
|
Newbie
Joined: 23 Apr 2014 Posts: 3
|
I installed Java to post some bulk message into the queues with a custom tool.
Is it possible to update the details in MQexplorer.ini and solve this ? |
|
Back to top |
|
 |
Vitor |
Posted: Wed Apr 23, 2014 6:32 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
arunft9 wrote: |
I installed Java to post some bulk message into the queues with a custom tool. |
But the Java people always tell me you can have multiple versions of Java and it's all just fine. Like everything else in Java land. Why change what the Explorer was using?
arunft9 wrote: |
Is it possible to update the details in MQexplorer.ini and solve this ? |
No.
You could reinstall the Explorer; that would probably fix it _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
arunft9 |
Posted: Wed Apr 23, 2014 6:41 am Post subject: |
|
|
Newbie
Joined: 23 Apr 2014 Posts: 3
|
I tried re-installing MQExplorer many times but it didn't work
Also, I tried updating -vm../java/jre/bin to different values like updating the path to local javaw.exe and adding javaws to /java/jre/bin it resulted different error messages. I think updating the MQExplorer.ini or CLASSPATH will resolve this, but not sure what would be right solution |
|
Back to top |
|
 |
Vitor |
Posted: Wed Apr 23, 2014 6:46 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
You need someone who understands Java a lot more than I do.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Apr 23, 2014 7:21 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Here are a few rules...
- Don't touch the classpath for MQExplorer
- Don't touch the jvm for MQExplorer
- any other java tool you need you can launch from it's own environment
_________________ MQ & Broker admin |
|
Back to top |
|
 |
|