First thing is I wouldn't install java in "Program Files" because the
space in the dirname will just become more and more problematic.
Second, you probably do not have a PATH correctly set to your Java
installation, you should not have to make those symbolic links. This
may be the result of the P_F space thing...So go back and redo your
Java install into something like C:/Java and check that you have that
bin directory in your PATH when it's all over.

Then, in their great wisdom, TOS installers use the "locate-jre"
script to find Java in order to install stuff, and this seems to
only work sometimes. Search this list for advice on locate-jre
and look (in T1 at least) at: tools/scripts/locate-jre

I'm not sure where tinyos.jar is supposed to be -- assuming you
are using T2 anyway -- again some searching back on this list
may help.

MS


Deepesh Jain wrote:
I am using Cygwin
When I run any java program it is giving error --
The toscommJNI library was not found.
Check that your tinyos-tools package is installed and try rerunning tos-install-jni.
Aborting.
--
Now when I run tos-install-jni
It gives the message
Java not found, not installed JNI code
I have installed java at c:\program files\java\jdk1.5.0_06 Also on cygwin when i type java or javac it displays java help.
I am also able to comple .java files after using these commands
 cd /usr/local/bin
ln -s /cygdrive/c/"Program Files"/java/jdk1.5.0_06/bin/javac.exe ln -s /cygdrive/c/"Program Files"/java/jdk1.5.0_06/bin/java.exe this commands has created two shortcuts in usr/local/bin folder. please do tell me what class path I should set, also I have no tinyos.jar or no path is set to it.
If it is required tell me how should I get tinyos.jar
Thanks in advance. Deepesh
------------------------------------------------------------------------
5, 50, 500, 5000 - Store N number of mails in your inbox. Click here. <http://in.rd.yahoo.com/tagline_mail_4/*http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/>


------------------------------------------------------------------------

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

--
Platform: WinXP/Cygwin
TinyOS version: 1.x, Boomerang
Programmer: MIB510
Device(s): Mica2, MicaZ, Tmote
Sensor board: homebrew

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to