aspose file tools*
The moose likes Java in General and the fly likes java defunct Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "java defunct" Watch "java defunct" New topic
Author

java defunct

rupa ps
Greenhorn

Joined: May 26, 2005
Posts: 3
Hi,
everytime I compile a java program there are few processes created and these jobs hangs on the server. The program I compile has no error and I have no problem executing it. But the problem is I have to manually kill these processes each time I compile a program. Below is the example of processes which hangs in the server.
rip2 2542 1 0 19:28 pts/0 00:00:00 /opt/IBMJava2-131/bin/exe/javac
rip2 2543 2542 0 19:28 pts/0 00:00:00 [javac <defunct>]
rip2 2544 2542 99 19:28 pts/0 00:00:52 /opt/IBMJava2-131/bin/exe/javac
rip2 2545 2542 99 19:28 pts/0 00:00:52 /opt/IBMJava2-131/bin/exe/javac
rip2 2546 2542 74 19:28 pts/0 00:00:38 /opt/IBMJava2-131/bin/exe/javac

Please help me to solve this?
Chetan Parekh
Ranch Hand

Joined: Sep 16, 2004
Posts: 3636
This is happening with the spesific class or with all classes?

Just create HelloWorld class and try to compile it.

Also send some code (enclosed in ).


My blood is tested +ve for Java.
rupa ps
Greenhorn

Joined: May 26, 2005
Posts: 3
Thank you for the fast reply. It's happening with all classes. I've already tried with HelloWorld. Here's the code:



These are the processes which hangs in the server:

rip2 24618 1 0 18:08 pts/0 00:00:00 /opt/IBMJava2-131/bin/exe/javac
rip2 24619 24618 0 18:08 pts/0 00:00:00 [javac <defunct>]
rip2 24620 24618 99 18:08 pts/0 00:00:04 /opt/IBMJava2-131/bin/exe/javac
rip2 24621 24618 99 18:08 pts/0 00:00:04 /opt/IBMJava2-131/bin/exe/javac
rip2 24624 24618 0 18:08 pts/0 00:00:00 [javac <defunct>]
rip2 24625 24618 0 18:08 pts/0 00:00:00 [javac <defunct>]
rip2 24626 24618 0 18:08 pts/0 00:00:00 [javac <defunct>]
rip2 24627 24618 0 18:08 pts/0 00:00:00 [javac <defunct>]
rip2 24628 24618 0 18:08 pts/0 00:00:00 [javac <defunct>]
Chetan Parekh
Ranch Hand

Joined: Sep 16, 2004
Posts: 3636
Nothing wrong with code

Something wrong with JVM or JRE.

Is possible re-install JVM/JRE/JDK, if problem is still contiue then OS has something that you have to trap.
rupa ps
Greenhorn

Joined: May 26, 2005
Posts: 3
thanks a lot, I'll reinstall and let u know the status.
 
 
subject: java defunct