Ubuntu12.04 install sqldeveloper and summarize various problems

Source: Internet
Author: User

Ubuntu12.04 install sqldeveloper and various problems Summary 1 download sqldeveloper-3.1.07.42-1.noarch.rpm2 install jdk1.6.35 oracle requires version 1.6.04 or above, 1.7.0 or below 3 conversion format l SQL Develoepr settings by default is an rpm package. To install Mint in Linux, You need to convert the RPM to DEB package. Now, you need to download external help you to convert RPM, DEB and DEB, command: sudo apt-get install alien to convert rpm to deb, command: sudo alien-k -- scripts sqldeveloper *. rpm 4. install the converted deb. Command: sudo dpkg-I sqldeveloper *. deb 5 modify the configuration file of sqldeveloper in/opt/sqldeveloper/bin, and restart the file (otherwise it may not take effect) # vim. /sqldeveloper/bin/sqldeveloper. conf: Change the SetJavaHome parameter to $ JAVA_HOME 6. Solve the problem by garbled characters [root @ ubuntu ~]. # Cd/usr/jdk/jre/lib/fonts [root @ ubuntu fonts] # mkdir fallback [root @ ubuntu fonts] # cd fallback/[root @ ubuntu fallback] # ln- s/usr/share/fonts/default/yaHei. ttf (download one if you don't have one) (the font you want) ---- or directly put it in this directory [root @ ubuntu fallback] # mkfontdir [root @ ubuntu fallback] # mkfontscale restart SQL limit 7 and add shortcuts # create one. desktop file sudo gedit/usr/share/applications/sqldeveloper. desktop # copy the following code to sqldeveloper. save [desktop Entry] Name = sql1_comment = sql1_encoding = UTF-8 # execute the file Exec =/opt/sqldeveloper/bin/sqldeveloper # display Icon =/opt/sqldeveloper /sqldeveloper/doc/icon.png # Whether the Terminal runs Terminal = falseType = Application # The category Categories = Development; after StartupNotify = true is saved, open the directory/usr/share/applications in the resource manager graphical interface to find the sqldeveloper icon, and drag the icon into the startup bar to ------------ Ubuntu12.04 install jdk1.6.0 _ 35. bin -------------------- first http://java.oracle.com Download jdk-6u37-linux-x64.bin, self-extract operations are relatively simple, do not need to convert. Then, you can place it in any folder you like. We recommend that you place it under the main folder (/home/yourname. Install jdk below: Install jdk under/usr/lib/jdk, enter your jdk-6u37-linux-x64.bin under the terminal $ sudo chmod 777 jdk-6u37-linux-x64.bin // grant the file to run $ sudo-s. /jdk-6u37-linux-x64.bin/usr/lib/jdk one way press enter, until you ask whether to install, enter yes press enter (directly hit a uppercase a plus car is better,) [if this command is completed, the installation directory is not under/opt, but under your own account directory. Please move the entire folder to/opt and grant the appropriate permissions] OK, the installation is complete, configure the environment variable below 3. configure classpath and modify the environment variables of all users $ emacs ~ /. Bashrc in. add or integrate the PATH variable in bashrc as follows: # java program development/running environment variable JAVA_HOME =/usr/lib/jdk/jdk1.6.0 _ 37JRE_HOME =$ {JAVA_HOME}/jreexport ANDROID_JAVA_HOME = $ JAVA_HOMEexport CLASSPATH =.: $ {JAVA_HOME}/lib: $ JRE_HOME/lib: $ CLASSPATHexport JAVA_PATH =$ {JAVA_HOME}/bin :$ {JRE_HOME}/binexport JAVA_HOME; export JRE_HOME; export CLASSPATH; HOME_BIN = ~ /Bin/export PATH =$ {PATH }:$ {JAVA_PATH }:$ {HOME_BIN}; after saving, synchronously update: source ~ /. Bashrc 4. Change the default jdk to $ sudo update-alternatives -- install/usr/bin/java/usr/lib/jdk/jdk1.6.0 _ 37/bin/java 300 $ sudo update-alternatives -- install/usr/bin/javac/usr/lib/jdk/jdk1.6.0 _ 37/bin/javac 300 $ sudo update-alternatives -- config java $ sudo update- alternatives -- config javac 5. detection, enter java-version java version "1.6.0 _ 37" Java (TM) SE Runtime Environment (build 1.6.0 _ 37-b06) Java HotSpot (TM) 64-Bit Server VM (build 12-b01, mixed mode)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.