JDK_HOME must be specified...

What about making the IDE search for default jvm? Or figure out a way to enter it only once to be used in the future?

0

What is your OS and what Web IDE distribution you have used?

0
Avatar
Permanently deleted user

I am running Ubuntu 9.10.

0

Than as a linux user I guess you should know how to export

environment variable JDK_HOME to make it "used in the future" for your profile?
0
Avatar
Permanently deleted user

Yes, I've already done that. But it would be a good feature to make IDE define the default jvm on its own.

0

There's no such a thing as a COMMON "default jvm" in linux/BSD platforms targeted by tar.gz distribution. We are doing this for mac os and windows where this is possible. If you have some practical suggestions on how to do this - feel free to participate.

0
Avatar
Permanently deleted user

Okay Then it would be a great idea to create an installer, like NetBeans determines the default jvm during installation.
I am a new Linux user, so I might be mistaken, but there is such a command "update-alternatives --config java" which is used to set the default jvm.
Or this can be applied only to Ubuntu distro, I do not know fore sure.

0

OKay, thanks for feedback.  We do have some plans to improve linux distro eventually.

0
Avatar
Permanently deleted user

Commonly JDK_HOME in linux will be /usr (note absence of trailing slash) - I've got the same value too, so you can check this special case only and fallback to default behavior if check failed.

0

请先登录再写评论。