0
Explorer
,
/t5/animate-discussions/can-t-find-java-virtual-machine/td-p/161940
Nov 20, 2008
Nov 20, 2008
Copy link to clipboard
Copied
I got an error message, when trying to compile. At one point
it was working, but maybe I screwed up one of the environment
variables.
C:\Documents and Settings\jm>mxmlc
Error: could not find a JVM.
C:\Documents and Settings\jm>mxmlc
Error: could not find a JVM.
TOPICS
ActionScript
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
1 Correct answer
Explorer
,
Nov 21, 2008
Nov 21, 2008
To answer my own question and save future people pain. In
Windows, when Java can't find the virtual machine, you must do
Start > Control Panel > System > Advanced > Environment Variables
and set up user variable "java_home" to the JDK with forward slashes like so:
C:/Program Files/Java/jdk1.6.0_06
You do NOT put "/bin". If you put Java in a different folder, you should change java_home accordingly. Now I can move on with life.
Start > Control Panel > System > Advanced > Environment Variables
and set up user variable "java_home" to the JDK with forward slashes like so:
C:/Program Files/Java/jdk1.6.0_06
You do NOT put "/bin". If you put Java in a different folder, you should change java_home accordingly. Now I can move on with life.
Explorer
,
LATEST
/t5/animate-discussions/can-t-find-java-virtual-machine/m-p/161941#M5818
Nov 21, 2008
Nov 21, 2008
Copy link to clipboard
Copied
To answer my own question and save future people pain. In
Windows, when Java can't find the virtual machine, you must do
Start > Control Panel > System > Advanced > Environment Variables
and set up user variable "java_home" to the JDK with forward slashes like so:
C:/Program Files/Java/jdk1.6.0_06
You do NOT put "/bin". If you put Java in a different folder, you should change java_home accordingly. Now I can move on with life.
Start > Control Panel > System > Advanced > Environment Variables
and set up user variable "java_home" to the JDK with forward slashes like so:
C:/Program Files/Java/jdk1.6.0_06
You do NOT put "/bin". If you put Java in a different folder, you should change java_home accordingly. Now I can move on with life.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

