JavaFX 1.1.1 NetBeans Plugin on Linux

[size=medium]The following tip is based on Weiqi Gao's original post on [url=http://www.weiqigao.com/blog/2008/12/11/javafx_1_0_on_linux_netbeans_plugin.html]JavaFX 1.0 On Linux: NetBeans Plugin[/url] and my post [url=http://liuwangxia.iteye.com/blog/332572]JavaFX 1.1 On Linux: NetBeans Plugin Howto[/url]. The method outlined in these posts do not work with JavaFX 1.1.1.
First you will need to install JDK 1.6 update 10 or above and NetBeans 6.5.1

* Download all nbm files from [url=http://dlc.sun.com.edgesuite.net/netbeans/updates/6.5/uc/final/stable/patch3/javafx2/]here[/url], except the org-netbeans-modules-javafx-sdk-win.nbm file.
* Extract the org-netbeans-modules-javafx-sdk-mac.nbm file. (An nbm file is in a zip format)
* Go to the extracted directory, and do the following steps:
- Replace the info/info.xml with my new one.
- Delete all files in the META-INF directory.
- Replace the netbeans/config/Modules/org-netbeans-modules-javafx-sdk-mac.xml file with
org-netbeans-modules-javafx-sdk-linux.xml
- Replace the netbeans/modules/org-netbeans-modules-javafx-sdk-mac.jar
file with org-netbeans-modules-javafx-sdk-linux.jar
* Create a new zip file from the extracted directory, rename it to org-netbeans-modules-javafx-sdk-lin.nbm and replace the org-netbeans-modules-javafx-sdk-mac.nbm file with this new one.
* Open NetBeans and install all the nbm files (ignore the nbm file signature warning).
* Restart NetBeans and enjoy JavaFX on Linux, you can even debug JavaFX on Linux.

The new files can be downloaded [url=http://groups.google.com/group/javafxprogramming/web/org-netbeans-modules-javafx-sdk1.1.1-lin.nbm.zip]here[/url].

Usefull notice:
When installing the "JavaFX SDK for Linux" plugin, NetBeans may encounter an error, you should backup your NetBeans installation directory and the configure directory ~/.netbeans, then uninstall NetBeans and reinstall a clean NetBeans 6.5.1, finally you can install all the plugins above.
[/size]
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值