简体   繁体   中英

DataStax DevCenter stuck on Startup

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.

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

更改为Java版本_131对我有用。

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>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM