打开场景构建器时出错 [英] Error opening scene builder

查看:499
本文介绍了打开场景构建器时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Javafx Eclipse编写程序,当我使用Scene Builder打开程序时,我收到错误。



这是错误:

 使用SceneBuilder打开文件失败。 
尝试在首选项中设置scenebuilder的绝对路径


解决方案

在Eclipse IDE的JavaFX中设置SceneBuilder可执行路径,如下所示:


  1. 窗口 - >首选项 - > JavaFX

  2. 点击浏览并导航到JavaFXSceneBuilder2.0 bash文件(linux)或JavaFXSceneBuilder2.0.exe(windows),如下所示:



    Windows: C:\程序文件(x86)\Oracle\JavaFX Scene Builder 2.0



    Linux: /opt/JavaFXSceneBuilder2.0/JavaFXSceneBuilder2.0



I'm making a program with Javafx Eclipse and I get an error when I open the program with the Scene Builder

This is the error:

Opening the file with SceneBuilder failed. 
Try setting the absolute path to scenebuilder in your preferences

解决方案

Set the SceneBuilder executable path in the JavaFX of your Eclipse IDE as the following:

  1. Window -> Preferences -> JavaFX
  2. Click "Browse" and navigate to the JavaFXSceneBuilder2.0 bash file (linux) or JavaFXSceneBuilder2.0.exe (windows) like the following:

    Windows: C:\Program Files (x86)\Oracle\JavaFX Scene Builder 2.0

    Linux: /opt/JavaFXSceneBuilder2.0/JavaFXSceneBuilder2.0

这篇关于打开场景构建器时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