In 2022, the question asked in how-to-prevent-oracle-sql-developer-from-writing-to-appdata-roaming is still a bit of a problem. While the -Dide.user.dir option does allow you to move the SQL Developer directory from %APPDATA%, the application still creates a sqldeveloper directory in %APPDATA% that contains a <version>/product.conf file.
What option needs to be added to move this directory as well? I am using version 21.4.3 of SQL Developer. Thanks in advance for any help you all can offer.
You need to convince SQL Developer that it's not actually running on Windows, but is instead on Linux or a Mac.
Otherwise, SQL Developer is designed to do EXACTLY as you describe/observe.
The -Dide.user.dir doesn't let you move those files per se, it more accurately allows you to mirror them somewhere else.
I install Oracle Developer Suite 6i on Windows 10 Professional 64-bit, but when i run form builder, its give the error \ORANT\DBS\FMCUS.MSB not found. but when i search this file in in installed 6i directory this file is exist there, when i google this error, i found a solution: its suggest me to run the form builder in compatibility mode of windows XP service pack 2. but still its show the same error given below:
Message file \ORANT\DBS\FMCUS.MSB not found
Kindly suggest me what should i do to get rid from this error. Thank You!
Typically errors like this mean the software does not know precisely where it is installed. A couple of options that might resolve this (I say might because that is some very old software you've got there).
Try setting ORACLE_HOME as an environment variable
Look in the registry for the the key which nominates where Forms is installed and set ORACLE_HOME there.
Create a batch file which sets ORACLE_HOME and then launches Forms
If you still have an old installation of Oracle Developer Suite. Look for the keys like :
[HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_OH155385982] and
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Oracle\KEY_OH267560998].
Export them as Key_ODS64.reg and Key_ODS64_Wow.reg, respectively.
Go to your new installation's machine and Import by double-clicking.
Sqldeveloper 2.* had a very good tool to view database schema. here is the screen-shot of how it can be launched:
Was this tool removed from SqlDeveloper 3.* and is there something similar there?
P.S. I tried googling and reading manuals for some time, of course.
The latest versions of SQL Developer still have the data modeler.
http://www.oracle.com/technetwork/developer-tools/datamodeler/overview/index.html
here's a link that shows you, I use it almost daily in the latest version of sql developer (or at least 3.1.07 that I am using -->whoa they've updated to 3.2 I'll go get that later)
you can still goto Tools->Data Modeler but you can also OPEN and SAVE the datamodeler via the File->Data Modeler context menus (it seems to have been 'combined' with SQL DEVELOPER to the point where you save it independently).
If you go to VIEW->Data Modeler->Browser you can then create models etc and save them via the aforementioned menu item in SAVE.
I am using Oracle 11g. I had exported data using the installed version of SQL Developer to a sql file called "export.sql". Now, I have downloaded the new version which is 3.1.07 and when I try to import data by clicking on the tree view and choosing Tables | Import Data and navigating to "export.sql", I get the following error:
no readers are registered for the sql type
When I first started the application it asked for the path to java.exe and I have shown that path and application started. I have the started the application from the path where it was downloaded (C:\users\kaushik\Downloads\sqldeveloper)
You can call the file directly from sql developer.
Example: If you saved you file to c:\Oracle\MyBackups\Export.sql
Then from within Sql Developer, connect to your database and use the sql command:
#C:\Oracle\MyBackups\Export.sql
and that will execute the Export.Sql script.
If you have a valid SQL file, you simply need to execute the script. Open the file (File | Open and navigate to export.sql), hit the Run Script button (F5 on Windows), and choose the connection you want to use. The Data Import Wizard supports a number of different file formats (Excel, CSV, etc.). It doesn't support SQL files. If you want to ask the developers why they don't support SQL (or why they use the general file navigation dialog rather than using different dialogs for different sorts of files) you can ask them over in the SQL Developer forum on OTN. I assume the problem is that most SQL scripts contain much more than simple INSERT statements and it would be challenging to figure out whether any particular script was actually just a bunch of INSERT statements that could be used to import data.
Yes, SQL Developer is written in Java so you need to have an appropriate version of the JVM installed. Different SQL Developer download options include a bundled JVM or you can download a smaller file and use an already installed JVM.
One of oracle client tools to make session to database is sqlDeveloper and its graphical interface tool Programmed with Java Lang and its installed independently from oracle_home its a stand alone product and Of Course it needs SDK Or JDK to work
make sure to set the path and check it
read this link http://www.ehow.com/how_5127784_set-java-path.html
all of this if sql developer didn't run and other similar problem
this to answer
Is JDK is needed or what ? Yes
use sql Developer higher version
i am upgraded to Version 20.2.0.175
issue resolved
I have an application that I can't get connected to my Oracle Database 11g Express Edition. I created a test database in this edition, and I can connect to the database fine using Oracle SQL Developer, create tables, views etc. However, I'm having a hard time getting connected via my application. Where is the connection information? In what file? I wanted to compare my connection info with what is set up in the SQL Explorer's file. I found all the *.ora files and renamed them to see if I could find what file (through the process of elimination) the connections were stored in, but I wasn't successful. Any help would be appreciated.
It was in a slightly different location for me than those listed above
\Users\[user]\AppData\Roaming\SQL Developer\system3.2.20.09.87\o.jdeveloper.db.connection.11.1.1.4.37.59.48\connections.xml
Assuming you have lost these while upgrading versions like I did, follow these steps to restore:
Open SQL Developer
Right click on Connections
Chose Import Connections...
Click Browse (should open to your SQL Developer directory)
Drill down to "systemx.x.xx.xx" (replace x's with your previous version of SQL Developer)
Find and drill into a folder that has ".db.connection." in it (for me, it was in o.jdeveloper.db.connection.11.1.1.4.37.59.48)
select connections.xml and click open
You should then see the list of connections that will be imported
If you don't find the connections.xml then right-click on Connections in the Connections view of SQLDeveloper, and choose Export connections.
It is stored in a file called connections.xml under
\Users\[User]\AppData\Roaming\SQL Developer\System\
When I renamed the file, all my connection info went away. I renamed it back, and it all came back. When I viewed the XML file, I found both test connection aliases, ports, usernames, roles, authentication types, etc.
In some versions, it stores it under
<installed path>\system\oracle.jdeveloper.db.connection.11.1.1.0.11.42.44
\IDEConnections.xml
For OS X my connection.xml files are in
/Users/<username>/.sqldeveloper/system<sqldeveloper_version>/o.jdeveloper.db.connection.<oracle_version?>/
With SQLDeveloper v19.1.0 on Windows, I found this as a JSON file in
C:\Users\<username>\AppData\Roaming\SQL Developer\system<versionNumber>\o.jdeveloper.db.connection
The file name is connections.json
SqlDeveloper stores all the connections in a file named
connections.xml
In windows XP you can find the file in location
C:\Documents and Settings\<username>\Application Data\SQL Developer\systemX.X.X.X.X\o.jdeveloper.db.connection.X.X.X.X.X.X.X\connections.xml
In Windows 7 you will find it in location
C:\Users\<username>\AppData\Roaming\SQL Developer\systemX.X.X.X.X\o.jdeveloper.db.connection.X.X.X.X.X.X.X\connections.xml
I found mine in
C:\Users\<user>\AppData\Roaming\SQL Developer\system2.1.1.64.45\o.jdeveloper.db.connection.11.1.1.2.36.55.30\connections.xml
If you have previously installed SQL Developer then it will store the connection details in the 'connection.xml' which will be located in below mentioned path.
C:\Users\Username\AppData\Roaming\SQL Developer\system3.1.07.42\o.jdeveloper.db.connection.11.1.1.4.37.59.48
Once you get that 'connection.xml'
try to import it into SQLDeveloper by right clicking to CONNECTIONS.
for macOS
/Users/joseluisbz/.sqldeveloper/system18.1.0.095.1630/o.jdeveloper.db.connection/connections.xml
In a simpler way open search window and search for connection.xml gives a right click on that file and select open file/folder location.
Once you get that connection.xml try to import it into SQLDeveloper by right clicking to CONNECTIONS.
To recover your password, locate the product_preferences.xml file in the following location:
C:\Users[username]\AppData\Roaming\SQL Developer\system*\o.sqldeveloper\product-preferences.xml
Then, search for the string db.system.id and copy the value of the v attribute. That is your decryption key to use when you are prompted to enter your decryption key on the Password Handling panel during the import processing on SQL Developer.
On linux systems:
~/.sqldeveloper/system<sqldeveloper_version>/o.jdeveloper.db.connection/connections.xml