I've read a lot that Java 6 works better and that it's not recommended to use Java 7, is this true? And why is Java 7 not a good option?
I've read a lot that Java 6 works better and that it's not recommended to use Java 7, is this true? And why is Java 7 not a good option?
Yes, it's perfectly OK to install Java 7 on Ubuntu. In fact, you can install and use multiple versions of Java, from multiple vendors, at the same time!
The reasons some don't recommend Java 7 as a replacement for Java 6 yet, for end-users, include:
As this link from May 2012 explains, while Java 7 has been available for developers since mid-2011, Oracle only started upgrading Windows users to Java 7 in May 2012, and it is still offering and recommending Java 6 to Linux and Mac users.
Bottom-line: if you are a developer, get Java 7. If you are a user, you can get it too but keep Java 6 around. This question explains how you can install multiple Java versions and use a graphical utility to chose which is the "default" Java