简体   繁体   中英

Where can I find launch error logs for IntelliJ IDEA?

Whenever I try to open IntelliJ IDEA, it just quits immediately without any message whatsoever. I was wondering if there's a log somewhere I can find to hopefully figure out what's causing it. It was running fine when I used it a few months ago.

您可以在主目录下找到它: {user.home}\\.IntelliJIdea13\\system\\log

Depending on your OS. Product version is usually something like IntelliJIdea13, see Source for more information.

Windows

<SYSTEM DRIVE>\\Users\\<USER ACCOUNT NAME>\\.<PRODUCT><VERSION>\\system\\log

Linux and Unix

~/.<PRODUCT><VERSION>

Mac OS X

~/Library/Logs/<PRODUCT><VERSION>

Source

This just happened to me. I found the log file, but it didn't say anything at all after I tried to restart. (Maybe I could have got round this by changing the log level.) The problem was that I'd increased the memory allocation from 1GB to 1.5GB. I don't know why this made it crash on startup, but when I changed it back it was fine. The relevant file was {user.home}\\.IntelliJIdea14.1.4\\bin\\idea.exe.vmoptions . Obviously, it will be somewhere slightly different if you're not on Windows.

Another thing you could try is looking for a lock file. Some applications create an empty file called .lock on startup, in order to prevent duplicate instances of the same application from running at the same time. But if something goes wrong they can occasionally forget to delete the lock file on exit. (Or maybe the process is terminating but it just hasn't finished yet, even though the window has closed.) Then when you try to start up it says it can't because there's already a running instance. When you're in this situation you need to find the lock file and delete it. But I have no idea whether IntelliJ is like this.

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