[Tinyos-help] Cannot find java and javac - java tools not compiled

David Gay dgay42 at gmail.com
Tue Dec 12 09:33:22 PST 2006


On 12/8/06, Michael Schippling <schip at santafe.edu> wrote:
> That's....odd. I wonder if rpm is trying to use some (stupid)
> java control panel app to find the programs. In any case it
> should be possible to go back and manually make the tools
> directory after the smoke clears.

rpm scripts run in an environment where most user customisation is
ignored (for good reason, if you think about it). Chances are good
that javac is not in the path when the rpm scripts are run. I believe,
e.g., that the path is /bin:/usr/bin (and may include /usr/sbin and
/sbin, I forget). The tos-locate-jre tries to primarily locate Java
(on cygwin) by looking for registry keys to get around this problem.

David Gay


More information about the Tinyos-help mailing list