For OpenJDK 9 and OpenJFX 9 see the adjusted page.
Update 2016-10-08: Mercurial URL changed
- Create a C:\dev\ directory 
 
- Download and install Visual Studio 2013 Community - Download (it may be faster to download the ISO)
- Install - uncheck all the options
- or download AdminDeployment.xml to C:\dev\temp then start the installation with:vs_community.exe /AdminFile C:\dev\temp\AdminDeployment.xml 
 
- Add the path to MSBuild to the PATH environement variable (required to build Freetype):C:\Program Files (x86)\MSBuild\12.0\Bin 
 
- Download and install the Mercurial for Windows
- Download and install Java 8 (for OpenJDK)
- Download and install JDK 9 b109
- Move C:\Program Files\Java\jdk-9\lib\jfxrt.jar out of the way (rename it jfxrt.jar.disabled for instance)
- Download and install Babun, then use its package manager to install zip :pact install zip 
- Download Freetype source (2.6.2) and extract to C:\dev\freetype-2.6.2
- Download Gradle 2.11 and extract it into C:\dev
 
- Get Jake's source
 In the Babun console:
 cd /cygdrive/c/dev hg clone http://hg.openjdk.java.net/jigsaw/jakecd /cygdrive/c/dev/jake ./get_source.sh
- Get OpenJFX Jigsaw prototype source
 In the Babun console:cd /cygdrive/c/dev hg clone http://hg.openjdk.java.net/openjfx/sandbox-9-jake/rt/ jfx-jake
 
- Build OpenJFX
 In the 'DOS' console:cd C:\dev\jfx-jake 
 set GRADLE_HOME=C:\dev\gradle-2.11
 set JAVA_HOME=C:\Program Files\Java\jdk-9
 set PATH=%PATH%;%JAVA_HOME%\bin;%GRADLE_HOME%\bin;%USERPROFILE%\.babun\cygwin\bin
 
 gradle
- Run the auto-conf script for OpenJDK
 In the Babun console:cd /cygdrive/c/dev/jake 
 bash configure --with-freetype-src=/cygdrive/c/dev/freetype-2.6.2 --with-import-modules=/cygdrive/c/dev/jfx-jake/build/modular-sdk
- Time for cookingmake images 
- Once done, open a new 'DOS' console and navigate tocd C:\dev\jake\build\windows-x86_64-normal-server-release\images\jdk check that java runs:bin\java -version or for something a bit more visual:bin\jconsole 
-  To check JavaFX, 
 in the 'DOS' console compile the sample apps:cd C:\dev\jfx-jake 
 set GRADLE_HOME=C:\dev\gradle-2.11
 set JAVA_HOME=C:\Program Files\Java\jdk-9
 set PATH=%PATH%;%JAVA_HOME%\bin;%GRADLE_HOME%\bin;%USERPROFILE%\.babun\cygwin\bin
 
 set JIGSAW_HOME=C:\dev\jake\build\windows-x86_64-normal-server-release\images\jdk
 gradle apps
 then launch:%JIGSAW_HOME%\bin\java -jar C:\dev\jfx-jake\apps\samples\Ensemble8\dist\Ensemble8.jar 
- hack!
 
No comments:
Post a Comment