Download and install the latest version of FlexSDK. Unzip it to the C: FlexSDK folder. Opened my command line for C: / FlexSDK / bin. Launched the folder directory and the mxmlc.exe file. From the command line, I released mxmlc c: test.mxml and received “could not find the JVM error . This is surprising because I compiled the mxml files from the command line on my computer before. In addition, I developed, compiled and launched Java programs from command line. I know that I have a JRE in my system. In fact, it is located in the folder “C: \ Program Files \ Java \ jre6". As I said earlier, I compiled mxml files a while ago. I didn’t understand what the problem is now.
source
share