|Re: Several issues after JRE-6 (OpenJDK) upgrade [message #911938 is a reply to message #911923]
||Wed, 12 September 2012 16:04
| Russell Bateman
Registered: July 2009
Location: Provo, Utah, USA
On 9/12/2012 9:41 AM, Eusebius Balzac wrote:|
> Hi all.
> I'm on Ubuntu 12.04 LTS, using Eclipse Indigo, but it doesn't work
> anymore after Ubuntu made me update the following packages:
This is why I always run Eclipse and do Java development off a private
JDK locally. Unless I'm mistaken, openjdk isn't a proper Sun JDK. Never
get any first-line development tool like Eclipse, Java or Tomcat out of
what Ubuntu Software Center gives you, get it from the source. Keep your
development JDK separate from what's going on Java-wise on your host OS.
(I'm probably a little more radical about this than others.)
So, you will want to download a proper JDK from java.sun.com, wave your
mouse over the Downloads tab, choose Popular Downloads, Java for
Developers, and download Java SE 7u7 JDK or Java SE 6u35 JDK. Make sure
the bittedness of the download corresponds to your Eclipse package.
Make the .bin download executable and run it. At some point, it will
launch a browser for registration. You don't have to do this; just
dismiss the page and go back to real work.
Modify eclipse.ini to point to the JRE inside (see
http://wiki.eclipse.org/Eclipse.ini). Mine says:
If you're doing Java development, as I assume, you'll want to add this
JDK in place of whatever has been there. Go to Window -> Preferences ->
Java -> Installed JREs, click Add and browse to where you put your new
JDK. Check the box afterward.
If you're not doing Java development, you only need a JRE. Having the
whole JDK won't hurt you, but it's really there to support Java
development (beside run Eclipse).
Hope this helps.
Powered by FUDForum
. Page generated in 0.01884 seconds