Java can be used to create very powerful applications


Java can be used to create very powerful applications. JavaScript scripts cannot really do all the neat things that Java applets can.
On the other hand, it is much more difficult to write programs in Java than it is to write scripts in JavaScript.