|[jdt-dev] Eclipse Native Launcher Help Needed|
Hi, I opened this enhancement request: https://bugs.eclipse.org/bugs/show_bug.cgi?id=558832Without something that would let an application (the installer) know the original value of the PATH before the native launcher has munged it, I don't think there is any way to determine which java will run by default and I think I need to know that in order to implement this request:
One way I can imagine to do that, as described in 558832, is if the native launcher provided the value of the PATH in some other environment variable that's exported to (available in) the launched application. E.g., something like this, probably in eclipseMain.c:
setenv("ORIGINAL_PATH", getenv("PATH"), 1);But I don't know how I can contribute something in order make this happen. I don't even know if this is really the best way or if this is even feasible. Moreover, I don't know how the native launcher is built.
Can anyone help or offer alternative ideas or approaches? Thanks, Ed
Back to the top