aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes SUN ONE/NetBeans Help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "SUN ONE/NetBeans Help" Watch "SUN ONE/NetBeans Help" New topic
Author

SUN ONE/NetBeans Help

Joel McNary
Bartender

Joined: Aug 20, 2001
Posts: 1824

Yesterday I got a new laptop (they were nice enough to replace the one I had for only 1 1/2 years because they couldn't fix it ). However, I've had some problems running SUN ONE 4.1 CE. It freezes the computer completely on close (or randomly while running) and when I restart the studio I get an XML parse error. I uninstalled SUN ONE and installed plain NetBeans and got the same result. I uninstalled NetBeans and the JDK and reinstalled everything. Still no luck.
The freezing of the computer is complete. the Keyboard does not respond, CRTL-ALT-DEL does nothing, the mouse freeze, if I have a Music CD playing it continually repeats about 1 second of the song that it was playing.
To me, it sounds as though there is some problem while saving the settings files. No other program gives me this problem. My machine is a Sony VAIO running Windows XP on a 2.0 GHz Pentium 4 processor with 256 Mb RAM.
Any suggestions as to what I can do/what the problem might be? I am evaluating other IDEs, but I have two requirements:
1). Free (or low-cost)
2). AWT/Swing support (preferably including the ability to parse existing components for editing).
There seem to be plenty of Free IDEs, but none of them seem to be able to build GUI screens. (Half of what I do is desktop apps). If the IDE supports J2EE, that would be a bonus.


Piscis Babelis est parvus, flavus, et hiridicus, et est probabiliter insolitissima raritas in toto mundo.
Sam Kebab
Ranch Hand

Joined: Jan 23, 2002
Posts: 104
I had problems with XP too. My suggestion:
option 1) uninstall netbeans - and manually delete all the old netbeans files, settings, folders. Then reinstall.
option 2) download the zip file from netbeans and not the exe file. Unzip it then run it from command line.
The second worked for me. Good luck.
Joel McNary
Bartender

Joined: Aug 20, 2001
Posts: 1824

Originally posted by Sam Kebab:

option 2) download the zip file from netbeans and not the exe file. Unzip it then run it from command line.

No luck yet. It still fails upon quitting.
NetBeans is pure Java, yes? There shouldn't be any Registry settings that I have to remove, are there?
And what are the properties settings that I should remove? Are they stored elsewhere than the netbeans directory?
Joel McNary
Bartender

Joined: Aug 20, 2001
Posts: 1824

In case anyone else has the same problem:

Originally posted by Joel McNary:

And what are the properties settings that I should remove? Are they stored elsewhere than the netbeans directory?

As I discovered, Yes. On XP, there is a C:\Documents and Setting\%ltUSER_NAME%gt\.netbeans directory which contains all sorts of fun stuff. I deleted that directory and reinstalled the JDK and Netbeans (by unzipping the .ZIP file, not by running the Installer). It now seems to be passing my initial tests (I can start it up and shut it down without my computer freezing). Havn't gon in-depth yet, but things look good.
[ March 28, 2003: Message edited by: Joel McNary ]
Thomas Harrington
Greenhorn

Joined: Mar 29, 2003
Posts: 22
I know what the problem is.
You can NOT use Java 1.4.1_01 with it, it will not work. You mush have 1.4.1_02. I did not figure it out til I went to JEdit's site and they had it listed as a bug. I made the switch, and everything works.
Joel McNary
Bartender

Joined: Aug 20, 2001
Posts: 1824

Originally posted by Thomas Harrington:
I know what the problem is.
You can NOT use Java 1.4.1_01 with it, it will not work. You mush have 1.4.1_02. I did not figure it out til I went to JEdit's site and they had it listed as a bug. I made the switch, and everything works.

Fascinating. One thing I did do was change to 1.4.1_02. But the system would run on my old laptop, which was also Windows XP. Was the XP service patch responsible for this bug? My old machine did not have it but the new one does.
This was on JEdit's site and not NetBeans's? Was it a problem with NetBeans in specific or Java.1.4_01 in general?
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
I also had problems with lockups with 1.4.1_01 running under Win2000 on my laptop. I had no problem running the same configuration on my desktop. When I went to 1.4.0_03 the problems went away.


Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SUN ONE/NetBeans Help