2013-11-22 3 views
5

でのJavaFXシーンビルダ2.0エラーに私は、NetBeans 7.4でのシーンビルダーホームを設定し、そのは私にエラーを投げ2.0.app /アプリケーション/ JavaFXのシーンBuilderをターゲットにしてみてください。Netbeansの

Selected location /Applications/JavaFX Scene Builder 2.0.app does not represent a valid JavaFX Scene builder installation. 

答えて

0

あなたがしている場合bugを見ると、このソリューションは7.3ベータ版以上で利用可能と言われています。

バグ:

Selecting the JavaFX scene builder home directory throws following error: " does not represent a valid JavaFX Scene Builder installation."

This seems to caused by the names of the subdirectories inside the Scene Builder's root directory; 'app' and 'runtime' (version 1.1 of Scene Builder). When you change the names of those directories to 'bin' and 'lib' respectively, selecting the home directory works (but breaks Scene Builder executable ofcourse).

Only 'workaround' is simply using the Scene Builder outside of Netbeans.

This was tested using Scene Builder 1.1 and NB 7.2 + 7.3beta.

ソリューション:

Fixed after 7.3 Beta1 and backported to 7.2.1 (now available at netbeans.org).

Either install 7.2.1 or update your 7.2 (you'll get the same set of patches).

インストール手順:
インストール中にエラーをしたかどうかを確認するためにthese instructionsをお読みください。

0

私はDebianのNB 7.4とJavaFX Scene Builder 2.0で同じ問題を抱えていました。現時点で

は、私はあなたがNetBeansのバージョン7.4を使用する必要がありますWindows上でのJavaFXシーンビルダ1.1

0

をインストールしたJavaFX scenceビルダー1.1を使用して、それを解決しました。
それが動作します。

+0

どのように動作しますか?もっと詳しく説明できますか? – Rachcha

+0

まず最初にすべてのダウンロードネットビーンズ7.4.次にscenceビルダー1.1をダウンロードしてから、cドライブにscenceビルダーをインストールしてください。また、ネット豆をチェックインしてください。 javafxタブをクリックしてscenceビルダーをチェックしてください。それ以外の場合はブラウザーをクリックし、scence builder pathを調整してください。 –

+0

私はそれを知っています。私が求めているのは、**どのように動作するのですか?それを動作させるscence builder 1.1とnet-beans 7.4では何がありますか? – Rachcha

2

私はまだNetbeansの7.4で、このエラーを取得するが、私はこの問題を回避することがわかりました:あなたは解凍したフォルダ/インストールシーンビルダー2に

移動して、「JavaFXのシーンビルダ1.1」

に実行可能ファイルの名前を変更します

これは有効なシーンビルダディレクトリとして認識されます。

+0

これは7.4で修正されず、Netbeans 8でパッチが適用され、ケースが閉じられたとみなされることに注意してください。参照:[https:// netbeans。org/bugzilla/show_bug.cgi?id = 238520](https://netbeans.org/bugzilla/show_bug.cgi?id=238520)を参照してください。ところで、チップのおかげで!リンク( 'ln')は実際に問題を修正します。 – Luc

0

SceneBuilder 2は、Java 8

NetBeans 8のJava 8の正式サポートしているとFXMLのcompiantを生成するので、NetBeansは8+ 8+のJava上で動作しているとSceneBuilder 2を使用します。

Oracle provides an official tutorial on the use of SceneBuilder 2 and NetBeans 8。チュートリアルに従って動作させてください。

Configuring the Scene Builder Installation Location

If you did not install Scene Builder in the default installation location, use the following steps to let NetBeans IDE be aware of its location:

  1. From the IDE's Main menu, select Tools and choose Options.

    On the Mac OS platform, select NetBeans and choose Preferences from the Main menu.

  2. In the Options window, click Java and then the JavaFX tab.

  3. Specify the location of the Scene Builder installation folder and then click OK.