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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
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
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
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
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
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
22 matches
Mail list logo