It's much lower level and has a robust sandboxing model, so the security issues with Java are not really a concern here. There are still security risks but they're different ones and generally less severe.
Because it's lower level it's a more viable compile target for things that couldn't easily be compiled to Java, like C++ for example.
Because it's lower level it's a more viable compile target for things that couldn't easily be compiled to Java, like C++ for example.