SQL Developer 4.2.0 does not load - oracle-sqldeveloper

Jeez, how hard is it to get SQL Developer to work.
Last month I downloaded the latest version and kept getting the cannot find ‘msvcr100.dll’ file error.
So I reverted back to an old version I had installed.
Now I have downloaded the latest version 4.2.0.
1 The first time I tried to launch it I was asked to set the JDK path. So I set it to ‘C:\Program Files\Java\jdk1.8.0_121’. Is this correct??
2 When I launch SQL Developer I get the initial splash screen, the progress bar does not get half way, and then it vanishes.
3 I went into the folder sqldeveloper\sqldeveloper\bin and amended the file ‘sqldeveloper.conf’ i.e. SetJavaHome C:/Program Files/Java/jdk1.8.0_121
I still get the splash screen and then it vanishes.
Anyone with any ideas.
Cheers

I experienced the same problem with the version with the built-in JDK and finally got it to work by:
1) Removing all other versions of Java from the system
2) Commenting the line under the #Set our usage tracking URI line in the sqldeveloper.conf file (sqldeveloper/sqldeveloper/bin)
Not sure which one did the trick but hoping this helps someone else.

Related

Bad screen redrawing in Oracle SQL Developer after statment with error [duplicate]

I have a problem with Oracle SQL Developer. When I use it on a Windows Server 2003 machine, it works fine. When I use it on my Windows 7 desktop, I get a lot of redraw problems in the query results grid when I scroll either horizontally or vertically, like so:
Edit: ImageShack was the original image host for my screenshot, and it's no longer a valid url. Since my problem is fixed now, I can't repro this. The gist is that the client area of the result grids was repainted as gibberish during scrolling.
This makes it tricky to assess the results of your queries. Clicking on the header and on individual cells causes it to then redraw properly, but it's goofy to not be able to just scroll normally. Is there any way to fix this? I am using the current version of SQL Developer 1.5.5 with the included JVM.
I couldn't even see the dropdown list when I clicked Tools. Here's what I did.
Click Tools
Try to locate Preferences by moving your mouse downwards starting from the Tools button.
When in Preferences, do the same in step 2 for the left side of the panel and try to locate Environment.
When in 'Environment', try to locate 'Look and Feel'. You won't be able to see the caption but it has these values: Windows | Oracle. You'll know you found it when you see a dropdown with an actual value of Oracle.
Change it to Windows.
That solved my problem.
To hell with these kinds of stupid problems.
You need to turn off DirectDraw -- see http://tiredblogger.wordpress.com/2009/05/29/configuring-oracle-sql-developer-for-windows-7/, specifically the bit where they add the following to sqldeveloper.conf:
AddVMOption -Dsun.java2d.noddraw=true
I finally solved the problem:
Go to \sqldeveloper\bin\sqldeveloper.conf and add this line:
AddVMOption -Duser.language=en
The problem was de user language (in spanish do not works)
I finally solved the problem after many tries in windows 10. Oracle should fix this without tricks...
What I did:
Download lastest sqldeveloper 4.1.5 with JDK bundled.
Run sqldeveloper and import settings from previous install.
Close sqldeveloper, and go to USER\AppData\Roaming\sqldeveloper erasing config folders of older versions.
Modify file \sqldeveloper\sqldeveloper\bin
Change this option value to true
AddVMOption -Dsun.java2d.ddoffscreen=true
Comment line:
#AddVMOption -Dsun.locale.formatasdefault=true
Add this options before IncludeConfFile sentence at then end:
AddVMOption -Dsun.awt.keepWorkingSetOnMinimize=true
AddVMOption -Dsun.java2d.noddraw=true
And finally always start sqldeveloper with sqldeveloper\sqldeveloper\binsqldeveloper64W.exe
And change sqldeveloper theme to "windows style".
This problem still reproduces in 2015, I'm using W7, jdk version 1.8.0_40-b25 and sqldeveloper version Version 4.1.0.18.
I had the same problem and nothing seems to help, not even William Rose's answer, until, in my desperation, I put the AddVMOption from his answer in the last line of my sqldeveloper.conf file and Voila! It worked. It seems that somehow the option is shadowed if you put it at the begging.
Just wanting to add this bit of information, but I can't comment yet due to lack of reputation.
i had the same problem with vista and win 7.
just downloaded the latest sql developer 1.5.5 version WITHOUT jdk included
exported my connections from the previously installed sql developer and
deleted my installed version!
then downloaded the JDK 1.6 update 16 from sun and installed it: http://java.sun.com/javase/downloads/index.jsp (32bit version! even if you have win x64. sql developer doesn't accept JDK x64!)
then i unzipped the sql developer 1.5.5 i downloaded (without the jdk)
on first start sql developer asks you for the path to java jdk: given it the path that i installed the jdk 32bit from above and it now runs fine!
even without switching from aero to basic windows design and without redrawing-problems.
hope this helps you too...
Just install old version Oracle SQL Developer 3.2.2 (3.2.20.09.87) and jdk-6u35-windows-x64.
That's how I solved the problem.
I made this step after solved
Add or replace the attribute of the following config file.
..\sqldeveloper\bin\sqldeveloper.conf
AddVMOption -Dsun.java2d.noddraw=true
Turkish developer can see this site
Remove or comment out the line below in sqldeveloper.conf:
# AddVMOption -Dsun.locale.formatasdefault=true

