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_latest_SDK_installer: #6 22-Dec-2008 00:38:06 Product Version = NetBeans IDE 6.5 (Build 200812180656) 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 - Run the project The project does not run: Unknown argument: -encoding Output: ---------------------------------------------------------------------------------------- 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: javafxapplication12/Main Caused by: java.lang.ClassNotFoundException: javafxapplication12.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: javafxapplication12.Main. Program will exit. Exception in thread "main" Exception in thread "main" BUILD FAILED (total time: 0 seconds) ----------------------------------------------------------------------------------------
Created attachment 75239 [details] IDE log file
There is an issue in the latest SDK changes propagation into the plugin builds. This option has been already implemented but we have to wait until it appears in the SDK builds.
*** Issue 156566 has been marked as a duplicate of this issue. ***
verified in JavaFX_NB_Plugin_Franca_NB_65_fixes_latest_SDK: #42 14-Jan-2009 00:11:09