In my experience, a combination of Python and C/C++, Lua/C++, or even just plain C++ with a good library like Qt offer better performance and productivity. And Open Office is not a good example, desktop applications are definitely not Java's strength, there are hardly any examples. Java is more dominant than in the "enterprise"/web space.