Install OpenJDK Version 11

Jdk

brew cask install adoptopenjdk

JAVA_HOME should be set by the developer to /Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk.

java,openjdk,homebrew,mac,code snippet,installation,open source
Opinions expressed by DZone contributors are their own.
Step 3: Installation
Windows:
Macintosh:
Note: BlueJ 3.0+ requires Java 6. Updating to the latest Java version (via the Mac OS Software Update feature) is recommended. BlueJ 3.0.9 and later also has a package which bundles Java 7, and does not require Java to be installed separately.
Download and expand the install file (BlueJ-309.zip). Move the resulting folder to your preferred location (for example Applications).
Debian, Ubuntu, and other Debian-based systems
Check your distribution's instructions on how to install 'deb' packages. In many cases it will be as simple as double-clicking the downloaded file from within a file manager, and then providing an administrator password to allow the installation to proceed.
Note the 'deb' package requires one of the following packages to be installed:
sun-java6-jdk or openjdk-6-jdk or sun-java7-jdk or openjdk-7-jdk
Installing BlueJ will normally cause an appropriate JDK to be installed.
Please note, the example projects will be installed under /usr/share/doc/BlueJ/
Thanks to Joe Lewis for providing the initial version of the .deb package.
Unix:
How
... where '/path/to/jdk' should be replaced by the actual path to the JDK.
Note: if you have a suitable java binary in a directory listed in your PATH environment variable, you may be able to omit the '/path/to/jdk' above. Be careful that this does not run an incompatible java implementation (such as 'gij') however! You can check if a Java implementation is in your path by runng 'java -version'.
In the installer, select an installation directory and your JDK directory and install. By default, the installer will install into a directory called 'bluej' inside the directory from which you launch it, and it will pick up the JDK location automatically (if it is run correctly according to the instructions above).
In the directory where BlueJ was installed, you will find a file named bluej. This is the launcher script. Execute this script to start BlueJ. For example:

Jdk 1.6 Download 64 Bit

Note: This installer can be executed on any system with Java installed (including Windows and MacOS), but Windows/MacOS specific icons and configurations will not be present.
Optional: Remove the Installer
If you do not want to make further installations, you can now delete the installer file.
Step 4: Opening a project
After starting BlueJ, open a project by selecting 'Open' from the Project menu. You can find some examples in the 'examples' directory. After the project has been opened, right-clicking (Mac: control-clicking) a class lets you select a constructor from a pop-up menu to construct an object.
Optional: Subscribe to mailing list
If you want to be notified of new releases, go to bluej-announce and subscribe.
If you are interested in general discussion of BlueJ-related questions, read or subscribe to bluej-discuss. There is also an archive of past messages that you can read without subscribing.
Where to from here?

Jdk 8 Download

If you have any trouble with the installation, please read How to ask for help.

How To Download Jdk 7 For Mac

If it all works this far, you might like to start reading the Tutorial.