-
Notifications
You must be signed in to change notification settings - Fork 236
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
Running demos within NetBeans (8.0.1) #94
Comments
Hi, I don't use NetBeans, but it doesn't seem to build anything. It probably built some empty jar. The project uses gradle as the build tool. You should look for gradle support in NetBeans. |
Hi there, I don't have any issues on building the project on Netbeans. 8.0.1--Windows. As Tomas said, I think you need to install NetBeans Gradle plugin. |
Tks both for the response. I can compile now with the Gradle Support installed and an additional tip mentioned in the page below: replace the "com.foo.acme.Main" with "org.fxmisc.richtext.demo.JavaKeywords" if you want to build the JavaKEywords sample. |
Nice! Its strange though that you had to make changes. I didn't have to
|
Hi Tomas,
I was trying to run the demos, say JavaKeywords.java, under NetBeans as a JavaFX Application. The build was successful but failed at run-time as follows. Any other thing that I should be aware of to use this library? Tks a lot!
Yi-Neng
===Building===
ant -f C:\Users\user\Documents\NetBeansProjects\JavaKeywords jfx-build
init:
Deleting: C:\Users\user\Documents\NetBeansProjects\JavaKeywords\build\built-jar.properties
deps-jar:
Updating property file: C:\Users\user\Documents\NetBeansProjects\JavaKeywords\build\built-jar.properties
compile:
Deleting directory C:\Users\user\Documents\NetBeansProjects\JavaKeywords\dist\lib
Copying 1 file to C:\Users\user\Documents\NetBeansProjects\JavaKeywords\dist\lib
Detected JavaFX Ant API version 1.3
jfx-deployment:
jar:
jfx-build:
BUILD SUCCESSFUL (total time: 0 seconds)
===Executing === C:\Users\user\Documents\NetBeansProjects\JavaKeywords\dist\run1780041502\JavaKeywords.jar using platform C:\Program Files\Java\jdk1.8.0_05\jre/bin/java
Exception in Application start method
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
The text was updated successfully, but these errors were encountered: