
The above command outputs a bunch of URLs for your selection. $ curl -s | grep "otn-pub" | cut -d \" -f12 In case that you are attempting to install Java JDK remotely and have absolutely no access to Graphical User Interface and web browser use the following curl method to download Java JDK using a command line.įirst, obtain a correct download URL by using the curl command: Once done, copy the downloaded file using SCP or FTP client into a final destination. The first option is to download desired Java JDK tarball directly using the web browser, while also accepting the required Oracle Binary Code License Agreement for Java SE license by clicking the provided radio button. From this reason, there are two options on how to download Oracle Java JDK tarball. The website requires the Oracle Binary Code License Agreement for Java SE license to be accepted prior to download. Navigate to Oracle Java JDK page and locate an appropriate system architecture relevant tarball. Let’s start by downloading Java JDK tarball from the official Oracle website.

Optionally, curl will be used to download an appropriate Java JDK tarball. Privileged access to your Debian Linux is required. The objective of this guide is to provide a simple to follow steps on how to install Java SE Development Kit on Debian Linux.
