Disadvantages of Java Java is slow. First of all, it is slow. One reason for this is that object orientation reduces the speed. The other is the fact that Java compiles into a B-code which is then interpreted by the local machine. This interpreting takes time as well.
Garbage collection interferes with real-time accuracy.
For this reason, you would not want to write a Java application which operates a knife on an operating table. There are ways to program around this, of course. Limited access to local machine. For this reason, it would be easier to write a printer driver in C than in Java. Although I learned quite a bit of practical Java this weekend, I don't plan to incorporate it into my web development projects any time soon.