dbi services: Database Infrastructure Services - Engineering, Implementation, Operation, Modernization

Blog - comments
Julien said,
  Unluckily there is a bug on this feature which causes the reversed eff  
youtube html5 player said,
  Wow, very comprehensive review. I'm thinking about learning HTML5. I'm  
youtube html5 player said,
  I have no words for this great post such a awe-some information i got  
SEO Services said,
  Thanks for the nice blog. It was very useful for me. Keep sharing such  
Jhon said,
  Me personally and my friends genuinely favored the post and i believe  
Blog Jérôme Witt Oracle SQL Developer & SQL Data Modeler on Ubuntu

dbi services Blog

Welcome to the dbi services Blog! This blog focuses on database infrastructure and middleware topics. It covers technologies such as Oracle, Microsoft SQL Server, MySQL, Sybase, Linux, or Documentum (etc.). The dbi services blog represents the view of our consultants, not necessarily that of dbi services. Feel free to comment on the postings!

Jérôme Witt

Oracle SQL Developer & SQL Data Modeler on Ubuntu

Oracle SQL Developer and Data Modeler are becoming more and more popular as they are both cost-free and available on many Operating Systems (Linux/Unix,Windows and Mac) with different installation types: "This zip does not include JRE" or "This zip file includes the JRE". On linux, the choice is limited because the only version available doesn't include Java Runtime Environment. And it's an RPM !! So what... In this post I will provide all information required to install and run these tools on an Ubuntu machine.

 

My solution was to download the tar.gz archive for Oracle SQL Developer and the Windows version for the Data Modeler.
It contains the binaries for Windows and Linux. Of course without JRE Smile 

After changing the permission to execute the SH scripts, I faced (as the most of you) the following error for both tools:


jew@Biederthal:/opt/datamodeler/datamodeler/bin$ sh /opt/datamodeler/datamodeler.sh
Oracle SQL Developer Data Modeler
Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.

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

 

 I have the path to my Sun Java executable in my PATH variable... and the version is above of the requirements (JDK 5.0 Update 12). The JAVA requirements are:


java -version
java version "1.6.0_26"

 

So what does it mean? Oracle believes that you install SQL Developer and/or Data Modeler on the same mount point as Java. Check the files //datamodeler/datamodeler/bin/datamodeler.conf and/or //sqldeveloper/sqldeveloper/bin/sqldeveloper.conf  for the Java Home:


SetJavaHome ../../jdk

Replace the entry by your real java installation path, below my installation as I require also SUN Java for Oracle Enterprise Manager Grid Control


SetJavaHome /usr/lib/jvm/java-6-sun/jre

If you want to install the SUN Java on your Ubuntu and also configure it for Firefox, follow my collegue's post.
http://www.dbi-services.com/index.php/blog/entry/configure-firefox-3612-with-ubuntu-for-grid-control-and-my-oracle-support-usage

If the system still complains about JRE, disable the JDK check by adding the following line:

 

SetSkipJ2SDKCheck true

Et voila Wink I wish you a nice time with these tools! 

Cheers,
Jérôme

About the author

Jérôme Witt
Jérôme Witt
Jérôme Witt is Consultant at dbi services.

Following his computer science and networks studies, Jérôme Witt started his professional career as an automation specialist for an electrical automation company.

From 2007 to 2008, he completed an Oracle trainee program covering the Oracle technology stack.

Jérôme Witt is specialized in high availability solutions like clustering (AIX HACMP), Oracle Data Guard, Oracle Clusterware, and Virtualization. He is also an experienced Database Administrator and took over operative DBA tasks in several multinational companies covering different industries, such as Banking, Chemicals & Pharmaceuticals, Food, Public Services, Health Care, etc.

Comments

No comments yet. Be the first to submit a comment.
Leave your comment
Guest