How to open the IntelliJ IDEA in Windows? - intellij-idea

I installed IntelliJ IDEA for my windows 10 successfully. But when I click to open the IntelliJ IDEA it doesn't open and not show any single error message pop up.
Can I get an answer why is that, please?
And How to open it in Windows?

Open Windows command prompt and start IDE from command line using idea.bat script, located in IDE_HOME/bin directory and examine the output to see the error message it reports if it does not start.

Related

configuration is still incorrect in intellij

When I just want to run my simple beginner java program, the IntelliJ tell me that "configuration is still incorrect, Do you want to edit it again". I've read the official web of IntelliJ about set up configuration, but I don't think it give me helps. My computer is macOS with version 10.14.6; the IntelliJ version is 2021.2.3 community edition. I'll post my configuration setting, can anyone tell me where I set my configuration wrong?
My second question is that: When I want to run a specific file by right click my current java file and choose run xxx, IntelliJ will run all the fills under my current directory. How can I only run a single fill that I want to run?

Why does intellij open two terminals when I right click a folder in project explorer and choose "Open in Terminal"?

If I close all my current terminal windows then right click a folder in my project and choose "Open in Terminal" I see this:
It drops me into "Local(2)" but also opens "Local". Why does it do this? Can I have intellij just open one terminal when I do this?
It's a cosmetic issue. Opening Terminal tool window automatically starts the terminal in the current project root.
When you invoke the Open in Terminal for a folder, the following happens:
Terminal tool window opens automatically starting the shell in the project root
An action to open a terminal in the selected folder is called which leads to the second tab open
Bug report is welcome.

Starting a file from within the IDE

I want to start a powershell script within intellij, I have tried the powershell plugin but it doesn't allow me to open the script in a separate window. The script stops intellij and then asks me to start it again, but since intellij is closed and the script gets disconnected from it, I don't have the console window anymore and it keeps running in the background waiting for confirmation.
So my question is. How would I run a file from within intellij like when its ran it from file explorer, so it opens the file in its own window instead of the intellij console? I want it to be available in Run Configurations but I can't do it with the powershell plugin since all that the plugin does is open the script in the intellij terminal. I want to open this script in its own terminal, that is cmd.exe or powershell.exe instead of using the Terminal in IntelliJ.

How to open a project in Intellij from taskbar?

I recently updated the Intellij-idea from 13.1 to 13.1.7.
When I try to open recently closed projects by right-click the Intellij icon in taskbar - getting this error in Event log
Unauthorized Operation: The command line launcher is outdated. Please refresh it (via Tools | Create Command-line Launcher)
It used to work fine with 13.1.

JProfiler not working in IntelliJ 12 (JProfiler executable is null)

I'm trying to profile my Android app. I installed the JProfiler plugin through
IntelliJ IDEA --> Preferences --> Plugins
Here's a screenshot of the plugin description:
When I try to run the profiler nothing happens and I get this message saying that the JProfiler executable is null:
Any idea on how to fix this?
You need to set or re-set the JProfiler executable. Do the following:
Select "Edit Configurations" from the "Run" drop down menu
Select "Application" under "Defaults" in the dialog box (or any existing run configuration)
Select the "Startup/Connection" tab
Select "JProfiler" in the list
Click on the "Select JProfiler Executable" button
Choose the JProfiler executable, which is
[JProfiler installation directory]\bin\jprofiler.exe on Windows
[JProfiler installation directory]/bin/jprofiler on Linux/Unix
[JProfiler installation directory]/bin/macos/jprofiler.sh on Mac OS X
You have to install JProfiler first, you can download it here.
You need to have JProfiler 7.2.2 (or newer) which integrates with IntelliJ IDEA 12
http://www.ej-technologies.com/download/jprofiler/changelog.html#7.2.2
To start, in a file browser check if you have the plugins folder, if not create it, so it looks like this
C:\Users\[username]\.IntelliJIdea12\config\plugins
If running IntelliJ IDEA 12, close it.
Inside JProfiler go to
Session -> IDE Integrations
And choose IntelliJ IDEA 12.x and click Proceed button
Choose your .IntelliJIdea12 folder
C:\Users\[username]\.IntelliJIdea12
And you're done, you should see a new button Next to Run [class#method] with Coverage that says Profile [class#method]