-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getting started #54
Comments
Try setting JAVA_OPTS environment variable (-Xms1024m -Xmx8192 in my example): |
Setting JAVA_OPTS environment variable made no difference, but I eventually succeeded by adding The next stumble is while compiling sample 5 Now compile a SWC and demo SWF |
Looks like a path issue: |
It was a path issue, moving the target sdk to /cygdrive/c/crossbridge/4.6.0 worked |
Where does the default value (that I had to override) -Xmx1500M come from? It doesn't appear anywhere in distribution that I can find. |
https://github.com/adobe-flash/crossbridge/blob/master/llvm-gcc-4.2-2.9/gcc/config/avm2/avm2.h I've removed this in my fork because I think it's better to depend on JAVA_OPTS env. or supply by param. |
After the above, the "samples" build still failed on sample 5. My explanation is that my typical devlopers path is full of all kinds of stuff, including perl, In run.bat, before the path modification set a minimal path to avoid contamination of the environment with unexpected programsnote this includes the JDK path we want to useset path=C:\java\jdk1.8.0\bin;C:\windows\system32;C:\windows;C:\windows\System32\Wbem; |
I'm no novice, but I've been unable to get the samples to compile or find any active support forum.
On Windows 7, the complaint is
LLVM ERROR: Error: Unable to launch the Java Virtual Machine.
I have about a dozen JVMs installed, the default is 64 bit java 1.8_05
It would help if there were some FAQ about specifying explicitly what JVM to use.
Or a more visible community forum. The adobe forum is essentially unused.
The text was updated successfully, but these errors were encountered: