ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » 'Failed to create the Java Virtual Machine' error

Post new topic  Reply to topic
 'Failed to create the Java Virtual Machine' error « View previous topic :: View next topic » 
Author Message
arunft9
PostPosted: Wed Apr 23, 2014 4:13 am    Post subject: 'Failed to create the Java Virtual Machine' error Reply with quote

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
View user's profile Send private message
smdavies99
PostPosted: Wed Apr 23, 2014 4:33 am    Post subject: Reply with quote

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
View user's profile Send private message
arunft9
PostPosted: Wed Apr 23, 2014 6:25 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Wed Apr 23, 2014 6:32 am    Post subject: Reply with quote

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
View user's profile Send private message
arunft9
PostPosted: Wed Apr 23, 2014 6:41 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Wed Apr 23, 2014 6:46 am    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Wed Apr 23, 2014 7:21 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

Here are a few rules...
  1. Don't touch the classpath for MQExplorer
  2. Don't touch the jvm for MQExplorer
  3. any other java tool you need you can launch from it's own environment

_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » 'Failed to create the Java Virtual Machine' error
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.