Hint for migrating NetBeans from Windows to Linux.
2007-03-30 14:15
555 查看
Hint for migrating NetBeans from Windows to Linux.
NetBeans 是一個 pure Java 的系統。因此,從 Windows 移到 Linux 的時候,理論上不須要修改任何程式碼。最近,我也試著進行一樣的行為。當我將我的 RCP 程式移到 Linux 上執行時,正如 Java 所保證的,它能很順利的在 Linux 中執行。而且,Linux 版的 NetBeans 似乎比 Windows 版的更有效率。唯一不同的地方是:1. Java 在 Linux 上的執行緒會和 Windows 有所不同,這個原因是可想而知,畢盡兩種作業系統相差太大。所以,這點想必也會發生在 Mac OS 身上。這點將不會對 NetBeans 有任何的影響,只要你在開發程式的時候,有記得 Java(或作業系統)並不保證執行緖執行的順序就可以了。
2. File 物件會有所不同,這也是在 Java 討論群中常見到的差異。關於這點,在 Linux 上執行 NetBeans 相較於 Windows 問題會少很多。但是,在 Windows 上執行 NetBeans 時,當你選擇的檔案是網路分享、或非實體檔案時, FileUtil.toFileObject() 可能會在 Console 中產生一些額外的錯誤訊息。
來源:http://fox.jenming.info
相关文章推荐
- Switching From Windows to Nix or a Newbie to Linux – 20 Useful Commands for Linux Newbies
- Switching From Windows to Nix or a Newbie to Linux – 20 Useful Commands for Linux Newbies
- Switching From Windows to Nix or a Newbie to Linux – 20 Useful Commands for Linux Newbies
- QT4: how to build QOCI (for linux and windows)
- How to convert from the color camera space to the depth camera space in Kinect For Windows
- how to build QOCI (for linux and windows)
- Qt from Linux to Windows target
- How To Remote Desktop from windows to Linux
- golang 跨平台编译——go 在windows上编译Linux平台的程序(Cross Compilation from Windows to Linux/Ubuntu)
- Enable Bootcamp to install Windows from usb for MAC
- Strategies for migrating from Alpha and VAX systems to HP Integrity server systems on OpenVMS
- Why the volume so big after coping file from Linux to Windows?
- 林永坚(Jake Lin)的Silverlight for Windows Phone 7开发系列文章 – From zero to hero
- How to set processor affinity from Batch File for Windows XP
- 5 reasons to upgrade from Windows Vista to Linux
- remote mounting from windows to linux
- C Program to sleep for millisecond in windows, linux
- Initial Considerations for Migrating from Forefront TMG to Forefront UAG
- Moving From Windows To Linux
- QtCreator on Windows to Cross Compile for Linux ARM with CodeSourcery Toolchain