Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java defunct

 
rupa ps
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3640
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ).
 
rupa ps
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3640
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks a lot, I'll reinstall and let u know the status.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic