hi all, I am not sure whether this is right place to post my problem. I need ur help to solve the problem of slow javac. The javac compiler in m/c is running very slow. It takes about 5 minutes to compile a file. This problem started only recently but before it was working fine. Strangely the java comand executes quickly. Reinstalling JDK did not help. My machine has 256 MB RAM , P III processor and runs on windows 2000.
And does it take this long to compile any Java file, or is there a particular file that it's got problems with? If the latter - is there anything else unusual about this file? You might also want to look at the Windows Task Manager to see what your CPU and memory usage are during compilation. This can help provide clues...
The javac is slow for any file, how ever small it is.I am using JDk 1.3.1.I switched now to 1.4 but with no difference. The memory usage for javac fluctuates between 600k to 2000k.(captured from Task manager). Some one please help me. [ May 20, 2002: Message edited by: Pradeep Manjeshwar ]
I know this is NOT the right solution for your problem, still let me add it here. Using Jikes instead of javac is much faster, especially when you have dozens of packages to be compiled in a go. Again, coming back to the strange behaviour of javac in your machine, you should try de-installing (complete wipe-out of all traces of jdk/jre etc) and then a fresh install. A complete de-install is more important that you imagine. Good Luck!