Platform: Debian
Problem:
Netbeans 6 has integration with Sun Wireless Toolkit via the SWT plugin. Installing this plugin requires specifying a directory with a java(1) executable, but specifying /usr/lib/jvm/java-6-openjdk/jre/bin/ causes the install to fail since a jar(1) executable isn't in that directory.
However, /usr/lib/jvm/java-6-sun/bin/ works since this directory has symlinks to all important java6 related binaries. The /usr/bin directory works as well if one runs "sudo update-java-alternatives --list" then "sudo update-java-alternatives --set java-6-sun" (or use java-6-openjdk).
Anyway, half the plugins didn't work, and wiping out the ~/.netbeans* directories didn't fix anything.
Netbeans keeps complaining about needing org-netbeans-modules-j2ee-toplinklib although it is present and seems fine.
Solution:
Go to the plugins in Netbean, select Installed Plugins, select "Java Persistence" and uninstall. Then re-install this upon reloading Netbeans.
Now all the broken plugins start working again.
Subscribe to:
Post Comments (Atom)
Blog Archive
-
▼
2008
(12)
-
▼
April
(12)
- My routine network rsync backup script
- Orient JPEGs so if in portrait orientation, rotate...
- Using VIM's tags interface for OCaml programs via ...
- simple backup script
- script to fix modifier keys on ubuntu debian gnu l...
- The TCL War
- How to configure Sun's Wireless Toolkit to use pla...
- HTML source code publishing with syntax highlighti...
- LCD screen brightness control program for Linux
- Who is guilty?
- NetBeans 6.01 Visual Mobility Designer plugin fail...
- Netbeans errors with toplinklib
-
▼
April
(12)
No comments:
Post a Comment