jump to navigation

Fixing NetBeans install problem in Ubuntu Hardy April 16, 2008

Posted by techscope in linux, tutorials, ubuntu.
Tags: , , , , , , ,
add a comment

Since I dumped Borland JavaBuilder 2 years ago, NetBeans has surely been my favourite for Java development.

After installing the NetBeans IDE through (Applications->Add/Remove) on a fresh 8.04, I ran into an interesting problem. The IDE would start sort of normally, but at the module loading stage you would be presented a message that the system is running with JRE instead of JDK, so expect some loss of functionality.

Surely, we can notice the loss of functionality straight away, the code and project browser do not work at all.

I thought that simply installing the open-jdk package from repositories would fix NetBeans, but I was wrong. Even after specifying the path to the newly installed open JDK in Tools->Java Platforms, the IDE would not update its paths by itself.

The trick that worked for me was to BEFORE re-installing NetBeans go to /home/your_user_name folder and DELETE the hidden .netbeans directory (it is necessary, because the IDE settings are stored there, and this directory is not deleted by default even if you uninstall NetBeans).

Now, you can enjoy programming again 😉

A simple fix for random freezing problem in Ubuntu 8.04 beta April 5, 2008

Posted by techscope in linux, ubuntu.
Tags: , , , , , , , , ,
1 comment so far

onestly, when such a grand OS would freeze randomly out of the blue with no definite pattern whatsoever (sometimes I could work for two hours before it happened, and sometimes it was just a matter of minutes), it could drive you crazy.

At first I thought it was because I am using AMD Althlon XP-M 2600+, which can scale CPU frequency. Forums suggest disabling the powernowd daemon which supposedly does not implement the frequency scaling effectlively. It did not solve the problem.

However, I just unplugged my usb mouse and went for using my laptop’s synaptics touchpad instead. That was a lucky guess, and I’ve never had a single lock-up in days anymore.

Working on a laptop that wouldn’t freeze is a feast, so if your system hangs for no reason, it might be a good idea to give this fix a try.

Let me know if that worked for you!