Had some issues when I tried to install NetBeans 4.1 from the Open University CD-ROM, which is not surprising, considering its age and the determination of the Open University to keep on using legacy software.
First of all, the installer wouldn’t display correctly, with many graphical elements not appearing at all. Thanks to Simon over at abscforme.co.uk, I was able to get past this by forcing Windows 2000 compatibility mode.
Secondly, when going to File -> Open in NetBeans, Java crashed. This appeared to be a complete show-stopper. I even set up Windows XP Mode just to run it correctly. However, while I was doing that, I realised that the problem could lie with the Java Runtime: the Open University installer had installed the x86 version of the Java Runtime and the JDK. So I tried uninstalling the x86 versions and installing the Java SE Runtime Environment 5.0u19 and likewise the Java SE Development Kit 5.0u19 instead for Windows x64.
Upon installing NetBeans threw a paddy because it couldn’t find the JDK. I had to go to C:/Program Files (x86)/netbeans-4.1/etc/, set the permissions on the folder for Users to Write, and then edit the appropriate line in the netbeans.conf file to the following: netbeans_jdkhome=”C:\Program Files\Java\jdk1.5.0_19″. Then it was a case of putting the permissions on the folder back to as they were.
Upon restarting NetBeans, all seemed to be well…and so far, all is still well. As a bonus, using this version of the Java Runtime/JDK doesn’t force Windows 7 out of the Aero GUI. I’ll keep you posted if there are any further developments.
Having said all that, though…I really hope the Open University get a move on and switch to NetBeans 6.5 or later! It’s faintly ridiculous that courses that teach such a platform-independant technology as Java are so prescriptive of the platforms they will support.
Oh thank you, I am going to try this. I was going out of my mind trying to get this working!
And it worked like a charm. THANK YOU 😀
No problem, glad it helped someone. 🙂
I am wondering why install a version of netbeans that is several years out of date to begin with?
The reason is all to do with the Open University: several of the courses it specifies, such as M256 and M257, require the use of specifically version 4.1. It’s irritating, but saves them the hassle of updating their course materials for the latest IDE – and to be fair, with the frequency of NetBeans version releases, they’d have to be updating it once or twice a year. It’s still somewhat irritating for the students, though!
Thanks a lot – this saved me a ton of worries as I didn’t want to to mess around with different versions of project files to satisfy OU.
You Sir are a legend!
I wrote to the OU about this once I had it working (and would suggest everyone else affected does so too) – that way we’re more likely to see them switch to newer compatible software.
Thank you so much for this very useful workaround!
Hey,
I have also hadthis problem. I had it working for afew months when one day it failed to load. After spending about 4 hours trying various ways to get it working i eventually fell back on Windows 7 “XP Mode” available here – http://is.gd/9fFYV.
Which is working well despite running a tad slow.
Cheers mate she’s a ‘proper job’! I do hope my next OU course has up to date stuff though
Finally a fix! Many thanks to Liam for the following which has finally worked for my 64-bit system at long last!
http://www.spinnerwebs.co.uk/blog/netbeans-41-with-windows-7-rc-x64-2/
I couldn’t edit netbeans.conf so when re-installing netbeans I manually typed in:-
C:\Program Files\Java\jdk1.5.0_19
Instead of:-
C:\Program Files(x86)\Java\jdk1.5.0_06.