简体   繁体   中英

IntelliJ IDEA doesn't start on Ubuntu

I have used IDEA for several months, and it was ok until now.

Now launching IDEA from shortcut has no effect. I suppose that happened after some updates.

I tried to reinstall IDEA, but problem is still there. Launching idea.sh from Terminal gives similar effect:

chronoexp@ChronoExp-PC:~/Programs/idea-IC-135.1289/bin$ ./idea.sh
Java HotSpot(TM) Server VM warning: ignoring option MaxPermSize=250m; support was removed in 8.0
chronoexp@ChronoExp-PC:~/Programs/idea-IC-135.1289/bin$ 

Note that message about HotSpot Server is ok. Previously after printing that, IDEA was launched. Now it simply kicks out with no error message.

Maybe there are some log files, where I can see possible error?

Ubuntu 14.04 LTS
IDEA Version: 13.1.5 Build: 135.1289
java version "1.8.0_20"
Java(TM) SE Runtime Environment (build 1.8.0_20-b26)
Java HotSpot(TM) Server VM (build 25.20-b23, mixed mode)

IntelliJ (and few other Java programs) sometimes has a problem with window not appearing or being frozen. It took me some time to find this simple solution that might be useful for someone in the future:

wmname LG3D

It solved the problem for me.

So, restarting Ubuntu solved the problem. So easy!

ps It's a shame that I just did not try to reboot the system before asking question...

sudo killall java

Snap! This worked for me

检查即使它安装在您的主目录的子文件夹中, idea-IC-135.1289 的所有者是您(递归)。

Find the pid by grep like

ps -aux | grep idea

and kill all the open instances like sudo kill 12233(pid) and boom, you are all set to go.

Go to the /bin and run ./idea.sh. This should solve your issue, without restarting Ubuntu.

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