You can download Oracle's Java (which was Sun's) from Oracle directly. You will have to create an account with them. You can use the same account for reading the java forum and downloading other software like their famous DB.
Simply download. JDK6 is still a binary as were all Sun packages before. Do a chmod +x and run it. You have to accept the license, and then it unpacks itself in that same directory - no root privileges required. As of JDK 7 you can download tar.gz packages. http://www.oracle.com/technetwork/java/javase/downloads/index.html Actually, you're better of downloading and installing by yourself because you can have several different versions in parallel and the automatic updates do not override your installed version. That comes in handy if you are a Java developer, at least... Cheers, Chantal On Mon, 2012-02-27 at 21:38 +0100, Demian Katz wrote: > For what it's worth, I run Solr 3.5 on Ubuntu using the OpenJDK packages and > I haven't run into any problems. I do realize that sometimes the Sun JDK has > features that are missing from other Java implementations, but so far it > hasn't affected my use of Solr. > > - Demian > > > -----Original Message----- > > From: ku3ia [mailto:dem...@gmail.com] > > Sent: Monday, February 27, 2012 2:25 PM > > To: solr-user@lucene.apache.org > > Subject: sun-java6 alternatives for Solr 3.5 > > > > Hi all! > > I had installed an Ubuntu 10.04 LTS. I had added a 'partner' repository to > > my sources list and updated it, but I can't find a package sun-java6-*: > > root@ubuntu:~# apt-cache search java6 > > default-jdk - Standard Java or Java compatible Development Kit > > default-jre - Standard Java or Java compatible Runtime > > default-jre-headless - Standard Java or Java compatible Runtime (headless) > > openjdk-6-jdk - OpenJDK Development Kit (JDK) > > openjdk-6-jre - OpenJDK Java runtime, using Hotspot JIT > > openjdk-6-jre-headless - OpenJDK Java runtime, using Hotspot JIT (headless) > > > > Than I had goggled and found an article: > > https://lists.ubuntu.com/archives/ubuntu-security-announce/2011- > > December/001528.html > > > > I'm using Solr 3.5 and Apache Tomcat 6.0.32. > > Please advice me what I must do in this situation, because I always used > > sun-java6-* packages for Tomcat and Solr and it worked fine > > Thanks! > > > > -- > > View this message in context: http://lucene.472066.n3.nabble.com/sun-java6- > > alternatives-for-Solr-3-5-tp3781792p3781792.html > > Sent from the Solr - User mailing list archive at Nabble.com.