IntelliJ stucks at loading page - intellij-idea

IntelliJ stuck at loading page. It cannot open. What should I do?
My default java version is JDK 10. I downloaded JDK 9 and changed to jdk9. Then when i open Intellij, it stuck at loading page. I am using MAC Pro. I have reinstalled the app but it still does not work. help

you should check the log file. It's located in:
~/Library/Logs/IdeaIC<VERSION>
note: you must replace <VERSION> with your version number.

Related

SceneBuilder not loading in Intellij

Scene Builder does not open in my Intellij. I've tried different JDK versions, but I just cant get it to load up in my IDE. It was working before I had to reinstall my OS. I don't get an error or anything, the Scene Builder window is just blank. It works if I run it standalone though.
I'm on Ubuntu 20.04.1. Using JDK 11 and Scene Builder for JDK 11. I tried with JDK 14 and I still get the same issue. I attached an image of the screen I get.
Any help? Intellij asked me to download the Scene Builder kit, then it asked me to download JavaFX. I did. Then I ended up here. JavaFX was included as a global library though so I didn't quite understand that.
What should I do?
You should go to setting-plugins- search for javaFX and install JAvaFX Runtime for Plugins.
Restart again and the problem will be solved.
The solution for me was 'Settings> Plugins> search JavaFX' to enable and disable this plugin, then restart intellij idea
You can run the SceneBuilder from outside Intellij and simply select your FXML, which works better in some cases, because there are some problems with the BuildIn Version (at least on Windows)
You can download it from Gluon.
2023 Answer
I am currently using IntelliJ Ultimate.
Build #: 223.8617.56
Runtime version: 17.0.5+1-b653.25 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
To fix the missing SceneBuilder issue, I completely disabled the JavaFX Runtime for Plugins plugin and restarted IntelliJ.
When I did that, I received 2 banners to install JavaFX and the proper JDK.

What is the reason for intellij IDEA for not launching (Failed to load JVM DLL)?

On my computer (64 bit operating system, x64 based processor) I installed Amazon Correto JDK 11 (for 64 bit) and IntelliJ IDEA. it was working till today without any issues. But now I can not open my Intellij IDEA. In fact it is not even launching.
I checked the environment variables and path reference of Java. It is all set. But when I double click on Intellij IDEA it is showing loading sign for a moment but it is not launching. I tried to run the same by going to it's directory and by using cmd. But still it is not launching. When I try to open the 32-bit version I get an error, but I know it is obvious, because I am using a JDK version for 64 bit. I want to know why my Intellij IDEA is not launching. Even after downloading the appropriate Java version and setting up the path correctly. There were no issues till today. I tried reinstalling my Java and Intellij. Still the issue is there. If anyone can help, please let me know the reason.
You are trying to run 32-bit idea.exe while your default JDK points to 64-bit JDK, hence the problem. Please use idea64.exe instead that will run on the bundled JetBrains Runtime.
In case idea64.exe also fails, please run using idea.bat inside cmd.exe to see if there any errors logged in the console.
Perform the steps from this document if the issue is caused by some plug-in or corrupted options.

Datastax DevCenter freezes on startup

Just installed (copied over the app from the downloaded dmg) DevCenter 1.6 on my mac, running macOs Sierra 10.12.6 with jdk 8u152 installed. The application loads a UI (splash screen then a couple of checkboxes in a window for getting started) but the UI is frozen (with the splash screen still there). No response to mouse clicks or keyboard. Also can't click on the app name in the menu bar. The app however is not labeled "Not responding" by activity monitor.
So far I've tried -
Looking at the logs both in the app folder and in ~/.devcenter. Nothing fishy there
Running the app from a different user account - same issue there
Deleting all datastax and devcenter related files (searched by name) on my machine and fresh start - still the same issue
any ideas what I could do here?
I was running DevCenter on a previous mac with the same config / os version but a slightly older JDK, never had issues then.
On OSX, you can specify which version of Java DevCenter uses so that you do not need to downgrade your global Java version.
Right-click on Devcenter.app
Click "show package contents"
Open Contents/info.plist
At the bottom of the file, there's an Eclipse key with lines commented out explaining how to specify the version of Java. Uncomment the line and specify the version of Java that you want DevCenter to use.
Save & Re-launch DevCenter
The updated info.plist file should look something like this:
<key>Eclipse</key>
<array>
<string>-vm</string><string>/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java</string>
</array>
I reached out to someone at Datastax and learnt that complaints have surfaced about this behavior when using DevCenter with jdk 8u152.
For now, I've downgraded to jdk 8u151 and that fixes the issue.
Without downgrade the Java version
Scenario
I couldn't create any connection and press buttons and everything was frozen; Changing the swt plugin in the DevCenter plugin folder worked. This was my configuration:
DevCenter version DevCenter-1.6.0-macosx-x86_64
Mac OSX version 10.14.6
JDK Version jdk1.8.0_231.jdk
Steps to fix it
From here download the version 3.108.0. (This version works for me)
Rename the file downloaded as swt.jar (short name)
[Optionally] create a backup of the current swt plugin jar of the DevCenter
cp DevCenter/DevCenter.app/plugins/org.eclipse.swt.cocoa.macosx.x86_64_3.103.2.v20150203-1351.jar ~/Desktop
Replace the plugin with the swt.jar downloaded
mv swt.jar DevCenter/DevCenter.app/plugins/org.eclipse.swt.cocoa.macosx.x86_64_3.103.2.v20150203-1351.jar
Startup DevCenter
Finally it worked

Netbeans not opening New Project Dialog

After installation, Netbeans open fine, Open Exiting Project, Or Existing File works. However Netbeans doesn't show New Project or New File Dialog, whether selecting it from menu or from the toolbar. Netbeans version is 8.2, Ubuntu version is 16.04. It is a fresh install, and Oracle jdk-9 installed.
update-alternatives point to oracle-java.
Uninstalled and Reinstalled Netbeans, without any success.
Any suggestions.
Had the same problem with JDK 9, switched back to JDK 8
Change netbeans.conf file and adjust JDK.
Netbeans 8.2 seems to have some problem with JDK11 as well. Do not know whether it has been fixed, since even after dowloading JDK11 the problem persists.
Without deleting the newer ones you can set the path to the previous versions i.e. JDK8 and it works.
Open the following file
/Applications/NetBeans/NetBeans 8.2.app/Contents/Resources/NetBeans/etc/netbeans.conf
Look for #netbeans_jdkhome=
set the path to the older version of java:
netbeans_jdkhome="/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home"
and restart the netbeans.
Funny thing but i changed the jvm in update-alternative to open-jdk jvm and it starts working.
I closed netbeans 8.2, commented out the reference to the JDK home in the netbeans.conf file, in the root of the netbeans 8.2 folder
# netbeans_jdkhome="C:\Program Files\Java\jdk-9.0.4"
When I restarted the navigation pane that were previously missing appeared as they should.
What worked for me was:
In Program Files, go to Java
For me, my computer has already downloaded the latest JDK. Check to see if there are JDKs in your folder
Delete the duplicate/latest JDK's
For me, this problem started after a Mac OS upgrade to 10.15.4.
None of the solutions worked.
I uninstalled NetBeans and reinstalled it, and it worked.

OneUI app layout, error with pulldown menus

I am using the applayout and OneUI 3.0.2 theme. I have pulldown menus in the banner (application and utility links) but the menu won't show up. Instead I get this JS error:
Uncaught lang.hitch: scope["_onKeyPress"] is null (scope="[Widget extlib.dijit.OneUIv302Menu, extlib_dijit_OneUIv302Menu_2]")
I have a Windows 9.0.1FP1 where these do work. On a 9.0.1FP1 Linux / 9.0.1FP2 Windows it doesn't work. The Linux machine had FP2 installed before I just downgraded it to FP1 (it was a test to see if this is the cause). But I noticed before that even after downgrading some files are still available - so a next test should be installing the machine completely from the scratch.
Double checked it this morning: another 9.0.1FP1 Win machine - everything working fine.
I also checked out that this only a OneUIv3.0.2 problem.
Do you know this issue?
A fix for this issue has been included in the latest XPages Extension Library (901v00_10.20141105-0922) on OpenNTF.
However, another issue was found in the dropdown mneu once it does appear successfully. Unfortunately a fix was not found for this secondary issue in time for the above ExtLib release. It has been logged as SPR# BGLN9PXG53.