I'm using Intellij 13.1.3 on a 64bit machine. When I run idea.exe the cygwin terminal within Intellij works fine but if I run idea64.exe, terminal opens up but no prompt. Ideas please?
(Posted on behalf of the OP):
I solved the problem by starting idea.bat instead of starting idea64.exe directly.
Related
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.
I use manjaro linux and run applications from the terminal. Recently when I type idea (running I assume idea.sh, as this is what the top of the terminal says), and try to minimize and expand the idea window the terminal prints "Everything has changed". Is this something I should care about or is it just some random text?
everything has changed
It's a bug in the bundled JDK, should be already fixed in a later version: https://youtrack.jetbrains.com/issue/JRE-854
I'm new to webOS SDK. Downloaded the installer and after i finished installation couldn't launch IDE.
I also tried to install from offline package. But still same.
Keep freezing at this screen.
MacOS 10.12.6
java version "1.8.0_131"
You must run with sudo. Try run with command like this
sudo /Users/USER/webOS_TV_SDK/IDE/WebOSIDE.app/Contents/MacOS/WebOSIDE ; exit;
Do the following :
Delete the following old config files:
C:\Users[User Name]\AppData\Roaming.webos
C:\Users[User Name]\AppData\Roaming.ares
Re-start webOS TV IDE.
Yesterday, I started having some problems with my intellij terminal. I think it was after I installed ConEmu my terminal looked strange.
This is what my terminal looks like in intellij now:
←[m←[32m←]9;8;"USERNAME"←\#←]9;8;"COMPUTERNAME"←\ ←[92mC:\Dev\Project\
Has anyone had a similar issue, if so, how did you fix it?
Thank you!
I didn't really fix the issue, but I replaced the normal terminal (cmd) in intellij with cmder.
The terminal setting (CTRL + ALT + S) -> terminal
cmd.exe /k ""%CMDER_ROOT%\vendor\init.bat""
Developing a program on OSX using Java and IntelliJ. Deals with network sockets and ICMP. Hence, the program needs to be run as root or sudo'd on OSX. Program runs fine from a terminal window outside IntelliJ under sudo. However, I would like to debug and run it from IntelliJ (V9). In IntelliJ it errors (I need root privs to enumerate network devices). I know how to pass program and VM parameters in IntelliJ but now how to hit Run and/Debug and have it run under sudo? What is needed is basically sudo java ...... MyProgram instead of java ..... MyProgram Any ideas or workarounds.
I came out with an answer and wanted to share it just in case anyone else runs into this. To solve the problem, I took my cue from what I do with QT & QT Creator when doing network programming.
On OSX, I opened up a terminal window and cd'd down to/Applications/IntelliJ IDEA 9.0.3.app/Contents/MacOS. There you will find a file called idea which launches the IDE. I ran that as sudo (sudo ./idea). That took care of permissions on anything Intellij launched and I could debug and step through my code as needed.
sudo /Applications/IntelliJ IDEA 9.0.3.app/Contents/MacOS/idea
Since this is a dev machine and I am in control of it security is not an issue in this case.
Hope it helps someone else out.
Inside a terminal:
sudo -s
give access to the root user.
from there you could run the Idea IDE using the script:
/Applications/IntelliJ\ IDEA*/bin/idea.sh
and in this way I'm able to work on network where permission errors where printed before.
Debugging of sudo programs is disallowed by the operating system unless the debugger is running as root, for security reasons.
So, even if you can figure out how to get IntelliJ to use sudo it won't do you any good.
I know this is not what OP directly asked -
In case someone needs to do this on Linux (Ubuntu), e.g. in order to update Idea, just run from command line:
sudo /usr/local/bin/idea
Only make sure once the Update and Restart is finished to actually close Idea and start it normally
I agree with #Darron, it is not recommended to execute IntelliJ with sudo.
You can execute with IntelliJ terminal instead.
I maintain my project in IntelliJ. When I need to execute a unit test that requires sudo access, I just open IntelliJ terminal and type:
sudo gradle test
Good luck!