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.
JavaFX_NB_Plugin_Franca_NB_65_fixes_installer: #25 08-Jan-2009 16:35:35 Product Version = NetBeans IDE 6.5 (Build 200901071801) Operating System = Windows XP version 5.1 running on x86 Java; VM; Vendor = 1.6.0_11; Java HotSpot(TM) Client VM 11.0-b16; Sun Microsystems Inc. Steps to reproduce: - Create a JavaFX Script project Product Version = NetBeans IDE 6.5 (Build 200901071801) Operating System = Windows XP version 5.1 running on x86 Java; VM; Vendor = 1.6.0_11; Java HotSpot(TM) Client VM 11.0-b16; Sun Microsystems Inc. - Run the project --------------------------------------------------------------------------- init: deps-jar: Unknown argument: -encoding JavaFX Packager arguments: --------------------------- -src | -sourcepath <source root1>[;<source root2>...] at least 1 source root is required -cp | -classpath | -librarypath <library1>[;<library2>...] optional -res | -resourcepath <resource root1>[;<resource root2>...] optional -d | -destination <target directory> default target directory is ./dist -workDir <working directory> optional -v | -verbose enables verbose output -p | -profile [DESKTOP | MOBILE] default profile is DESKTOP -appName <application name> default application name is application class name -appVendor <application vendor> default application vendor is "user.name" Java system property -appVersion <application version> default application version is 1.0 -appClass <application class> mandatory argument -appWidth <applet width> default applet width is 200 -appHeight <applet height> default applet height is 200 -appCodebase <application code base URL> default code base is empty -sign builds signed application -draggable makes application draggable from Web browser -keystore <keystore for signing> temporary self-signature is created when keystore is not specified -keystorePassword <password> mandatory when signing with specific keystore -keyalias <alias> mandatory when signing with specific keystore -keyaliasPassword <password> keystorePassword is used instead when not specified -pack200 compress application using pack200 -help prints this help screen -version prints JavaFX Toolchain version number sample usages: -------------- javafxpackager -src ./mysources -appClass mypackage.MyApplication -sign -pack200 -draggable builds all JavaFX and Java sources according to default DESKTOP profile specification into ./dist/MyApplication.html, ./dist/MyApplication.jnlp, ./dist/MyApplication.jar and ./dist/MyApplication.jar.pack.gz javafxpackager -src ./mysources -appClass mypackage.MyApplication -p mobile builds all JavaFX and Java sources according to MOBILE profile specification into ./dist/MyApplication.jad and ./dist/MyApplication.jar compile: jar: standard-run: java.lang.NoClassDefFoundError: javafxapplication5/Main Caused by: java.lang.ClassNotFoundException: javafxapplication5.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:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) Could not find the main class: javafxapplication5.Main. Program will exit. Exception in thread "main" Exception in thread "main" BUILD FAILED (total time: 0 seconds)
This is still outdated JavaFX SDK. It should be fixed soon. Please test the builds with the fresh SDK.
It is also reproduced in build JavaFX_NB_Plugin_Franca_NB_65_fixes_cont: #20 12-Jan-2009 13:26:24 Does it mean that the build _Franca_NB_65_fixes_cont does not contain the fresh SDK?
Is it a known compiler issue?
*** This issue has been marked as a duplicate of 155927 ***
JIRA issue http://javafx-jira.kenai.com/browse/INFR-17
verified in JavaFX_NB_Plugin_Franca_NB_65_fixes_cont: #28 14-Jan-2009 16:26:31