[Tinyos-help] tos-install-jni
Urs Hunkeler
uhu at gmx.ch
Mon Sep 10 02:46:05 PDT 2007
Hi,
As this is a common question, I have tried to compile the different
answers I have given in the past on the "official" TinyOS wiki. Have a
look at http://www.eecs.harvard.edu/~mdw/tinyosdocs/index.php/Java_cygwin
and let me know whether this solves your problem or if there are any
inaccuracies. By the way, I use the default installation directory for
my Java installation on Windows, and although it uses spaces in the
directory names, it works fine.
Cheers,
Urs
PS: The TinyOS wiki is located at:
http://www.eecs.harvard.edu/~mdw/tinyosdocs/index.php/Main_Page
Deepesh Jain schrieb:
> 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
More information about the Tinyos-help
mailing list