...
Thats's all there is to it. You can now begin editing source files and doing command line development. If you are like us, you'll want to develop using your IDE of choice.
Coming Soon:
...
Using and IDE with OpenJFX
Despite the fact that most of the major IDE's support gradle directly, we have decided to provide pre-generated IDE configuration files in order to make using an IDE smooth and painless. .
IMPORTANT: Ensure that you do not have gradle plugins for NetBeans or Eclipse installed. They will conflict with the pre-generated IDE files.
Get a 32-bit version of the JDK
...
*THE FOLLOWING IS NO LONGER TRUE*
...
Overview
Content Tools
ThemeBuilder
Edit netbeans.conf
We have found the nightly versions of NetBeans to be unstable under JDK8, but fine otherwise. Further, NetBeans needs to be told not to report errors when private JDK classes referenced. The netbeans.conf file is located in the etc directory of your NetBeans install.
2) Edit NetBeans.conf
- launch NB under JDK7
- netbeans_jdkhome="/Library/Java/JavaVirtualMachines/jdk1.7.0_11.jdk/Contents/Home"
- make NB not fail when you access Sun hidden classes
-add -J-da
You will edit netbeans_default_options and netbeans_jdkhome.
3) invoke NB
4) add JDK8 configuration
- ... describe dialogs needed here ...
5) import projects
- ... describe paths to projects
6) rebuid
Here is a sample file for the Mac. Your Windows and Linux default options might be a bit different.
# Options used by NetBeans launcher by default: # (can be overridden by explicit command line switches) # # Note that default -Xmx and -XX:MaxPermSize are selected for you automatically. # You can find these values in var/log/messages.log file in your userdir. # The automatically selected value can be overridden by specifying -J-Xmx or # -J-XX:MaxPermSize= here or on the command line. # # If you specify the heap size explicitly, you may also want to enable # Concurrent Mark & Sweep garbage collector. # (see http://wiki.netbeans.org/FaqGCPauses) # netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-Xmx1024m -J-da -J-DCachingArchiveProvider.disableCtSym=true -J-Dnetbeans.logger.console=true -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Dsun.java2d.dpiaware=true -J-Dsun.zip.disableMemoryMapping=true -J-Dplugin.manager.check.updates=false -J-Dnetbeans.extbrowser.manual_chrome_plugin_install=yes" # Default location of JDK: # (set by installer or commented out if launcher should decide) # # It can be overridden on command line by using --jdkhome <dir> # Be careful when changing jdkhome. # There are two NetBeans launchers for Windows (32-bit and 64-bit) and # installer points to one of those in the NetBeans application shortcut # based on the Java version selected at installation time. # netbeans_jdkhome="/Library/Java/JavaVirtualMachines/jdk1.7.0_11.jdk/Contents/Home"
Invoke NetBeans
Add the JDK8 Configuration
Import the NetBeans Projects
Rebuild
- wait, it takes forever (currently builders and web have errors - ignore them)
Run Sample Code
- ... create a new project, set dependencies, set library path so correct DLL's are used ...
Run Sample Code with gradle built shared libraries