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.
At the end of the nb-java (even in the standalone installer) product, the installer should attempt to find the FX installation location and register it to NetBeans
Starting from 7u6, JavaFX can be installed by means of either standalone JavaFX installer or JRE/JDK installer (JavaFX will be included in JRE). In case of standalone installer one can get installation info from HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\JavaFX(JavaFX SDK) registry keys. Neither JRE nor JDK will register cobundled JavaFX in registry. This is designed to be private copy used by JRE/JDK only. Rules are: 1) if JRE includes JavaFX (true cobundle) then this is the ONLY copy of javafx runtime this JRE will use 2) JRE that does not include JavaFX runtime will only be able to use standalone installation (and does not see JavaFX in true cobundles) To detect that JDK/JRE includes JavaFX one can simply check for presence of jfxrt.jar in the lib folder. Also, jre/lib/javafx.properties file contains version of javafx that is cobundled with JRE/JDK. This is what is expected NB should be using to detect true cobundle (and in such case it should not offer to mix and match true cobundle with another installation of JavaFX). Hope, that will help.
core-main/rev/82d645af5dbc
BTW, TM=7.3 after integration to trunk. This one will be needed for 7.2, thus follow the process at http://wiki.netbeans.org/NetBeans_72_HighResistance PSomol, can you verify Libor's fix? CCed Jirka - Libor went to vacation. Please take care of the backport.
Integrated into 'main-golden', will be available in build *201206200001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/7494846df3dc User: Libor Fischmeistr <lfischmeistr@netbeans.org> Log: #213544: register Java FX installation location into NetBeans
the changeset looks all right to me
http://hg.netbeans.org/releases/rev/1656a1241926
Integrated into 'releases', will be available in build *201206202200* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/1656a1241926 User: Libor Fischmeistr <lfischmeistr@netbeans.org> Log: #213544: register Java FX installation location into NetBeans (transplanted from 7494846df3dcc9016f16f1dc06b79fd6434c6594)
Integrated into 'main-golden', will be available in build *201206230002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/514ffdd953b5 User: Petr Somol <psomol@netbeans.org> Log: #213544 - added JavaDoc and src autodetection
Integrated into 'releases', will be available in build *201206232201* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/e7f8db5f4a2b User: Petr Somol <psomol@netbeans.org> Log: #213544 - added JavaDoc and src autodetection
... pending verification in NB 7.2
It doesn't seems to work in recent bundle build I tested. The issue 215069 was present there. Either the SDK location wasn't properly registered to NB or the FX platform creation ignored it and started full detection. Please evaluate.
(In reply to comment #11) > It doesn't seems to work in recent bundle build I tested. The issue 215069 was > present there. Either the SDK location wasn't properly registered to NB or the > FX platform creation ignored it and started full detection. > Please evaluate. This is actually a result of the installer's SDK path registration and it's correct behavior for JDKs up to 7u5. For JDK 7u6 and later, the issue 215069 will have to be fixed.