If you used TinyOS install shield,
you have Java 1.4.2. at /cygdirve/c/~~~/cygwin/java

Your PATH variable defines /cygdrive/c/windows/system32/ before proper
JAVA dir.
Try *env | grep PATH*
and you can change the PATH using *unset* & *export* in the cygwin shell.

Why don't you change the name like below in windows file explorer.
c:\windows\system32\java.exe
to
c:\windows\system32\java_tinyos.exe

-jh.kang


2007/6/15, Ahmed Said <[EMAIL PROTECTED]>:
Hi,

I am using a cygwin environment, the problem is that after I install
java  and I type "which java"
I get "/cygdrive/c/windows/system32/", I think this is the reason for
getting java not found error when I type "tos-install-jni", does
anyone know how to displace this version of java by the one i
installed to be able to install the JNI code........?

Thanks in advance,
Regards,
Ahmed
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



--
Jeonghoon Kang
Senior Researcher
at Korea Electronics Technology Institute(www.keti.re.kr) ;
TinyOS Korea Forum Administrator; www.tinyos.or.kr ;
work = [EMAIL PROTECTED] ;
private = [EMAIL PROTECTED] ;
www.pinkfloyd.re.kr/rnd/ ;
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to