Linux Mandriva 2009.1: Установка Oracle SQL Developer

Материал из EniseyName.

Перейти к: навигация, поиск
автор пишет, что кроме Sun Java 6 JDK можно also use OpenJDK

1. Become root by running the su command and entering the root password.

2. Extract and install the contents of the downloaded file. Change directory to where the downloaded file is located and run these commands to first set the executable permissions and then run the binary to extract and run the RPM file: % chmod a+x jdk-6u<version>-linux-i586-rpm.bin % ./jdk-6u<version>-linux-i586-rpm.bin

Note that the initial "./" is required if you do not have "." in your PATH environment variable. The script displays a binary license agreement, which you are asked to agree to before installation can proceed. Once you have agreed to the license, the install script creates and runs the file jdk-6u<version>-linux-i586.rpm in the current directory. NOTE: If you want to only extract the RPM file but not install it, you can run the .bin file with the -x argument. You do not need to be root to do this.

3. Delete the rpm file if you want to save disk space.

  • Загружаем Oracle SQL Developer здесь
  • Устанавливаем sqldeveloper-1.5.54.40-1.noarch.rpm
  • Редактируем файл sqldeveloper.conf, добавляем строку

AddVMOption -Duser.region=US

Иначе нет соединения с Oracle 10g XE

Добавляем еще строку

SetJavaHome /usr/java/jdk1.6.0_20

  • Если при запуске появляется ошибка

Type the full pathname of a J2SE installation (or Ctrl-C to quit), the path will be stored in ~/.sqldeveloper/jdk

1. First we'll create the missing directory by typing: mkdir -p ~/.sqldeveloper

2. Next we'll create an empty jdk file by typing: touch ~/.sqldeveloper/jdk

3. Редактируем файл jdk добавляя в него /usr/java/jdk1.6.0_20

Личные инструменты