You may find OpenJDK 6 and 7 binaries for Windows in openjdk-unofficial-builds github project.
Update: OpenJDK 8 and 11 LTS binaries for Windows x86_64 can be found in ojdkbuild github project.
Disclaimer: I've built them myself.
Update (2019): OpenJDK Updates Project Builds for 8 and 11 are available now.
Answer from alexkasko on Stack Overflowjava - OpenJDK availability for Windows OS - Stack Overflow
command line - Installing JDK 7 on debian - Unix & Linux Stack Exchange
Can someone explain the whole OpenJDK vs Java thing for me?
Java is a language created by Sun, who got bought out by Oracle.
Java runs on a JVM (java virtual machine) which is what lets it be cross platform. Basically you compile your Java code to Java bytecode which the JVM acts as an interpreter for. If you don't know this, it's worth looking into!
You compile your code with a Java development kit (they have more tools than just that though), an example is the OpenJDK (Open Java development kit). Another is Oracle's proprietary one. There are other propriety JDKs but they all adhere to the same standard and many of them are built on top of OpenJDK.
OpenJDK is open source and anyone can use it without express permission. Oracle's propriety one has a different license, uses different libraries and has a few little tweaks so Oracle can sell it. Google and Oracle have had their kerfuffles and Google has chosen to go with the open source version. I'll just insert my opinion and say this is a good thing, it makes Google and Android that bit less beholden to Oracle who I have an (arguably) irrational dislike for.
FWIW OpenJDK is the "reference" implementation as of Java 7 (so OpenJDK is what the standard says "this is what does it right"). It's also maintained by Oracle!
As an end user there's very little that you need to be concerned with.
More on reddit.comNeed java 8 or 7 on Buster
https://linuxize.com/post/install-java-on-debian-10/
More on reddit.comYou may find OpenJDK 6 and 7 binaries for Windows in openjdk-unofficial-builds github project.
Update: OpenJDK 8 and 11 LTS binaries for Windows x86_64 can be found in ojdkbuild github project.
Disclaimer: I've built them myself.
Update (2019): OpenJDK Updates Project Builds for 8 and 11 are available now.
In case you are still looking for a Windows build of OpenJDK, Azul Systems launched the Zulu product line last fall. The Zulu distribution of OpenJDK is built and tested on Windows and Linux. We posted the OpenJDK 8 version this week, though OpenJDK 7 and 6 are both available too. The following URL leads to you free downloads, the Zulu community forum, and other details: http://www.azulsystems.com/products/zulu These are binary downloads, so you do not need to build OpenJDK from scratch to use them.
I can attest that building OpenJDK 6 for Windows was not a trivial exercise. Of the six different platforms we've built (OpenJDK6, OpenJDK7, and OpenJDK8, each for Windows and Linux) for x64 so far, the Windows OpenJDK6 build took by far the most effort to wring out items that didn't work on Windows, or would not pass the Technical Compatibility Kit test protocol for Java SE 6 "as is."
Disclaimer: I am the Product Manager for Zulu. You can review my Zulu release notices here: https://support.azulsystems.com/hc/communities/public/topics/200063190-Zulu-Releases I hope this helps.
The packages available for installation as well as already installed ones can be listed with the command
apt-cache --names-only search openjdk
The first column is the package name which is to be provided as argument for apt-get install. For example:
apt-get install openjdk-7-jdk openjdk-7-doc openjdk-7-jre-lib
Manual installation
Basically one just needs to fetch the archive, extract files from it and setup some environment variables to make the installed JDK the default one.
With root permissions perform the following actions:
# Installing the JDK in /opt
cd /opt
# Fetch the JDK
wget http://download.oracle.com/otn-pub/java/jdk/7u60-b19/jdk-7u60-linux-x64.tar.gz
# Extract files from it
tar xvf jdk-7u60-linux-x64.tar.gz
rm jdk-7u60-linux-x64.tar.gz
The JDK is already ready to be used actually.
If you want to make this JDK the system-wide default, run the following with root permissions:
update-alternatives --remove java /usr/bin/java
update-alternatives --install /usr/bin/java java /opt/jdk1.7.0_60/jre/bin/java
update-alternatives --remove javac /usr/bin/javac
update-alternatives --install /usr/bin/javac javac /opt/jdk1.7.0_60/bin/javac
If you only want to make the JDK available to one user, you need to add the following lines to the end of .bashrc in the home directory:
PATH=/opt/jdk1.7.0_60/bin:/opt/jdk1.7.0_60/jre/bin:$PATH
export PATH
edit your eclipse.ini file and add a "-vm" with the full path to the java command to use
Don't sudo apt-get install sun-java7-jdk work as a unprivileged user? (i couldn't comment sorry).
You could check out http://168.site90.net/doku.php?id=ubuntu-download-and-install-jdk-bin
That may help you.