This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
NetBeans IDE Dev (Build 200804060002) JavaFX Script plugin: 2008-04-07_02-32-38.zip Steps to reproduce: - Create a JavaFX Script project - Copy the code to the main file: --------------------------------------- import javafx.ui.*; Frame{ title: "Hello World!" visible: true } --------------------------------------- - Build the project There is NoClassDefFoundError in output: java.lang.NoClassDefFoundError: com/sun/tools/javafx/Main Caused by: java.lang.ClassNotFoundException: com.sun.tools.javafx.Main at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:289) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) Exception in thread "main"
Same for 2008-04-07_13-29-32 build: java.lang.NoClassDefFoundError: com/sun/tools/javafx/Main Caused by: java.lang.ClassNotFoundException: com.sun.tools.javafx.Main at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) Exception in thread "main"
The problem is reproducible when there is a blank symbol(s) in the classpath. In other words project build failed when path to the NB contain blank symbol(s).
Is this kind of "space in path" problem ?
Yes. Spaces in path to the NB directory.
Looks like was fixed in the compiler. No more reproducible in the IDE.
verified
Cleaning bugzilla categories ....