netbeans corruption

Hello everyone,

Seeing how Netbeans has been developing quite well lately, I was considering using
it for my next project. But some things have gone horribly wrong. I like to keep update
installations of programs on my compute. And with netbeans, one time I downloaded
what seemed to be possibly a corrupted version (not sure) either that or I accidentally
installed a newer netbeans over netbeans 4, anyway I uninstalled everything. (I did
see two netbeans installations in the add/remove programs window utility.)

Obviously this was wrong, I uninstalled all copies on netbeans and tried to reinstall it.
Now when I do this, it hangs up mid installation with barely any useful details (maybe none)
of why it does this. So I’m a little desperate for help at the moment, I’m wondering do
I need to reformat my computer or is there another way to completely remove all
traces of this program?

Any help would be greaty apprechiated.

You might want to try to install it in a different directory/partition.

Get a reg-cleaner and remove all references to netbeans or…

or just install Eclipse… ;D

The nice thing of eclipse, it that you don’t need an installer, just extract a zip-file.

Thanks for the reply!

I’ll definitely try that out, but I’m still open to other ideas if anyone wants to post.
By the way, do you know of any good freeware or open-source registry cleaners out
there?

Regarding the IDE, I hope this doesn’t go off topic and turn into a flame war
about which is better. I’m just keeping a open mind, netbeans is integrating
a lot of cool tools with the actual ide, for example a very nice gui editor
(and eventually a uml modeler). It seems that eclipse is mostly a plugin
framework, not that there’s anything wrong with that, it’s just thate
most uml modelers cost lots of money.

I think that eclipse has many good attributes, and I’ve used it in the past a
lot. I’m just thinking that my next project is going to be relatively small
and it would be nice to have a simple way to make some nice looking
forms and seperate the logic which will actually be pretty small in the end.

Thank you very much for the help.

I really apprechiate the help.

Thanks.

Remove the netbeans user settings directory ("/home//.netbeans" or “C:\documents and settings<user>.netbeans”).

Thanks for the reply Cylab, but I think it’s a little more tricky than that. I’ve deleted those directories and it
still doesn’t seem to work. So I think I’ll have to try the registry cleaner, if that doesn’t work then, well,
I guess I might never be able to run netbeans on that computer short of reformating the system.

I wish netbeans was like eclipse and you could just unzip it to a directory, it’s too bad they probably arn’t
too keen on doing things like this with regular releases.

Very nice of all of you to help me, thank you.

strange… netbeans does not do anything fancy in the regstry.

You can (in fact I rarely use the installer), there is a “Other distributions” section on the download page:
http://www.netbeans.info/downloads/download.php?type=5.5rc2&p=1&a=bsd&os=1&lang=1&rv=5.5&b_bt=3

Hello again,

I’ve tried to install it using the zipped version, it installs but with a lot of abnormal bugs that
seem to be caused by some type of corrupted environment. I’m not sure if just a registry
cleaner would fix this, but I’ll try it.

Thanks for the help.

Do you have screenshots of the errors?

Well there’s not much to see, here’s one of the error messages when I click finish after trying to make a new project:

javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet

in red text on the bottom of the wizard and with a red X icon before it.

I wonder if there’s a easy way to fix this.

Maybe reinstalling your JDK helps…

And don’t forget to unistall any JRE before and remove the JAVA_HOME environment variables from your profile.

Again, thank you so much for helping me out.

I’m going to reinstall the jdk, do you think it’s possible that netbeans can’t run without the Java Enterprise Library?

Netbeans comes with all extra libraries as modules, so you only need a vanilla JDK ro run it properly.

Hello Cylab!

Well I reinstalled java and netbeans works! Thank you so much for being patient and helping me out.

So if I want to use xml parsing utilities from j2ee I don’t have to install a j2ee version of java?
But what if I want to later on use eclipse for the project and decide I still want to use those
j2ee libraries, is it possible that I can install the j2ee library jdk bundle and still be able
to run both ides? Or will that mess up netbeans?

I guess it was the JDK that was corrupted, not netbeans, interesting. Btw after installing
java again I first removed the JAVA_HOME, and then added it after I reinstalled it, that’s ok,
right? :slight_smile: