Starting IDEA 5.0.1 under Linux

The only way I can start IDEA under Linux (Ubuntu Hoary) is by opening a command prompt, starting IDEA, and then leaving that command prompt open.

If you close the command prompt then IDEA will close instantly. Both Eclipse and NetBeans are much smarter in this respect. Probably that the start up script should fork a new process and it doesn't do that.

Also, it is impossible to add IDEA to a menu or a panel, it won't start at all. This could be related to the previous issue.

Does anyone know of a workaround?

Thanks,
Marius

0

Hello,

If you close the command prompt then IDEA will close instantly. Both
Eclipse and NetBeans are much smarter in this respect. Probably that
the start up script should fork a new process and it doesn't do that.


Try "nohup ./idea.sh &" while being in the same directory as idea.sh is.

Also, it is impossible to add IDEA to a menu or a panel, it won't
start at all.


This question is too general. You have probably to use the full path.

This could be related to the previous issue.


Hardly.

HTH,
-hs

0

Try "nohup ./idea.sh &" while being in the same
directory as idea.sh is.


That worked, thanks.

Also, it is impossible to add IDEA to a menu or a

panel, it won't

start at all.


This question is too general. You have probably to
use the full path.


Yes, the path is fine, this is the first thing I checked. I wrote a short scripts that cd's into the the IDEA bin folder and then starts the script there. I added nohup in front of the command, still no luck.

All in all, I think IntelliJ should spend a bit of time making IDEA more Linux friendly.

Marius

0

Yes, the path is fine, this is the first thing I
checked. I wrote a short scripts that cd's into the
the IDEA bin folder and then starts the script there.
I added nohup in front of the command, still no
luck.

All in all, I think IntelliJ should spend a bit of
time making IDEA more Linux friendly.

Marius


I am using Gnome and have a added IDEA to my panel without any problem, so I don't think this is IDEA's fault...
(I am using SuSE and Gentoo, haven't tried Ubuntu...)

BTJ

0

> I am using Gnome and have a added IDEA to my panel
> without any problem, so I don't think this is IDEA's
> fault...
> (I am using SuSE and Gentoo, haven't tried
> Ubuntu...)

Could you please post a screenshot of your panel properties? Or at least tell me what command did you use?

Thanks,
Marius

0

The command field of my application launcher under gnome looks like this

sh -c 'export IDEA_JDK=/usr/local/java/jdk1.5;/usr/local/idea-5.0/bin/idea.sh'

0

Yes, the problem seem to be the fact that environment variables are not passed to the command (at least not the ones I expect). After explicitly setting IDEA_JDK in the script everything works fine, no need for nohup.

Thanks for all the replies,
Marius
-

0

请先登录再写评论。