Skip to content

Instantly share code, notes, and snippets.

@ntherning
Created May 20, 2013 17:02
Show Gist options
  • Save ntherning/5613607 to your computer and use it in GitHub Desktop.
Save ntherning/5613607 to your computer and use it in GitHub Desktop.
Build instructions for my openjfx fork at https://bitbucket.org/ntherning/jfx78
mkdir open-jfx
cd open-jfx
hg clone http://hg.openjdk.java.net/openjfx/8/master
cd master
hg clone ssh://[email protected]/ntherning/jfx78 rt
mkdir lib
cd lib
curl -O 'http://repo1.maven.org/maven2/org/threeten/threetenbp/0.8.1/threetenbp-0.8.1.jar'
curl -O 'http://www.antlr3.org/download/antlr-3.1.3.tar.gz'
tar xvfz antlr-3.1.3.tar.gz
cp antlr-3.1.3/lib/antlr-3.1.3.jar .
cp antlr-3.1.3/lib/antlr-runtime-3.1.3.jar .
cp antlr-3.1.3/lib/stringtemplate-3.2.jar .
rm -rf antlr-3.1.3 antlr-3.1.3.tar.gz
cd ..
cat <<EOF > build-src/platform/ios.properties
cross.platform.description=iOS
cross.platform.arch=arm
cross.ios.version=6.1
EOF
cd rt
export JAVA_HOME=$(/usr/libexec/java_home -v 1.7)
ant -Dcross.platform=ios -Djavac.source=1.7 -Djavac.target=1.7 -DJFXRT_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/jre
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment