Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 java.exe uses 100% CPU!!!
Index -> Programming, Java -> Java Help
Goto page 1, 2  Next
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
turboliux




PostPosted: Sat Dec 17, 2005 3:37 pm   Post subject: java.exe uses 100% CPU!!!

i have a big problem here, this is makes me insane!!! Evil or Very Mad
i have netbeans 4.1 and J2SE update 6.
whenever i start netbeans and try to open a project the CPU procentage skyrockets and then i cant do anything, it makes me sick!
i tryed to reinstall netbeans many times, reinstalled J2SE too, but nothing helped.

my stats:
AMD Sempron 1.5GHz,
512MB RAM,
GeForce4 MX 440 64MB
Sponsor
Sponsor
Sponsor
sponsor
turboliux




PostPosted: Mon Dec 19, 2005 1:14 pm   Post subject: (No subject)

so does anyone know the reason?
wtd




PostPosted: Mon Dec 19, 2005 1:41 pm   Post subject: (No subject)

Not a clue.
MysticVegeta




PostPosted: Mon Dec 19, 2005 2:38 pm   Post subject: (No subject)

A list of running processes would help.
turboliux




PostPosted: Mon Dec 19, 2005 3:31 pm   Post subject: (No subject)

you think i didnt hit those Alt+Ctrl+Del ????
well, there is only one more thing i noticed, there are TWO "nbexec.exe" running whenever i run netbeans 4.1
wtd




PostPosted: Mon Dec 19, 2005 4:27 pm   Post subject: (No subject)

What happens if you run something like a simple Swing app via the command-line tools?
turboliux




PostPosted: Tue Dec 20, 2005 2:25 am   Post subject: (No subject)

well, doesnt work with command line, but works with JCreator
wtd




PostPosted: Tue Dec 20, 2005 3:22 am   Post subject: (No subject)

What doesn't work from the command-line?
Sponsor
Sponsor
Sponsor
sponsor
turboliux




PostPosted: Tue Dec 20, 2005 2:40 pm   Post subject: (No subject)

any java code, any swing app made with java, any *.java file doesnt work from command-line. but do you really think thats the problem? i told you, java code compiles and runs with JCreator.
wtd




PostPosted: Tue Dec 20, 2005 2:44 pm   Post subject: (No subject)

Does it have the 100% CPU usage problem from JCreator?

And yes, you should absolutely be familiar with how to use the command line tools. I suspect you just need to provide a path to the Java tools in your PATH environment variable.
MysticVegeta




PostPosted: Tue Dec 20, 2005 6:38 pm   Post subject: (No subject)

Maybe the exe priority is realtime high
turboliux




PostPosted: Wed Dec 21, 2005 4:39 pm   Post subject: (No subject)

mys system variable PATH:
Quote:

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem:%SystemRoot%\Program Files\Java\jdk1.5.0_02;C:\Program Files\Common Files\Adobe\AGL;C:\Program Files\Executive Software\Diskeeper\;C:\Program Files\Java\jdk1.5.0_06\bin


and yet it doesnt work from command-line,

with JCreator there is not 100% CPU, it runs peacufully Very Happy[/code]
wtd




PostPosted: Wed Dec 21, 2005 4:43 pm   Post subject: (No subject)

If it's Windows 98 or ME, you'll have to restart your computer before PATH changes take effect. If Windows 2000/XP you'll have to make sure you open a new shell after you change the PATH.

Of course, you may well have done this, but covering the bases.
turboliux




PostPosted: Wed Dec 21, 2005 5:58 pm   Post subject: (No subject)

lol, i did that like a week ago when i reinstalled jdk, but no change since. maybe it has to do with the repetition of those directiories in my PATH line, but i remmember that /bin should be listed, so... donno what to do.
wtd




PostPosted: Wed Dec 21, 2005 6:00 pm   Post subject: (No subject)

code:
%SystemRoot%\System32\Wbem:%SystemRoot%\Program Files\Java\jdk1.5.0_02


That colon does look a tad suspicious.
Display posts from previous:   
   Index -> Programming, Java -> Java Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 2  [ 20 Posts ]
Goto page 1, 2  Next
Jump to:   


Style:  
Search: