Ubuntu and Sun's Java silent divorce


I was getting mad yesterday trying to figure out what happened to my SUN-JAVA 6 installation on my Ubuntu equipped laptop after the upgrade to the last and best Ubuntu version 10.04, so called "Lucid Lynx".

 

The desktop itself is wonderful. Most beautiful thing I've ever seen. Really.

 

But suddenly all my java stuff stopped: eclipse, maven, ant, everything, that

helped me to cope without marriage so far...just refused to work.

 

And you know what? Try to guess...

 

Ubuntu DELETED (ERASED, REMOVED) my SUN java 6!!!!!!!!!!!!!!!!!!!!!!!

It's a default behavior during the upgrade, unsupported software just removed!!!

 

You remember that sudo apt-get install sun-java6-jdk?

 

Forget about it!!!

 

New Ubuntu does not support SUN jdk and leaves that OpenJava as a single available

option.

 

That's sucks!!!!

 

FORTUNATELY!!!!

 

You still able to download and install the sun's (oracle's) java as a binary (.bin) and install it:

 

It works like unzip, just a package you place anywhere on your disk.

 

Then if you make changes to your PATH and JAVA_HOME and M2_HOME variables in the /etc/profile it even starts to work for your previously installed applications.

 

So , I'm still with Ubuntu, although I was 1 inch from throwing it out from my hard drive...

I hate when software behaves like this. I expected something like that from MS Windows, or from their IE(**KED BINGO has installed itself as default search engine even in firefox!!! no matter how many times I clicked "NO"!!!!), but not from the “software of the choice”.

 

They removed sun's JDK from all their repositories, only JRE is still there...

 

Ubuntu....Ubuntu....I start think what next....

 

 

Comments

 Next will Ubuntu 10.10

 

Canonical moved sun-java6-jdk package to the partner repository

 

www.ubuntu.com/getubuntu/releasenotes/1004#Sun%20Java%20moved%20to%20the%20Partner%20repository

 

sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"

sudo apt-get update

sudo apt-get install sun-java6-jdk

 

It works

 

 

 

 

Mark, you spoiled me all the joy to hate something...

:(

  The way I work, maybe a little primitive but, I have a separate partition mounted as /opt , I install everything there manually, sun jdk, maven, ant ,eclipse, intellij etc. all my projects and source code. java home is always set to /opt/jdk.  I never install my development tools from apt repo, when I upgrade I just remount this partition to /opt , add a 'mvn' alias pointing to /opt/maven/bin/mvn  , and everything is working again. I can even reinstall the whole OS and just mount my partition again to /opt. the only drawback is that I have to upgrade all those manually but it doesn't happen a lot and I prefer it that way.

 

and BTW, I agree lucid is nice but its far from the most  beautiful thing I ever seen :-) , take away the mac like theme and the broadcasting features and its the same old gnome, opensuse is much nicer and safer in my opinion.

 

 

 

It's really great idea :)!

Not a primitive to me.

Suse is great too. I agree.