[Tinyos-help] tos-install-jni

2011-06-23 Thread vinod kumar
when I run java.net.tools.Listen -comm serial@COM4:telosb I am encountering the problem *Toscomm* *JNI* *library* *not* *found* 1. I have installed the tos-install-*jni* and it is successfully installed without any problems. I confirm this because when I run tos-locate-jre --*jni* the following

Re: [Tinyos-help] tos-install-jni

2011-06-23 Thread Michael Schippling
I think the problem is that your PATH -- which I believe is what is printed in the output below -- contains these: \WINDOWS\SYSTEM32 \WINDOWS\Sun\Java\bin \PROGRAM FILES\JAVA\JDK1.6.0_11\BIN but the JNI files got installed to the JRE directory: /Program Files/Java/jdk1.6.0_11/jre/bin Windows32

[Tinyos-help] tos-install-jni

2011-06-22 Thread vinod kumar
Hi ,all: My environment is Tinyos 2.0.2 , JDK version is 1.5.0_12, and run tos-check-env without error. But when I run the tos-install-jni, it gets a error like below: $ tos-install-jni [: ==: unknown operand Installing 32-bit Java JNI code in /cygdrive/c/Program

Re: [Tinyos-help] tos-install-jni

2011-06-22 Thread Michael Schippling
Based on messages received here, that script only works about 75% of the time... Search this list for various pieces of advice about fixing it. I use a back rev of the tos libs and install them by hand so I can't tell you exactly what to do, but if you can find the getenv and toscomm files you can

Re: [Tinyos-help] tos-install-jni: Invalid group SYSTEM

2009-10-06 Thread ZMONITOR
Joe Green-4 wrote: When I run tos-install-jni, I get the message: Invalid group SYSTEM The commands java and javac run fine, so the PATH environment variable should be okay. System Info: Java directory: c:\cygwin\Java JDK download: JDK 1.6 SE Update 11 Operating system: Vista

Re: [Tinyos-help] tos-install-jni: Invalid group SYSTEM

2009-10-06 Thread ZMONITOR
Hello again I found a solution for this problem go to the /usr/local/bin you with find a file with a name tos-install-jni open it with any editor at line 13 if [ cygpath -w / /dev/null 2/dev/null ] || [ `uname` == Darwin ]; then change Darwin to what result do you obtain when you type

Re: [Tinyos-help] tos-install-jni

2009-02-17 Thread Urs Hunkeler
Hi Wafa, Check whether you have toscomm.dll and getenv.dll in your '/usr/lib/tinyos' directory (use cygwin). If so, you could try to rename these files to toscomm-32.dll and getenv-32.dll respectively, and then run 'tos-install-jni'. If this does not work, you'll have to install the JNI

[Tinyos-help] tos-install-jni

2009-02-16 Thread wafa jaballah
Hello All, I want to install the JNI : So , I type the following command: $ tos-install-jni I have the following errors: *Installing 32-bit Java JNI code in /cygdrive/c/Program Files/Java/jdk1.6.0_11/jre/bin ... install: cannot stat '/usr/ lib/tinyos/*-32.dll': No such file or directory * I

[Tinyos-help] tos-install-jni: Invalid group SYSTEM

2009-01-14 Thread Joe Green
When I run tos-install-jni, I get the message: Invalid group SYSTEM The commands java and javac run fine, so the PATH environment variable should be okay. System Info: Java directory: c:\cygwin\Java JDK download: JDK 1.6 SE Update 11 Operating system: Vista TinyOS version: TinyOS 2.1 Any

[Tinyos-help] tos-install-jni-JNI ERROR

2008-10-26 Thread Mark Tween
HI i have install tinyos some example worked correctly but $ tos-install-jni Installing 32-bit Java JNI code in /cygdrive/c/jdk1.6.0_07/jre/bin ... install: cannot stat `/usr/lib/tinyos/*-32.dll': No such file or directory $ which java /cygdrive/c/jdk1.6.0_07/bin/java my classpath is

Re: [Tinyos-help] tos-install-jni-JNI ERROR

2008-10-26 Thread Michael Schippling
tos-install-jni seems to work about 75% of the time... search this list for many examples and some workarounds, or just copy the few TOS shared objects into your JRE/bin directory. MS Mark Tween wrote: HI i have install tinyos some example worked correctly but $ tos-install-jni

[Tinyos-help] tos-install-jni JNI

2008-10-25 Thread Mark Tween
HI i have install tinyos some example worked correctly but $ tos-install-jni Installing 32-bit Java JNI code in /cygdrive/c/jdk1.6.0_07/jre/bin ... install: cannot stat `/usr/lib/tinyos/*-32.dll': No such file or directory $ which java /cygdrive/c/jdk1.6.0_07/bin/java my classpath is

[Tinyos-help] tos-install-jni not working, msp430 directory missing

2008-10-18 Thread santafe363
Hello, I am once again having very little luck with getting TinyOS to work. I was using cygwin on windows to run but that ended up crashing the computer. I think my motherboard died. I had just got it barely working in windows when this happened. I have now started again at trying to work with

[Tinyos-help] tos install jni cygwin

2008-04-08 Thread Jack Travis
Hi, anybody ever got this error $ tos-install-jni Installing 32-bit Java JNI code in /cygdrive/c/Program Files/Java/jdk1.5.0_15/jre/bin ... install: cannot stat `/usr/lib/tinyos/*-32.dll': No such file or directory (There is effectivly no /usr/lib/tinyos/ dir and copying /lib/tinyos/ to that

Re: [Tinyos-help] tos install jni cygwin

2008-04-08 Thread Ittipong Khemapech
Hi, Take a look at this: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2007-November/029359.html Hope it helps. Ittipong On 08/04/2008, Jack Travis [EMAIL PROTECTED] wrote: Hi, anybody ever got this error $ tos-install-jni Installing 32-bit Java JNI code in /cygdrive/c/Program

[Tinyos-help] tos install jni cygwin

2008-04-08 Thread Jack Travis
Forget last question got it renaming the toscomm.dll to toscomm-32.dll and copying the directory to `/usr/lib/tinyos/ ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

Re: [Tinyos-help] tos-install-jni

2007-09-10 Thread Urs Hunkeler
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.

Re: [Tinyos-help] tos-install-jni

2007-09-06 Thread Michael Schippling
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

[Tinyos-help] tos-install-jni

2007-09-05 Thread Deepesh Jain
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

[Tinyos-help] tos-install-jni can not locate java in cygwin

2007-06-15 Thread Ahmed 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

Re: [Tinyos-help] tos-install-jni can not locate java in cygwin

2007-06-15 Thread Jeonghoon Kang
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

Re: [Tinyos-help] tos-install-jni can not locate java in cygwin

2007-06-15 Thread Benjamin Madore
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