Error on running sql developer in ubuntu 16.04 - sql

I have looked up for this problem in stackoverflow.
I found the question raised in the following link similar to mine and i tried doing what was mentioned in it but that doesn't seem to be working for me.
The full pathname of a JDK installation for Oracle SQL Developer
I have tried adding the path in the product.conf file but this still gives error. this is what i am getting
./sqldeveloper.sh
Oracle SQL Developer
Copyright (c) 2005, 2018, Oracle and/or its affiliates. All rights reserved.
Type the full pathname of a JDK installation (or Ctrl-C to quit), the path will be stored in /home/nithinchandranp/.sqldeveloper/18.3.0/product.conf
/usr/lib/jvm/java-11-openjdk-amd64
Error: Java home /usr/lib/jvm/java-11-openjdk-amd64 is not a JDK,
either jre/bin/java OR lib/tools.jar OR lib/dt.jar is missing.
Running SQL Developer under a JRE is not supported.
If this Java VM is actually a full JDK installation, add
'SetSkipJ2SDKCheck true' to one of the following files.
Otherwise specify a different Java JDK location with a
SetJavaHome directive in one of the following files:
/home/nithinchandranp/.sqldeveloper/18.3.0/product.conf
/home/nithinchandranp/SQL Developer/sqldeveloper/sqldeveloper/bin/sqldeveloper.conf
Can someone please help me with this issue.
thank you.

We require JDK 8, and only support Oracle Java.
Support for open JDK 11 is planned for later next year.

Related

Installing ORA2PG tool on windows 12R2 server

This is 1st time here. I am trying to install ora2pg tool to migrate data from oracle 12c to PG20. As per docs, I installed Strawberry Perl and ActiveState Perl on the Windows server where I have Oracle 12c enterprise version (and not the client) installed. On the same machine, I have postgresql installed. When I type gmake.exe on c:\ora2pg20\ I get this error message:
:to undefined at c:\perl64\site\lib\extutils\install.pm line 141.
Is it because I could not get to install DBD::Oracle? Or I am missing something else? Any help?
I had to get ora2pg running earlier today on my Win10 and faced the same issues.
I had also installed Strawberry Perl and ActiveState Perl - and found that the PATH envvar ended up being confused with having multiple Perl environments.
So I got rid of ActiveState PERL and made sure my PATH envvar was correct for Strawberry Perl.
Then I got DBD::Oracle from
https://cpan.metacpan.org/authors/id/M/MJ/MJEVANS/DBD-Oracle-1.80.tar.gz
After installing ora2pg and DBD::Oracle via the standard Perl Makefile process, and creating a valid ora2pg.conf file for my particular Oracle instance, it all started to work.
Good luck

How to install pentaho community edition Server on ubuntu 18.04?

I have followed the steps in http://wiki.joanillo.org/images/1/11/Community_user_guide.pdf but I am unable to run the server
That document refers to version 3.x of Pentaho. Current version is 8.2. The doc is out of date by several years.
There’s no folder biserver-ce anymore, it’s now called pentaho-server. The script’s name is still the same.
You will need a JDK installed (1.8 or above, and if you install Pentaho 8.2 you should use openJDK)
i hope you have started the server, if not run this file using terminal /pentaho-server/start-pentaho.sh ....
please provide the log it will be in the path pentahoserver->tomcat->logs->catalina.out

SQL Developer crashes every time I open it

My OS is windows 10 pro x64 and I installed the java sql developer Windows 64-bit with JDK 9 included.
What I have done :
I extracted the file into the desktop and I opened the .exe file. A message told me that I should use jdk 8 or 9, so I went to appdata to find the "product" file and I changed the path so now it's pointed to the jdk that was within the sql developer file.
The issue I have :
When I first agreed for using the jdk 10, the loading bar got stuck. Since I moved the path for the right jdk, it worked. The problem now is that immediately after the openning, it closes itself. So I don't know what to do to solve this problem. My drivers are all up to date.
I finally solved the problem by doing this, maybe it will help someone in the future :
- Download jdk 8 from oracle
- Go to the sqlDeveloper folder on appData and find the "product" file.
- Open it and set the path to the new jdk you've just downloaded.
- Erase the other sqlDeveloper folder on appData with the "tmp" & systemXX.XX... folders on it.
- Start sqldeveloper

How to specify Java Home/JDK in Oracle SQL Developer?

With reference to the above-mentioned title, the path has been given at the time of opening SQL Developer for the first time. Now I need to change the path.
Can anyone help me or guide me to do this?
It depends on on your operating system.
Windows:
User, AppData, Roaming Profiles, sqldeveloper, VERSION, product.conf
Note for the Version value: if you're on version 4.0, you'll see 1.0 as the top level directory. After that you should see things like 17.3 or 18.2.
Linux & OS X
$home/.sqldeveloper, product.conf
Open file, update your Java Home.
Make sure you're pointing to an Oracle Java JDK - we don't support OpenJDK today.
Latest version of SQL Developer expects a Java 8 JDK.
Version 19.2 or higher will also work with 11 or Oracle JDK 12.
In the same folder, Roaming, delete all older SQL Developer folders. When you upgrade SQL Developer version, Java will first look in these folders.
In my case, I browse the java path as
C:\Program Files\Java\jdk-11.0.8
It worked for me, please try it out if you need

Connect to Oracle 11g using VS2010.net Drivers/Cleints

Hey all i am trying to redistribute my app that uses Oracle 11g:
Imports Oracle.DataAccess.Client
The problem i am having is that it will not run on a machine that doesnt seem to have the correct drivers that its looking for. When i install ODAC 11.2 Release 3 (11.2.0.2.1) with Oracle Developer Tools for Visual Studio on the test VM it works just fine but thats a 230+mb file to download and install! Not to mention that if the user already has Oracle 10/11g on their machine that it may mess up their current connections/etc by installing that setup file.
Is there another setup package that i can install that only has the Oracle Data Provider for .NET 2.0 11.2.0.2.0 or whatever its needing from that ODAC 11.2 Release 3 file.
So any help about what i need to go about fixing this problem would be great! :)
Thanks,
David
assuming you are on a 32bit environment you ought to be able to use the
ODAC112021Xcopy_32bit.zip 50.5 MB (53,019,552 bytes)
the corresponding 64-bit
ODAC112021Xcopy_x64.zip - 53.3 MB (55,955,853 bytes)
the files are smaller than the ODT tools but they work. Here is a dated (but it should get you on the correct track) how-to