On Fri, June 15, 2007 2:35 am, Ahmed Said said: > 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........?
Did you install your java in the C:\cygwin\ (or equivalent) folder with no spaces in the path? Then right-click on "My Computer", go to the "Advanced" tab, find "Path", "path", or "PATH" in the system variables list, and append your path to the front of the variable value. If your java is in C:\cygwin\ then you would add "C:\cygwin\jdk1.4.2_00\j2sdk1.4.2_00\bin;" to the front, with no white space. Make sure your version number is correct. -Ben -- The difference between the right word and the almost right word is really a large matter- it's the difference between a lightning bug and the lightning. -Twain _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
