[Tinyos-help] compilation -- java problem
Kamal Gakhar
kgakhar at gmail.com
Mon Jan 8 04:45:29 PST 2007
Hi,
On a Debian Linux,
I am trying to do : "make micaz sim" for
":/opt/tinyos-2.x/apps/RadioCountToLedsexport"
as explained in TinyOS tutorial.
But I get the following error:
mkdir -p build/micaz
mig python -target=micaz -python-classname=RadioCountMsg
RadioCountToLeds.hradio_count_msg -o
RadioCountMsg.py
mig java -target=micaz -java-classname=RadioCountMsg
RadioCountToLeds.hradio_count_msg -o
RadioCountMsg.java
javac RadioCountMsg.java
/home/kamal/JavaIBM/ibm-java2-ppc-50/bin/javac:
/home/kamal/JavaIBM/ibm-java2-ppc-50/bin/javac: cannot execute binary file
make: *** [RadioCountMsg.class] Error 126
I saw an earlier message on the forum but that was a problem of "path" not
found. But in my case it seems that javac cant execute. I "put" java on my
system as explained from IBM site. Here is the entry in my .bashrc file:
export
CLASSPATH=$CLASSPATH:.:/home/kamal/JavaIBM/ibm-java2-ppc-50/lib/dt.jar:/home/kamal/JavaIBM/ibm-java2-ppc-50/lib/htmlconverter.jar:/home/kamal/JavaIBM/ibm-java2-ppc-50/lib/tools.jar:/home/kamal/JavaIBM/ibm-java2-ppc-50/lib/jardiff.jar:/home/kamal/JavaIBM/ibm-java2-ppc-50/lib/jnlp.jar:/home/kamal/JavaIBM/ibm-java2-ppc-50/lib/jnlp-
servlet.jar
export PATH=$PATH:.:/home/kamal/JavaIBM/ibm-java2-ppc-50/bin
CAN anyone up there advice on what is going wrong..cause all I can think is
that java was not properly installed.
thanks,
--
Kamal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070108/84b91960/attachment.htm
More information about the Tinyos-help
mailing list