2016-10-06 52 views
0

首先,我使用Mac,Eclipse Mars 4.5.2和gluon的Scene builder 8.2.0。当我在我的首选项 - > JavaFX中设置可执行文件的路径时,启动程序正在查找不在我的文件夹中的scenebuilder-launcher.sh文件。Scenebuilder-8.2.0。 scenebuilder-launcher.sh missing

在我的Contents/MacOS文件夹中只有libpackager.dylib和SceneBuilder(exec)。

我必须使用8.2.0版本。

This is the message I receive

+0

我通过下载最新版本的SceneBuilder 2.0并将scenebuilder-launcher.sh复制到当前文件夹中解决了这个问题。 – Flippy

+0

我拥有相同的设置,并且对我来说工作正常。确保在Preferences-> JavaFX下,SceneBuilder可执行文件显示'/ Applications/SceneBuilder.app' –

回答

0

脚本内容/所需的工具,如NetBeans和MacOS的的IntelliJ/scenebuilder-launcher.sh能够从IDE中启动SceneBuilder。从SceneBuilder 2.0摘自:

#!/bin/sh 
# 
# This script is for use by tools such as NetBeans. 
# You are not supposed to call it directly. 
# 
# We computed bundle root path up to the ".app" included. 
APPLICATION=`echo $0 | sed -e 's#^\(.*\)/Contents.*#\1#'` 

open -a "$APPLICATION" "[email protected]" 

JavaFX的2场景生成器插件的更新已被推和这个错误应该是固定与插件(1.13.2)的最新版本。