Getting "Error: Failed to connect to OmniSharp"

I'm trying to get VSCode working with my Unity projects, and every time I select the Project icon (the little fire at the bottom) I get the following error:
Error: Failed to connect to OmniSharp
Is anyone else getting this?
You need to download the most recent version of "mono". Open up terminal and pass in brew install mono. Then "Pick a project" and select the ..-csharp.sln file and you should be up and running.
Ok, made some progress and gotten a few Unity projects working. It seems that you need some prerequisites installed, a clean up of your Unity project folder, and possibly some hand editing of your .sln and .csproj files.
I posted a (possibly) better answer over on Reddit. Hope that's not breaking stack etiquitte.
http://www.reddit.com/r/Unity3D/comments/34d6gc/visual_studio_for_mac_help_us_vote_for_unity/
i get this on windows when my project directory has a space in it
i removed the space and removed the error
i expect it will be fixed soom
I have a completely different answer: it's the runtime that VSCode is using. It doesn't match up with what it thinks it needs. I have to remember that we're still in beta and that things are changing rapidly. I had my dnvm running beta 7, but VSCode (and OmniSharp, by extension) is looking for beta 6, so it was failing. I updated my runtime using this this post as a clue. Now I have VSCode 0.7.0 using the beta 6 runtime. I have no idea how to tell what it's looking for...I just guessed based on when they were both released. HTH

sql developer hangs on startup - what can I do?

At present I cannot run it (SQL Developer 4.1) because it hangs on "Restoring Editors" while starting. I suppose I've done it by exiting it before by killing sql developer process because it was hanged on fetching objects to Schema Browser so long...
Maybe I would clean some temporary files but can't find any.
Any ideas?
Deleting files from c:\Users\MY_USER\AppData\Roaming\SQL Developer\SQL History
and c:\Users\MY_USER\AppData\Roaming\SQL Developer\System...
Really helped me to resolve the connection issues
Basing on this thread https://community.oracle.com/thread/2564842 I've created own solution.
Extract installation of current version SQL Developer (4.1.0.17.29)
At "c:\Users\MY_USER\AppData\Roaming\SQL Developer\"
I've changed directory name system4.1.0.17.29 to system4.1.0.17.28.
After running newly extracted SQL Developer (4.1.0.17.29) I was prompted to let copy configuration from version 4.1.0.17.28 to 4.1.0.17.29 ;)
Everything works great now. I suppose that running the same (broken) installation after decreasing version could also help.
Remove folders c:\Users\USERNAME\AppData\Roaming\SQL Developer\system4.1.3.20.78\system_cache*. SQLDeveloper will recreate it after launching.
Just execute sqldeveloper as administrator. It works fine!
In my case the problem was because of windows compatibility issue. So I've selected my windows version and it's stop from randomly crash after startup
Our setup:
Windows 10
Sqldeveloper Versions <= 20.4.0
We observed this problem as well. Even worse while working over a VPN connection. I followed a couple of hints with more or less no effect.
To move
C:\Users\<USER>\AppData\Roaming\SQL Developer
to a local directory by adding this line
AddVMOption -Dide.user.dir=c:\temp\sqldev-conf
in the \sqldeveloper\bin\sqldeveloper.conf file gave us some improvement, but the “IndexPreferencesTask” still got stuck several times on startup.
After some more hours on unsuccessful research, we moved back from JDK 11 to JDK 8.
This solved 99% of the problem. The “IndexPreferencesTask” still hangs on startup but for less than a second.
Sounds to me like a problem with JDK 11.
In my case when i changed Tools --> Preferences --> Environment -> Look and Feel to Windows it is solved.
Delete the History files from C:\Users\User\AppData\Roaming\sqldeveloper
Restart the PC
In my case, the solution was kind of weird. After battling to resolve this for 2 days, no luck. Suddenly, on my mac, I searched for sql developer, not sqldeveloper. It popped up a sqldeveloper application (not sure how that is different from what I have been trying to open ), clicked it and boom, it opened. My guess is that there is a copy of that app on my system that I should have been opening rather than trying to open the reinstalled app. Note: I reinstalled the app after it started misbehaving though.
Operating System: Windows 10
Oracle Sqldeveloper Ver: 17.4.0
The problem has been noticed sometime when any network security
patch was installed on your machine. Looks like the patch impacts
your cached data under your user profile folder.
As above Lakh, rtbf and others answered. Removing below folders
will resolve the issue.
C:\Users\<userId>\AppData\Roaming\SQL Developer\SqlHistory
C:\Users\<userId>\AppData\Roaming\SQL Developer\system17.4.0.355.2349
If any one find more approriate reason please feel free to
disagree with my answer.

Xcode upgrade: PBXContainerItemProxy missing containerPortal key

I just upgraded my Xcode, now when I try to open my project, I get this error:
Project /Users/xxx/xxxx/xxxxx/xxxxxx/xxxxxxxx.xcodeproj cannot be opened: PBXContainerItemProxy (xxxxxxxxxxxxxxxxx) is missing a containerPortal key
I have searched the web and stackoverflow, but cannot get anything relevent to come up at all regarding this.
I do have Three20 as part of my project, I don't know if that matters. I just upgraded to xcode 4.4.1
Thanks for any insight.
-D
the project icon which we see i.e projectname.xcodeproj, is actually a directory, you do this
1. in terminal do cd yourproject.xcodeproj
2.ls
3.vi project.pbxproj
4. scroll down till /* Begin PBXContainerItemProxy section */
5.there you will see all sections check for the section which is missing a portal key edit it and save it :wq it will work
in image if you see the first section is missing container portal key.just pic it from other section and replace it..
it will work :D see this link
Now I should start with that I do not know the actual error, never seen it before, but I did find a reference to a "PBXContainerProxy"-error in this post (As soon as I add a project to XCode 4.0.2 it crashes) and thought you might try the solutions from there?
"Apparently this is due to the new version of XCodeProjects. I found a
work around by pre-compiling the library that was causing the issue
and then using the linker to link to the .a file. I also had to copy
the .a library into the DerivedData path.
The real solution was to remove the project and replace it with an
updated project for the new version of XCode."
Hope that helps somewhat :)
Never saw that error either, but if you're upgrading directly from XCode 3.X I'd suggest you to go to https://developer.apple.com/downloads/index.action?name=Xcode
and download/install a previous version of Xcode somewhere else. (You can have several different copies installed on your machine, just google it if you don't know how but just remember to use xcode-select to pick the one you want to use). Repeat with all the versions back to 4.0.1 until (hopefully) it works. I know it's tedious but it might help.
If it does, validate the project settings and try to open it with 4.4.1. That should work.
Good luck

Bad screen redrawing in Oracle SQL Developer

I have a problem with Oracle SQL Developer. When I use it on a Windows Server 2003 machine, it works fine. When I use it on my Windows 7 desktop, I get a lot of redraw problems in the query results grid when I scroll either horizontally or vertically, like so:
Edit: ImageShack was the original image host for my screenshot, and it's no longer a valid url. Since my problem is fixed now, I can't repro this. The gist is that the client area of the result grids was repainted as gibberish during scrolling.
This makes it tricky to assess the results of your queries. Clicking on the header and on individual cells causes it to then redraw properly, but it's goofy to not be able to just scroll normally. Is there any way to fix this? I am using the current version of SQL Developer 1.5.5 with the included JVM.
I couldn't even see the dropdown list when I clicked Tools. Here's what I did.
Click Tools
Try to locate Preferences by moving your mouse downwards starting from the Tools button.
When in Preferences, do the same in step 2 for the left side of the panel and try to locate Environment.
When in 'Environment', try to locate 'Look and Feel'. You won't be able to see the caption but it has these values: Windows | Oracle. You'll know you found it when you see a dropdown with an actual value of Oracle.
Change it to Windows.
That solved my problem.
To hell with these kinds of stupid problems.
You need to turn off DirectDraw -- see http://tiredblogger.wordpress.com/2009/05/29/configuring-oracle-sql-developer-for-windows-7/, specifically the bit where they add the following to sqldeveloper.conf:
AddVMOption -Dsun.java2d.noddraw=true
I finally solved the problem:
Go to \sqldeveloper\bin\sqldeveloper.conf and add this line:
AddVMOption -Duser.language=en
The problem was de user language (in spanish do not works)
I finally solved the problem after many tries in windows 10. Oracle should fix this without tricks...
What I did:
Download lastest sqldeveloper 4.1.5 with JDK bundled.
Run sqldeveloper and import settings from previous install.
Close sqldeveloper, and go to USER\AppData\Roaming\sqldeveloper erasing config folders of older versions.
Modify file \sqldeveloper\sqldeveloper\bin
Change this option value to true
AddVMOption -Dsun.java2d.ddoffscreen=true
Comment line:
#AddVMOption -Dsun.locale.formatasdefault=true
Add this options before IncludeConfFile sentence at then end:
AddVMOption -Dsun.awt.keepWorkingSetOnMinimize=true
AddVMOption -Dsun.java2d.noddraw=true
And finally always start sqldeveloper with sqldeveloper\sqldeveloper\binsqldeveloper64W.exe
And change sqldeveloper theme to "windows style".
This problem still reproduces in 2015, I'm using W7, jdk version 1.8.0_40-b25 and sqldeveloper version Version 4.1.0.18.
I had the same problem and nothing seems to help, not even William Rose's answer, until, in my desperation, I put the AddVMOption from his answer in the last line of my sqldeveloper.conf file and Voila! It worked. It seems that somehow the option is shadowed if you put it at the begging.
Just wanting to add this bit of information, but I can't comment yet due to lack of reputation.
i had the same problem with vista and win 7.
just downloaded the latest sql developer 1.5.5 version WITHOUT jdk included
exported my connections from the previously installed sql developer and
deleted my installed version!
then downloaded the JDK 1.6 update 16 from sun and installed it: http://java.sun.com/javase/downloads/index.jsp (32bit version! even if you have win x64. sql developer doesn't accept JDK x64!)
then i unzipped the sql developer 1.5.5 i downloaded (without the jdk)
on first start sql developer asks you for the path to java jdk: given it the path that i installed the jdk 32bit from above and it now runs fine!
even without switching from aero to basic windows design and without redrawing-problems.
hope this helps you too...
Just install old version Oracle SQL Developer 3.2.2 (3.2.20.09.87) and jdk-6u35-windows-x64.
That's how I solved the problem.
I made this step after solved
Add or replace the attribute of the following config file.
..\sqldeveloper\bin\sqldeveloper.conf
AddVMOption -Dsun.java2d.noddraw=true
Turkish developer can see this site
Remove or comment out the line below in sqldeveloper.conf:
# AddVMOption -Dsun.locale.formatasdefault=true