In this tutorial I’ll show you how to download and install JDeveloper Studio 12c on remote linux server for continuous integration purposes. This guide is an introduction to my ADF & Continuous Integration tutorial series.
Preparations
- Linux server instance – for tutorial purposes you can configure simple Ubuntu Server
- Install JDK 1.8 on the target server
Downloading JDeveloper
You have two ways to download JDeveloper. First is to download it to your workstation and then upload to the target server via scp (WinScp on Windows). The second one is to download JDeveloper directly on the server using i.e. wget.
Downloading on client and copying to the server via SCP
Download JDeveloper installation files from official Oracle site and copy to the target server:
scp jdev_suite_122100.jar jdev_suite_1221002.jar <USERNAME>@<YOUR_SERVER_IP_ADDRESS>:<TARGET_REMOTE_SERVER_PATH>
In my case
scp jdev_suite_122100.jar jdev_suite_1221002.jar tutorial@192.168.1.56:~
On Windows you can use WinSCP to upload files over ssh.
Downloading on remote linux server using wget
Do you have any idea how to do this?
I’ve not solved this problem yet. Previously I wrote tutorial about downloading Java from official Oracle site using wget, but this time it doesn’t work. I tried to use:
wget --user <USERNAME> --ask-password --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn/java/jdeveloper/12.2.1.0.0/jdev_suite_122100.jar
Any idea? Maybe cookie load? If you solved this problem, please leave me a message.
Installing JDeveloper in silent mode
Prepare silent installation files
Silent mode installation requires two configuration files:
- inventory location properties – JDeveloper 12c requires paths to oraInventory. Skip this step if you install older versions of JDeveloper.
- installation response file – this file contains JDeveloper’s installator parameters.
Prepare file oraInst_JDeveloper12c.loc with the following content
inventory_loc=<inventory_location> inst_group=<group_name>
In my case
inventory_loc=/home/tutorial/Tools/OracleInventory12c inst_group=tutorial
Prepare oraInst_JDeveloper12c.resp with following content
ORACLE_HOME=<YOUR_MIDDLEWARE_HOME_PATH>
In my case
echo "ORACLE_HOME=/home/tutorial/Tools/OracleMiddleware_12" > /home/tutorial/oraInst_JDeveloper12c.resp
Run installer
<JAVA_HOME>/bin/java -jar jdev_suite_122100.jar -silent -responseFile <response file location> -invPtrLoc <absolute path to the file>
In my case
/home/tutorial/Tools/jdk1.8.0_91/bin/java -jar jdev_suite_122100.jar -silent -responseFile /home/tutorial/oraInst_JDeveloper12c.resp -invPtrLoc /home/tutorial/oraInst_JDeveloper12c.loc
Installing JDeveloper using X forwadring
If you have a server with X installed, you can use one of the following methods of installation.
Linux Client
ssh -X <USERNAME>@<YOUR_SERVER_IP_ADDRESS> <JAVA_HOME>/bin/java -jar jdev_suite_122100.jar
In my case
ssh -X tutorial@192.168.1.56 /home/tutorial/Tools/jdk1.8.0_91/bin/java -jar jdev_suite_122100.jar
Windows client
X forwarding on Windows can be obtained using Xming and putty X forwarding.
Additionals
More about silent mode you can find here.
If you know where to find more informations about response file (oraInst_JDeveloper12c.resp), please leave me a message.
Hi lukasz.ciesla.
I tried the solution described in the link below usign “export cookies” from the web browser to download the oracle binaries from linux server and it works!
https://blog.pythian.com/how-to-download-oracle-software-using-wget-or-curl/
Hope this still be helpful