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.
The latest JavaFX SDK structure has profile/desktop.properties which contains all information about the SDK including classpaths... Please, update the JavaFX SDK PlatformInstaller.
fixed BTW: platform and project implementation will require more changes to support multiple profiles
I renamed ${javafx_home}/lib directory to lib2 and updated the profile/desktop.properties file: ------------------------------------------------------------------------------------------------------------------------- execute_classpath="${javafx_home}/lib2/shared/javafxrt.jar;${javafx_home}/lib2/desktop/Decora-D3D-Native.jar;${javafx_home}/lib2/desktop/Decora-D3D.jar;${javafx_home}/lib2/desktop/Decora-HW.jar;${javafx_home}/lib2/desktop/Decora-OGL.jar;${javafx_home}/lib2/desktop/Scenario.jar;${javafx_home}/lib2/desktop/gluegen-rt.jar;${javafx_home}/lib2/desktop/javafx-swing.jar;${javafx_home}/lib2/desktop/javafxgui.jar;${javafx_home}/lib2/desktop/jmc.jar;${javafx_home}/lib2/desktop/jogl.jar;${javafx_home}/lib2/desktop/websvc.jar" # execute_bootclasspath_prepend= # execute_bootclasspath_append= # execute_bootclasspath= execute_nativelibpath="${javafx_home}/lib2/desktop" compile_classpath="${javafx_home}/lib2/desktop/Decora-D3D-Native.jar;${javafx_home}/lib2/desktop/Decora-D3D.jar;${javafx_home}/lib2/desktop/Decora-HW.jar;${javafx_home}/lib2/desktop/Decora-OGL.jar;${javafx_home}/lib2/desktop/Scenario.jar;${javafx_home}/lib2/desktop/gluegen-rt.jar;${javafx_home}/lib2/desktop/javafx-swing.jar;${javafx_home}/lib2/desktop/javafxgui.jar;${javafx_home}/lib2/desktop/jmc.jar;${javafx_home}/lib2/desktop/jogl.jar;${javafx_home}/lib2/desktop/websvc.jar" compile_bootclasspath_prepend="${javafx_home}/lib2/shared/javafxc.jar;${javafx_home}/lib2/shared/javafxrt.jar" # compile_bootclasspath_append= # compile_bootclasspath= # compile_nativelibpath= javadoc_classpath="${javafx_home}/lib2/desktop/Decora-D3D-Native.jar;${javafx_home}/lib2/desktop/Decora-D3D.jar;${javafx_home}/lib2/desktop/Decora-HW.jar;${javafx_home}/lib2/desktop/Decora-OGL.jar;${javafx_home}/lib2/desktop/Scenario.jar;${javafx_home}/lib2/desktop/gluegen-rt.jar;${javafx_home}/lib2/desktop/javafx-swing.jar;${javafx_home}/lib2/desktop/javafxgui.jar;${javafx_home}/lib2/desktop/jmc.jar;${javafx_home}/lib2/desktop/jogl.jar;${javafx_home}/lib2/desktop/websvc.jar" javadoc_bootclasspath_prepend="${javafx_home}/lib2/shared/javafxc.jar;${javafx_home}/lib2/shared/javafxdoc.jar;${javafx_home}/lib2/shared/javafxrt.jar" # javadoc_bootclasspath_append= # javadoc_bootclasspath= # javadoc_nativelibpath= jnlp_url=http://javafxdl.sfbay.sun.com/javafx-rt.jnlp # jnlp_url=http://dl.javafx.com/javafx-rt.jnlp ------------------------------------------------------------------------------------------------------------------------- I got an exception after IDE restarting: java.io.FileNotFoundException: profiles\desktop.properties (The system cannot find the path specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) [catch] at org.netbeans.modules.javafx.platform.platformdefinition.JavaFXPlatformImpl.loadProfileProperties(JavaFXPlatformImpl.java:351) at org.netbeans.modules.javafx.platform.platformdefinition.DefaultPlatformImpl.create(DefaultPlatformImpl.java:102) at org.netbeans.modules.javafx.platform.platformdefinition.PlatformConvertor.createPlatform(PlatformConvertor.java:223) at org.netbeans.modules.javafx.platform.platformdefinition.PlatformConvertor.instanceCreate(PlatformConvertor.java:213) at org.netbeans.modules.java.platform.DefaultJavaPlatformProvider.getInstalledPlatforms(DefaultJavaPlatformProvider.java:89) at org.netbeans.modules.java.platform.DefaultJavaPlatformProvider.getDefaultPlatform(DefaultJavaPlatformProvider.java:119) at org.netbeans.api.java.platform.JavaPlatformManager.getDefaultPlatform(JavaPlatformManager.java:103) at org.netbeans.modules.javafx.project.JavaFXProjectGenerator.getDefaultSourceLevel(JavaFXProjectGenerator.java:358) at org.netbeans.modules.javafx.project.JavaFXProjectGenerator.createProject(JavaFXProjectGenerator.java:257) at org.netbeans.modules.javafx.project.JavaFXProjectGenerator.access$000(JavaFXProjectGenerator.java:77) at org.netbeans.modules.javafx.project.JavaFXProjectGenerator$1.run(JavaFXProjectGenerator.java:96) at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:120) at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:499)
Created attachment 70965 [details] IDE log file
Platform libraries are already taken from profiles/desktop.properties file - that should work. The true is that JavaFX Platform needs more improvements. I don't see it as P1 issue as it is working for the regular usage. BTW: when the exception says java.io.FileNotFoundException: profiles\desktop.properties then you probably moved or renamed desktop.propertis or changed root of the platform
Actually, I'm running the automated tests and they are failing with this same issue. These are all fresh repositories. http://hudson4qe.czech.sun.com/job/javafx-NB65-test/53/console
More info. The automated tests are failing because they get the SDK from the platform cluster zip files. Unfortunately the SDK was removed from the cluster.zip's http://hg.netbeans.org/javafx?cmd=changeset;node=73aa534cb175
The automation side of this issue has been resolved. The cluster was modified as per: http://www.netbeans.org/issues/show_bug.cgi?id=148041 We now pull both cluster and sdk zips.
This issue has been resolved a while ago. Closing.
closing.