• Bugs
  • Could Not Create The Java Virtual Machine

Related Discussions
...

Sorry, I should have been more explicit. Run the command from the Spine installation folder, eg:

cd C:\Program Files (x86)\Spine
java -jar launcher\launcher-full.jar

If Java is not in your command shell path, you'll need to specify the full path to it, eg:

cd C:\Program Files (x86)\Spine
"C:\Program Files (x86)\Java\jre7\bin\java" -jar launcher\launcher-full.jar

Note the quotes are needed because the path to java.exe has spaces in it.

Yeah, doing that results in the following text still...

Error: Unable to access jarfile launcher\launcher-full.jar

If there aren't any other methods you can think of, then I'll just have to email you for a refund. Sorry for all the trouble. Wish it could have worked. :-/


Could it just have something to do with permissions? Since it says it is "unable to access", there must be something preventing me from running it...

It could be permissions, though "Unable to access jarfile" is also what you get if Java just can't find the JAR file. Can you check there is indeed a launcher-full.jar file in the C:\Program Files (x86)\Spine\launcher directory?

You can run this command to make sure it is not a permissions problem:

icacls "C:\Program Files (x86)\Spine" /grant Everyone:(OI)(CI)F

launcher-full.jar is present in the directory you mentioned.

Results of running the command line instruction:
C:\Program Files (x86)\Spine: Access is denied.
Successfully processed 0 files; Failed processing 1 files

:o Hmm, maybe it is a permissions problem. Try pressing Windows + R, type cmd, check run as admin, then press OK and try the icacls command again.

4 дня спустя

Okay Nate, finally got around to running what you said. Results took longer this time, and it worked, I think?

processed file: C:\Program Files (x86)\Spine
Sucessfully processed 1 files; Failed processing 0 files

What does that mean I need to do? Cause I already previously tried running Spine as an administrator


Okay, so I just tried what Mnemonic suggested, and it finally worked! Thank you very much, to all of you (especially Nate and Shiu for working with me for so long).

Glad to hear you got it working. And thanks Mnemonic for finding the solution!

2 месяца спустя

Had the same error!

Strangely it worked the first time, second time starting Spine got that error.

Thanks for the solution!

5 месяцев спустя

I have this error on occasion ( I'm running Windows 8. ).

Not sure what my Java setup is, but the following just worked for me:

1.) Find "launcher-full.jar" in your spine installation directory.
2.) Double click it .
==> Tadaa! Spine runs.

( Just thought I'd put it here in case in might help someone else ...) :think:

I had this same issue and resolved it by simply closing any open Chrome browser windows.

2 года спустя

Open up Windows' System Properties from the control panel and hunt down the environment variables section:

  • Add a JAVA_HOME entry pointing to the directory where the JDK is installed (e.g. C:\Program Files\Java\jre6)
  • Find the Path entry and add the following onto the end ;%JAVA_HOME%\bin
  • OK the changes
  • Restart, so that it is aware of the new environment

Most Java tools will now be able to find your Java installation either by using the JAVA_HOME environment variable or by looking for java.exe / javaw.exe in the Path environment variable.

More about....Java Virtual Machine

http://net-informations.com/java/intro/jvm.htm

Jomy

That is true, but Spine comes bundled with it's own version of Java and doesn't use JAVA_HOME (or the other mechanisms, like the Windows registry) to find the system Java installation.