![]() I openjdk-7-jre - OpenJDK Java runtime, using Hotspot JIT P openjdk-7-doc - OpenJDK Development Kit (JDK) documentation P openjdk-7-demo:i386 - Java runtime based on OpenJDK (demos and examples) P openjdk-7-demo - Java runtime based on OpenJDK (demos and examples) P openjdk-7-dbg:i386 - Java runtime based on OpenJDK (debugging symbols) P openjdk-7-dbg - Java runtime based on OpenJDK (debugging symbols) If you have the JRE installed you will se an i beside a package that begins with openjdk-7-jre $ aptitude search openjdk-7 ![]() Checking all Java packagesįor completeness, you can check what Java packages you have installed by running aptitude search openjdk-7. If sqldeveloper.sh is not executable run chmod +x sqldeveloper.sh and run the script again. Once the JDK is installed and the JAVA_HOME environment variable set, you can move into the sql developer directory and run the sqldeveloper.sh script. This will set JAVA_HOME for your current terminal session, to not have to worry about setting it again, you can add it to your ~/.bashrc file. Next, set the JAVA_HOME environment variable, in Bash I would set it by running this from the terminal: $ export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-amd64Ĭheck to make sure it was set correctly. This means I only have one JDK installed, java-1.7.0-openjdk-amd64, and its JAVA_HOME is /usr/lib/jvm/java-1.7.0-openjdk-amd64. You can see all the installed JDKs on your machine by running update-java-alternatives -l, choose the one you want to use and copy the third field, this field is the JAVA_HOME for that JDK.įor example, on my machine $ update-java-alternatives -l Setting JAVA_HOMEĪfter installing the JDK you need to set the JAVA_HOME environment variable. Install by running sudo apt-get install openjdk-7-jdk in a terminal. To install in the JDK in ubuntu you need to install the package openjdk-7-jdk. If the package does not have an i beside it, then it is not installed. P openjdk-7-jdk:i386 - OpenJDK Development Kit (JDK) I openjdk-7-jdk - OpenJDK Development Kit (JDK) For example, I have the 64-bit JDK installed on my machine, this is the output. If you see an i beside either package then it is installed. To check if you have the JDK installed, type aptitude search openjdk-7-jdk in the terminal. Install the JDK, type sudo apt-get install openjdk-7-jdk in a terminal. I got the error because I moved the software to another directory after installation.You only have the Java JRE installed, you need to install the JDK in order for Oracle SQL Devloper to work. Mine (but take care, I installed to a custom location) are: If the correspondinig java version is at another location on your disk, update the paths.įor each version of Java you have, you need to do this twice (once for the particular build you have (example 1.7.0_04) and once for the base version (example 1.7). ![]() If you have multiple versions in the registry and you do not have a corresponding java version on your disk for one of them, remove the superfluous registry entry. ![]() JavaHome should be the start of this path with the \bin\client\jvm.dll part removed. RuntimeLib should refer to an existent jvm.dll file, ![]() Go to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environmentįor each version under this path, verify if the paths for the JavaHome and RuntimeLib variables are correct. Open the registry editor (regedit.exe) using an administrator account. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |