DataStax DevCenter stuck on Startup - datastax

I just installed DataStax DevCenter. However when loading up, the Automatic Update & Usage page pops up. However the "Ok" button is disabled and unclickable. So I can't get pass the startup loading of the application. How can I bypass this?
Click here for screenshot

This sounds very much like a known issue with DevCenter and Java versions 1.8.0_152 or Java 9.
Are you using either of those? Use java -version on the command line to quickly check which version is being used.
The only workaround at this time is to use a different version of Java - version 1.8.0_151 or earlier should be fine.

You can have multiple JDKs and configure DevCenter to use earlier one.
Right-click on DevCenter.app in your properties directory
Click “Show package contents”
Open Contents/info.plist in an editor of your choice
Then, at the bottom you will find configuration that looks like the following:
<dict>
<!-- a lot of stuff above -->
<key>Eclipse</key>
<array>
<!-- comments on how to change the Java version -->
<string>-keyring</string><string>~/.eclipse_keyring</string>
<string>-showlocation</string>
<!-- some more comments -->
</array>
</dict>
Into the array element, insert the following children and make sure to adapt the old Java version you want DevCenter to use and your users name.
<string>-vm</string>/Library/Java/JavaVirtualMachines/1.8.141.jdk/Contents/Home/bin/java</string>

For me just changing the JAVA_HOME point to 1.8.0_151 did not work. Only after completely removing all other Java versions from machine, fixed the issue for me. Hope it helps

Changing to Java version _131 worked for me.

Related

Theme glitching with newest Version of IntelliJ IDEA

I am using the newest (updated) version of IntelliJ IDEA. I am coding in Javascript (React) and i've been using the One Dark theme for ages now.
But since the last update, everything is glitched.
So first problem:
The IDE is now allways starting in the white theme (which is related to the windows theme)
When i try to change the Theme, either nothing happens, or it just doesnt show any Themes, even tho i installed more than 14 (they are disabled tho).
Second problem:
I can not code in Javascript anymore. There is just no collor at all. No marking for functiond etc.
Third problem:
My IDE is crashing almost everytime, I try to open a new, or existing project.
Why is that, has someone simular issues, and what can i do, to prevent having to reinstall my IDE, as i do not want to set my IDE up again.
Thank you in regards
You will have to reinstall. But you can save the Config file.
So you can keep all your settings.
Here are the Paths for windows
Windows:
Configuration: %APPDATA%\JetBrains\IntelliJIdea2020.3
Plugins: %APPDATA%\JetBrains\IntelliJIdea2020.3\plugins
System: %LOCALAPPDATA%\JetBrains\IntelliJIdea2020.3
Logs: %LOCALAPPDATA%\JetBrains\IntelliJIdea2020.3\log
Hope this helped.

add chromium in Lazarus

want to add chromium web browser in Lazarus, I was doing the following steps, but couldn't run it in Lazarus. it is saying CEF version is not supported. Can you please kindly advise?
I am using Lazarus 1.6 in Win7 64bit
I just downloaded chromium framework from here: https://github.com/dliw/fpCEF3 . As I can see in comments, it is based on CEF 3.2743
Installed cef3.lpk into Lazarus successfully and Chromium tab added
downloaded cef_binary_3.2743.1449.g90ba67d_windows64_minimal.tar.bz2 from http://opensource.spotify.com/cefbuilds/index.html and copied the files from Release folder inside my Lazarus executable file and also copied the Resource folder there.
Also, I tried the last step with cef_binary_3.2743.1449.g90ba67d_windows32_client.tar.bz2 file without any success.
Any help would be appreciated.
Nowadays, GitHub/fpCEF3 says:
update to CEF 3.3029
Keep in mind that this number may change in the future (hopely). And lower it says:
Make sure to use the correct CEF3 version (see the changelog / release tag); other versions (older or newer) may work, but are not recommended
However you are trying version 3.2743, instead of 3.3029 (or whatever it is at the time you are reading this).
Try downloading another version similar to that in GitHub.

Overriding Dojo version for a particular Xpages database

Apple's iOS 8 breaks certain tap functionality in versions of dojo prior to 1.9.4 (see Xpages mobile controls not working in iOS8
The current version of Dojo in Domino 9.0.1 FP2 is 1.9.2 but that does not fix the issue. You have to use at least 1.9.4.
I have downloaded 1.9.4 and placed it in the correct folder on our test server. But I cannot get things to work. I changed the folder name of dojo 1.9.4 to 1.4.0 as I only want to use this version for 2 dbs that are having the problem.
Question 1:
What line do I put in the xsp.properties file:
xsp.client.script.dojo.version = 1.4.0
xsp.client.script.dojo.path = / domjs / dojo-1.4.0
Question 2:
There are so many things to download when I go to the dojo download page. I downloaded the zip file and used that.
When I run code to test what version of dojo I have I get 1.9.4. But when I try to load my page, I get an error.
dojo._loaders: TypeError: dojo._loaders is undefined
Any help would be GREATLY appreciated.
You probably have the right dojo zip, this one: http://download.dojotoolkit.org/release-1.9.4/dojo-release-1.9.4.zip. As you say, unzip that to the dojo-1.9.4 folder in <server-install>\data\domino\js\, or name the folder 1.4.0 if you want to specify it for only a few apps.
You will indeed need to copy the IBM folder from the <server-install>\osgi\shared\eclipse\plugins\com.ibm.xsp.dojo_9.0.1.<date-stamp>\xsp.dojo.jar into your new 1.9.4 (or 1.4.0) dojo folder. Little chance of anything working without it. Copying the ibm folder from the 1.5.2 folder is a bad idea as that is old code, and you'd certainly have issues with it working with dojo 1.9.4. In Fix Pack 2, the ibm folder from the plugin was tested/designed to work with dojo 1.9.2 (the version in that jar), so it should play fairly nice with 1.9.4.
In your XPages app, in the xsp.properties, you should only need the line:
xsp.client.script.dojo.version = 1.9.4
Rebuild your app, restart the server etc, and you should be good to go.
DISCLAIMER: This is a work-around, not a supported solution by IBM. There may be unexpected issues using this approach. It's used at your own risk.
You commented already on that topic here so I think you tried this one? http://hasselba.ch/blog/?p=323
This is the SO thread: XPages mobile controls not working with iOS 8

Unable to debug ArcGIS 10.2 add-in on ArcMap with “No GUI components found in this Add-In”

I am working on an ArcGIS add-in (a very simple toolbar with a few buttons) with VB.Net and ArcObjects SDK in Visual Studio 2010. The solution was built successfully and the debug settings were configured.
When I hit Debug, ArcMap application was opened. I couldn't find the toolbar docked anywhere on the ArcMap toolbar. I went to "Customize" -> "Add-in Manager" and the add-in being debugged was not there. Then I tried "Add From File...", located the "esriaddin" file and clicked "Install Add-in". It populated a message box saying "No GUI components found in this Add-In."
I made some Google searches but haven't got any luck to reach a solution yet.
What was I missing? Has anyone come across the same issue and any direction?
Thanks in advance!
Try clicking build first, then open the arcmap separately and check the add-in manager inside of arcmap to see if it got added to the application. If so, you should be able to find it and turn the toolbar on.
I'm not sure about .Net, but I debugged this issue for the Java SDK. You have to make sure you are using the correct versions for compiling. In java, it was an old archive version of jdk1.6 32 bit.
Then I was referencing something wrong inside the xml document. I had changed the name of my JAR file (taken from project name by the ArcObjects SDK). In the xml document it was still pointing towards the old name.
This may not help you, but if anyone else searches this error and is using tje Java SDK, hopefully it will help.
I struggled with this same issue with a 10.0 add in. We had a 10.1 update that worked with 10.1 but trying to install it to 10.2.2 gave me that exact error. So much for upward compatible! I then tried to build 10.2.2 code and kept having this error. Others mentioned needing to build to x86 so I did that although the 10.1 was on Win7-64 and ran with AnyCPU....
I believe the final key for me was in the config file. I had set version to 10.2.2 As soon as I changed that to 10.2, the darn add-in installed just fine. Nice waste of a day for an extra '.2'

How to take screen shot using Sikuli?

I need to use Sikuli for automation but I am unable to take screenshots. The problem is that when I click on "Take Screenshot" or "Create Region" the IDE gets hidden but selecting area option does not appear....
Make sure you are using Java 6 not 7. If you try to run both on the same computer, make sure to take a look in the system32 folder. Because Java 7 copies java.exe and javaw.exe there. You have to delete/rename them.
Better Solution: Uninstall Java 7 and install Java 6. ;)
Uninstall JDK, which ever version you have, I too faced the same problem, but after uninstalling JDK, it was working well