@p_2001 +1 my good Sir.
I personally have never tried Java, but I always hear good things about it, especially in regards to its compatibility with a lot of different environments.
@Mr. Perfect, you have to understand, with something as adaptable, and easy to implement as Java, there are going to be an equal amount of cons to its pros. Java can be extremely secure, and as you already know, it can be extremely insecure. I believe it all depends on the developer, and how much effort they put into making a quality product. Java is extremely powerful, and shouldn't be thrown out for its security drawbacks.