Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

Compilation error with flex 3.3 and ver. 5.1

5 replies [Last post]

Hello,
I'm trying to compile the ...Hello,
I'm trying to compile the player from source using

Flex SDK 3.3:
Ant 1.7.0

and i get the below error

E:\vista\work\mediaplayer-5.1\ant\bin>ant -buildfile E:\vista\work\mediaplayer-5
.1\build\build.xml
Buildfile: E:\vista\work\mediaplayer-5.1\build\build.xml

check-properties:

clean-release:

build-release-player:

release-swf:

build-swf:
     [exec] Error loading: C:\Program Files\Java\jre6\bin\client\jvm.dll
     [exec] Result: 6

BUILD FAILED
E:\vista\work\mediaplayer-5.1\build\build.xml:249: The following error occurred
while executing this line:
E:\vista\work\mediaplayer-5.1\build\build.xml:237: Warning: Could not find file
E:\vista\work\mediaplayer-5.1\bin-release\player.swf to copy.

Total time: 1 second
E:\vista\work\mediaplayer-5.1\ant\bin>ant -buildfile E:\vista\work\mediaplayer-5
.1\build\build.xml
Buildfile: E:\vista\work\mediaplayer-5.1\build\build.xml

check-properties:

clean-release:

build-release-player:

release-swf:

build-swf:
     [exec] Error loading: C:\Program Files\Java\jre6\bin\client\jvm.dll
     [exec] Result: 6

BUILD FAILED
E:\vista\work\mediaplayer-5.1\build\build.xml:249: The following error occurred
while executing this line:
E:\vista\work\mediaplayer-5.1\build\build.xml:237: Warning: Could not find file
E:\vista\work\mediaplayer-5.1\bin-release\player.swf to copy.

Total time: 1 second

Anybody ?

please reply

I have exactly the same problem, do you have any advice?
Thanks

I am experiencing the same problem exactly, could you please advise?
Thanks a lot,

Diego Pizarro

http://www.longtailvideo.com/support/forums/jw-player/setup-issues-and-embedding/11090/compilation-e...

Looks like the problem is trying to use a 64-bit JVM to compile a Flex app/library. The Flex ant library requires a 32-bit JVM. I tried installing a 32-bit version of Java 5 and Java 6 and ran into errors with the installer because it was installing the wrong version for a 64-bit OS.

What ultimately worked for me was installing JRE 1.4. There is no 64-bit version for Java 1.4. So, I installed it and changed my jvm.config (FLEX_HOME/bin) file's java_home property to the JRE 1.4 home and it worked.