Oracle

無法安裝 Oracle JDeveloper 12c

  • August 30, 2019

我想在我的Ubuntu 18.04上安裝****Oracle JDeveloper ,我已經從這裡下載了安裝程序文件,在那裡我將file1file2下載到了 Linux。

這是file1的文件名,大小為2,0 GB

jdev_suite_122130_linux64.bin?AuthParam=1561523342_6bfe09585a7e74ebd661dfe1d3d49427

這是file2的文件名,大小為432,1 MB

jdev_suite_122130_linux64-2.zip?AuthParam=1561523346_b29a360806455b82e4a0db9e4e7767b9

我已經嘗試遵循許多教程來安裝 JDeveloper,是我嘗試遵循的範例教程之一。

那裡..,在我得到安裝程序文件後,我們應該使用以下命令授予權限:

sudo chmod +x jdev_suite*.bin

我將命令執行到file1file2,這是權限:

harvest# ls -l jdev_suite_122130_linux64.bin\?AuthParam=1561523342_6bfe09585a7e74ebd661dfe1d3d49427 
-rwxr-xr-x 1 tri tri 2045438518 Agu 26  2017 'jdev_suite_122130_linux64.bin?AuthParam=1561523342_6bfe09585a7e74ebd661dfe1d3d49427'
harvest# ls -l jdev_suite_122130_linux64-2.zip\?AuthParam=1561523346_b29a360806455b82e4a0db9e4e7767b9
-rwxr-xr-x 1 tri tri 432104829 Agu 26  2017 'jdev_suite_122130_linux64-2.zip?AuthParam=1561523346_b29a360806455b82e4a0db9e4e7767b9'

然後我使用以下命令開始安裝:

./jdev_suite_122130_linux64.bin?AuthParam=1561523342_6bfe09585a7e74ebd661dfe1d3d49427

我在普通使用者上嘗試了該命令,並以 root 身份嘗試,但在那之後我收到了這條消息:

Launcher log file is /tmp/OraInstall2019-06-26_02-04-26PM/launcher2019-06-26_02-04-26PM.log.
Extracting the installer . . . Done
Self extraction to /tmp/sfx_i5T36W failed.
The log is located here: /tmp/OraInstall2019-06-26_02-04-26PM/launcher2019-06-26_02-04-26PM.log.
ERROR: Installer execution failed (1).

在我根據該消息查看日誌後,這裡是日誌:

harvest# cat /tmp/OraInstall2019-06-26_02-04-26PM/launcher2019-06-26_02-04-26PM.log
2019-06-26 14:04:26,534 INFO  [1] com.oracle.cie.nextgen.launcher.LogUtils - Launcher log file is /tmp/OraInstall2019-06-26_02-04-26PM/launcher2019-06-26_02-04-26PM.log.
2019-06-26 14:04:26,544 INFO  [1] com.oracle.cie.nextgen.launcher.LogUtils - Extracting the installer . . .
2019-06-26 14:04:26,545 SEVERE [1] com.oracle.cie.nextgen.launcher.Launcher - 
The jar file /home/tri/Downloads/oracle/jdeveloper_12c/jdev_suite_122130_linux64.bin?AuthParam=1561523342_6bfe09585a7e74ebd661dfe1d3d4-2.zip needed for this installer is missing.
2019-06-26 14:04:26,547 SEVERE [1] com.oracle.cie.nextgen.launcher.Launcher - Self extraction to /tmp/sfx_i5T36W failed.
2019-06-26 14:04:26,547 INFO  [1] com.oracle.cie.nextgen.launcher.LogUtils - The log is located here: /tmp/OraInstall2019-06-26_02-04-26PM/launcher2019-06-26_02-04-26PM.log.

我已嘗試按照此說明下載 File1 和 File2 並將其放在同一目錄中,但仍然無法正常工作。

所以,請幫我解決這個問題。

我在 Kumar 的評論之後解決了這個問題:

我啟動了全新的 Ubuntu 18.0.4 虛擬機,安裝了 open jdk 8 和 Oracle JDeveloper,沒有任何錯誤。從日誌文件來看,自我提取似乎與參數 AuthParam 無關,那到底是什麼?如果您嘗試不使用 Authparam 會發生什麼?

只需刪除該文件上的AuthParam 即可。像這樣:

前:

jdev_suite_122130_linux64.bin?AuthParam=1561523342_6bfe09585a7e74ebd661dfe1d3d49427

後:

jdev_suite_122130_linux64.bin

然後像往常一樣安裝它:

./jdev_suite_122130_linux64.bin

引用自:https://dba.stackexchange.com/questions/241437