The Artima Developer Community
Sponsored Link

Java Answers Forum
could not create the Java virtual machine

4 replies on 1 page. Most recent reply: Aug 25, 2004 3:37 AM by Kondwani Mkandawire

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 4 replies on 1 page
Brandon

Posts: 2
Nickname: schmirk
Registered: Aug, 2004

could not create the Java virtual machine Posted: Aug 7, 2004 9:02 PM
Reply to this message Reply
Advertisement
I am using a Dell Inspiron 5150
Windows XP Pro w/ corporate upgrade

Have installed the MSJava Virtual Machine 3810 update.

I am trying to run a game called Dungeon Master Java. Instructions were to create a shortcut on my desktop as follows:

target: "C:\Program Files\Java\j2re1.4.2_05\bin\javaw.exe" "-cp. dmnew"

(I have confirmed that this exe is there.)

start in: "C:\Program Files\dmjava"

(in the directory dmjava is 'dmnew.cfg' and 'dmnew.class'
plus a list of 'dmnew$xxx.class' files.)

Since I really want to play this game I am hunting around for suggestions to fix this.

Hopin' for answers - Brandon


Vaibhav

Posts: 4
Nickname: vaibhz
Registered: Aug, 2004

Re: could not create the Java virtual machine Posted: Aug 9, 2004 3:21 AM
Reply to this message Reply
What is the error message or exceptin ur encountring... may be with tht ppl can help u out

Brandon

Posts: 2
Nickname: schmirk
Registered: Aug, 2004

Re: could not create the Java virtual machine Posted: Aug 10, 2004 10:39 PM
Reply to this message Reply
I forgot to mention that the subject of my message is the exact error message. oops

I was able to find a half fix. After running the msjava diagnostics I found there are 146 dependencies on the msjave vm. So I created a ghost image of my os for backup then uninstalled msjvm. Installed sun java runtime and voila, the application works no problem.

I encountered the problem after unwittingly installing sun when msjvm was already installed.

Now I dont have msjvm. What will happen to the 146 dependencies? Do they use sunjava? I'm assuming the previous file path to msjava will be with them still.

And what are they? What types of apps have java dependencies. I only have a few programs installed on this machine.

If yall are interested in feeding my curiosity I'd appreciate it.

Brandon

Simon

Posts: 1
Nickname: booblar
Registered: Aug, 2004

Re: could not create the Java virtual machine Posted: Aug 22, 2004 2:48 AM
Reply to this message Reply
I am having similer problems with DM Java, I've uninstalled msjava and installed sun but still getting the same msg. I'm running XP pro.

Can any body help please?

Thanks,

Simon

> I forgot to mention that the subject of my message is the
> exact error message. oops
>
> I was able to find a half fix. After running the msjava
> diagnostics I found there are 146 dependencies on the
> msjave vm. So I created a ghost image of my os for backup
> then uninstalled msjvm. Installed sun java runtime and
> voila, the application works no problem.
>
> I encountered the problem after unwittingly installing sun
> when msjvm was already installed.
>
> Now I dont have msjvm. What will happen to the 146
> dependencies? Do they use sunjava? I'm assuming the
> previous file path to msjava will be with them still.
>
> And what are they? What types of apps have java
> dependencies. I only have a few programs installed on this
> machine.
>
> If yall are interested in feeding my curiosity I'd
> appreciate it.
>
> Brandon

Kondwani Mkandawire

Posts: 530
Nickname: spike
Registered: Aug, 2004

Re: could not create the Java virtual machine Posted: Aug 25, 2004 3:37 AM
Reply to this message Reply
I'm pretty sure that if you have a JRE properly installed
and configured (probably you might need to set
your environment variables using the Control Panel,
under System to point to the bin directory of where
you put your Sun JRE) you should be able to run
any byte code with no problems.

I hope I understood the nature of your problem.

Good luck.

Spike

Flat View: This topic has 4 replies on 1 page
Topic: <Access denied by access control list. > error Previous Topic   Next Topic Topic: disabling the keyevents


Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2014 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us