[Tinyos-help] Java error for RadioCountToLeds

2012-12-18 Thread Shruthi R
Hi I have tinyos-2.x and Java version 1.6 installed on my Ubuntu. The Blink application compiles succesfully. But the RadioCountToLeds throws Java errors when compiling for micaz as follows RadioCountMsg.java:88: unclosed string literal s += [nx_struct radio_count_msg 2 6

[Tinyos-help] Java error for RadioCountMsg

2012-03-01 Thread Ali Shareef
Hello All, I am having trouble compiling the RadioCountToLeds application in the /apps/ folder. The make file contains the following lines: RadioCountMsg.py: RadioCountToLeds.h mig python -target=$(PLATFORM) $(CFLAGS) -python-classname=RadioCountMsg RadioCountToLeds.h radio_count_msg -o

Re: [Tinyos-help] Java error for RadioCountMsg

2012-03-01 Thread Ali Shareef
Hello All, I am having trouble compiling the RadioCountToLeds application in the /apps/ folder. The make file contains the following lines: RadioCountMsg.py: RadioCountToLeds.h mig python -target=$(PLATFORM) $(CFLAGS) -python-classname=RadioCountMsg RadioCountToLeds.h radio_count_msg -o

[Tinyos-help] Java error

2009-07-21 Thread bouzayani walid
Hello, I used Tinyos2.1 under Wondows XP and Telosb mot.e I installed and checked my Tos2.x environment and Telosb platforms without error (tos-check-env results no erros). But when i run the oscilloscope application withjava net.tinyos.tools.Listen. many errors appear like: $ java

Re: [Tinyos-help] Java error

2009-07-21 Thread Raffaele Gravina
it's because the java files have been compiled with a newer version of Java than the one are you using to run it. Make sure to have the latest JDK/JRE installed and correctly referenced in the PATH env variable. Cheers, -- Raffaele Gravina | Research Engineer Wireless Sensor Networks Lab

Re: [Tinyos-help] Java error: SerialPacket cannot be resolved to a type

2009-05-09 Thread David Li
Hi Michael, My mistake. I found out that I need to set my CLASSPATH to .:/opt/tinyos-2.1.0/support/sdk/java/tinyos.jar - that is it should point directly to tinyos.jar instead of stopping at /opt/tinyos-2.1.0/support/ sdk/java. On Fri, May 8, 2009 at 3:33 PM, Michael Schippling

[Tinyos-help] Java error: SerialPacket cannot be resolved to a type

2009-05-08 Thread David Li
Hi All, I am following the tutorial direction to compile the TestSerial application for Iris mote. The following Java error is what I got so far. I am using Ubuntu 9.10 with Tinyos2.1. I think I am using JDK 1.5. My classpath is .:/opt/tinyos-2.1.0/support/sdk/java. Is this a JDK impatibility

Re: [Tinyos-help] Java error: SerialPacket cannot be resolved to a type

2009-05-08 Thread Michael Schippling
Thats one I haven't seen before. Compiling against classes of a newer version used to give some even more arcane error. You can make sure that there is a SerialPacket in the jars you are using with jar tvf xxx.jar, and perhaps try compiling your own support tools to see if that helps. MS David

[Tinyos-help] Java Error TestSerial

2009-05-04 Thread Akankshu Dhawan
Hi All I am using cygwin installation of tinyos 2.x on a windows Vista machine. I am successfully able to work the Blink application. But when I try the TestSerial application and do a make mica2 inside /opt/tinyos-2.x/apps/tests/TestSerial/ I get 30 error messages. They seem to be unable to

[Tinyos-help] java error in tutorials

2009-04-07 Thread George Adamides
Hello everybody I am running tutorial 4 from the tinyos.net tutorials and i am getting the following error when I run the java command. Can somebody please explain to me what is I am doing wrong? $ java net.tinyos.tools.Listen -comm serial@/dev/USB0;micaz Exception in thread main

Re: [Tinyos-help] java error in tutorials

2009-04-07 Thread Faisal Aslam
Make sure that tinyos.jar is in your classpath. Add following in your .bashrc in case your are using linux. export CLASSPATH=$TOSROOT/support/sdk/java/tinyos.jar:. Otherwise set CLASSPATH environment variable of windows. Faisal Hello everybody I am running tutorial 4 from the tinyos.net

Re: [Tinyos-help] java error while compiling

2008-10-01 Thread shilpa1
Install Java in new folder. example C:\Java then $ export PATH=C:\Java\jdk1.6.0\bin:$PATH now ,it will not give error. -- View this message in context: http://www.nabble.com/java-error-while-compiling-tp19484510p19758576.html Sent from the TinyOS - Help

Re: [Tinyos-help] java error while compiling

2008-09-16 Thread Michael Schippling
Well first I apparently used to much shorthand. Use the full path to the JDK, which seems to be: c:/program files/java/jdk 1.6.0_05/bin However cygwin in it's infinite wisdom has made it impossible to use Windows paths in the PATH so it should be: /cygdrive/c/program files/java/jdk

Re: [Tinyos-help] Java error

2007-01-24 Thread Spidernet Lists
Hi Michael, Thanks for your help... My boards use Atmel controller and CC2420, so the generic chips are the same, it does not use a serial data logger but uses a EEPROM instead. The codes are so TINY that i might not need it. So, i have also basically copied Mica platform and made a new

[Tinyos-help] Java error

2007-01-23 Thread Spidernet Lists
Hi all, I am having the following error: mkdir -p build/chipconz javac RadioSenseMsg.java make: javac: Command not found make: *** [RadioSenseMsg.class] Error 127 I already have the Java rpm installed, so why am i having this error and what is the solution??

Re: [Tinyos-help] Java error

2007-01-23 Thread Michael Schippling
Most likely you do not have the java install bin directory in your PATH. For instance mine is: export PATH=/cygdrive/c/JAVA/j2sdk1.4.2_04/bin:.:$PATH and doing this should show you where it is: enfield:schip [361] type javac javac is /cygdrive/c/JAVA/j2sdk1.4.2_04/bin/javac MS Spidernet