[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [ptp-user] Remote Tools search path for the "java" executable
|
Corey,
Whatever executable is specified in the extension point will be run. If that is just "java" then it will use whatever is in the path. You could use "/path/to/java" to specify an explicit path.
Programmatically, you have two options:
1. AbstractRemoteServerRunner#setLaunchCommand() can be used to specify a command with an explicit path.
2. AbstractRemoteServerRunner#setWorkDir() can be used to set the working directory, then you could specify the command as "./java".
If you can think of another way you'd like to do this, let me know and I can look at implementing it.
Greg
On Sep 1, 2011, at 3:36 PM, Corey Ashford wrote:
> On 09/01/2011 11:10 AM, Corey Ashford wrote:
>> Hello all,
>>
>> When we create a remote connection using Remote Tools, there is the one
>> issue of needing to make sure that the system finds the correct "java"
>> executable with which to run the DStore server.
>>
>> Is there way to configure Remote Tools in such a way that it looks for
>> java in a predefined location, or does it always just use the $PATH of
>> the remote account that's provided?
>>
>
> There's also a similar issue for "gdb". Is there a way we can specify
> which "gdb" that SDM will use, or does it rely on $PATH as well?
>
> - Corey
>
> _______________________________________________
> ptp-user mailing list
> ptp-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/ptp-user