Linux System became hang-up

Hi all,

I am working on Red hat Linux 2.6 and I am trying to compile some java files and when I am trying to do it,it compiles some file and then became hang up and doesn't allow me to do any operation..

I write one ksh script to compile all files by this script and move those file in specific directory.Output of this script is--

*** Compiling Java files in /abie/dev/common/src
/abie/dev/common
* Looking for Java files in src
* Looking for Java files in src/com
* Looking for Java files in src/com/app
* Looking for Java files in src/com/app/local
* Looking for Java files in src/com/app/local/rbs
    Compiling /abie/dev/common/src/com/app/local/rbs/*.java
        javac -encoding 8859_1 -d /abie/dev/Linux *.java
/abie/dev/common/src/com/app/local/subdev/jar/test.java:532: warning:  sun.awt.image.ByteArrayImageSource is Sun proprietary API and may be  removed in a future release
				return new ByteArrayImageSource(buf);
				           ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning

* Looking for Java files in src/com/app/local/rbs/Lbx
* Looking for Java files in src/com/app/local/uasb
* Looking for Java files in src/com/app/local/svrc
    Compiling /abie/dev/common/src/com/app/local/svrc/*.java
        javac -encoding 8859_1 -d /abie/dev/Linux *.java

after that system became hang and unable to do anything.

Can anyone please tell me why it is became hang and how can I resolve it.

Thanks in Advance..

Hi,
I'm not a Java expert, but it looks like you need to check these errors:

Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning

When your system hangs, can open a remote (ssh) session from another system?
System can hang for several reasons, memory, resources, hard disk, or your system is just busy compiling your Java programs. I'd also like to suggest that you post your system details, like memory, Redhat version and release

uname -a
cat /etc/redhat-release

Your java version may also helpful. You also try running top on another terminal while you are try to compile your Java code.

HTH,
Nitin