Discussion:
[Contiki-developers] Issue in running contiki on ubuntu
Awais Tariq
2013-01-23 18:14:48 UTC
Permalink
Hello every one,
         I am begginner and I am trying to run contiki on my ubuntu, i have extracted file of contiki 2.6 in my home folder but i am facing a error when i try to run. Kindly help me! here is the error


***@ubuntu:~$ cd contiki-master/tools/cooja/
***@ubuntu:~/contiki-master/tools/cooja$ ant run
Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-6-openjdk-i386/lib/tools.jar
Buildfile: /home/awais/contiki-master/tools/cooja/build.xml

init:

compile:

BUILD FAILED
/home/awais/contiki-master/tools/cooja/build.xml:74: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "/usr/lib/jvm/java-6-openjdk-i386/jre"

Total time: 0 seconds
badis DJAMAA
2013-01-24 09:16:25 UTC
Permalink
hi,
i think the best way to start with contiki is to download the
instant-contiki image which come pre-configured snd run on ubuntu
you will find it in the contiki web site
http://www.contiki-os.org/download.html
regards,
Post by Awais Tariq
Hello every one,
I am begginner and I am trying to run contiki on my ubuntu, i have
extracted file of contiki 2.6 in my home folder but i am facing a error when
i try to run. Kindly help me! here is the error
Unable to locate tools.jar. Expected to find it in
/usr/lib/jvm/java-6-openjdk-i386/lib/tools.jar
Buildfile: /home/awais/contiki-master/tools/cooja/build.xml
BUILD FAILED
/home/awais/contiki-master/tools/cooja/build.xml:74: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "/usr/lib/jvm/java-6-openjdk-i386/jre"
Total time: 0 seconds
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Contiki-developers mailing list
https://lists.sourceforge.net/lists/listinfo/contiki-developers
--
Badis Djamaa
PhD student
Dept of Informatics & Systems Engineering, Cranfield University
Tel: (+44)7448354143
Email: ***@cranfield.ac.uk, ***@gmail.com
Marco Giordano
2013-01-24 10:24:31 UTC
Permalink
m***@free.fr
2013-01-24 09:43:39 UTC
Permalink
Dear all,
I implemented a tansport relay node on a Z1 platform (node that (normally) receives a UDP data packet via tun interface with a PC and forwards the data through 802.15.4 interface to a WSN network). Well, as you can notice, it is not a border router, just a relay node in that it has an input UDP connection (input port X) coming from a client in a PC, and an output UDP connection (output port Y) towards a sensor (Z1) node.
The problem I have is that the relay node seems to forward the packet, that it receives from the client, via the tun interface instead of the 802.15.4 interface. Is it possible to fix this without using routing functionalitites (like those of rpl-border-router.c)?

Thanks for your help

Mounir
unknown
1970-01-01 00:00:00 UTC
Permalink
--047d7bb044d46f3b6604d4063716
Content-Type: text/plain; charset=ISO-8859-1

You need to set up your java home path.
Follow this tutorial which will explain you how to do so.

http://www.wikihow.com/Setup-Your-Java_Home-Path-in-Ubuntu
Post by badis DJAMAA
hi,
i think the best way to start with contiki is to download the
instant-contiki image which come pre-configured snd run on ubuntu
you will find it in the contiki web site
http://www.contiki-os.org/download.html
regards,
Post by Awais Tariq
Hello every one,
I am begginner and I am trying to run contiki on my ubuntu, i
have
Post by Awais Tariq
extracted file of contiki 2.6 in my home folder but i am facing a error
when
Post by Awais Tariq
i try to run. Kindly help me! here is the error
Unable to locate tools.jar. Expected to find it in
/usr/lib/jvm/java-6-openjdk-i386/lib/tools.jar
Buildfile: /home/awais/contiki-master/tools/cooja/build.xml
BUILD FAILED
/home/awais/contiki-master/tools/cooja/build.xml:74: Unable to find a
javac
Post by Awais Tariq
compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "/usr/lib/jvm/java-6-openjdk-i386/jre"
Total time: 0 seconds
------------------------------------------------------------------------------
Post by Awais Tariq
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Contiki-developers mailing list
https://lists.sourceforge.net/lists/listinfo/contiki-developers
--
Badis Djamaa
PhD student
Dept of Informatics & Systems Engineering, Cranfield University
Tel: (+44)7448354143
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Contiki-developers mailing list
https://lists.sourceforge.net/lists/listinfo/contiki-developers
--047d7bb044d46f3b6604d4063716
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable <div dir="ltr"><div>You need to set up your java home path.<br></div>Follow this tutorial which will explain you how to do so.<br><br><a href="http://www.wikihow.com/Setup-Your-Java_Home-Path-in-Ubuntu">http://www.wikihow.com/Setup-Your-Java_Home-Path-in-Ubuntu</a><br> </div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/1/24 badis DJAMAA <span dir="ltr">&lt;<a href="mailto:***@gmail.com" target="_blank">***@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
hi,<br>
i think the best way to start with contiki is to download the<br>
instant-contiki image which come pre-configured snd run on ubuntu<br>
you will find it in the contiki web site<br>
<a href="http://www.contiki-os.org/download.html" target="_blank">http://www.contiki-os.org/download.html</a><br>
regards,<br>
<div><div class="h5"><br>
On 23 January 2013 18:14, Awais Tariq &lt;<a href="mailto:***@yahoo.com">***@yahoo.com</a>&gt; wrote:<br>
&gt; Hello every one,<br>
&gt;          I am begginner and I am trying to run contiki on my ubuntu, i have<br>
&gt; extracted file of contiki 2.6 in my home folder but i am facing a error when<br>
&gt; i try to run. Kindly help me! here is the error<br>
&gt;<br>
&gt; ***@ubuntu:~$ cd contiki-master/tools/cooja/<br>
&gt; ***@ubuntu:~/contiki-master/tools/cooja$ ant run<br>
&gt; Unable to locate tools.jar. Expected to find it in<br>
&gt; /usr/lib/jvm/java-6-openjdk-i386/lib/tools.jar<br>
&gt; Buildfile: /home/awais/contiki-master/tools/cooja/build.xml<br>
&gt;<br>
&gt; init:<br>
&gt;<br>
&gt; compile:<br>
&gt;<br>
&gt; BUILD FAILED<br>
&gt; /home/awais/contiki-master/tools/cooja/build.xml:74: Unable to find a javac<br>
&gt; compiler;<br>
&gt; com.sun.tools.javac.Main is not on the classpath.<br>
&gt; Perhaps JAVA_HOME does not point to the JDK.<br>
&gt; It is currently set to &quot;/usr/lib/jvm/java-6-openjdk-i386/jre&quot;<br>
&gt;<br>
&gt; Total time: 0 seconds<br>
&gt;<br>
&gt;<br> </div></div>&gt; ------------------------------------------------------------------------------<br>
&gt; Master Visual Studio, SharePoint, SQL, <a href="http://ASP.NET" target="_blank">ASP.NET</a>, C# 2012, HTML5, CSS,<br>
&gt; MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current<br>
&gt; with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft<br>
&gt; MVPs and experts. ON SALE this month only -- learn more at:<br>
&gt; <a href="http://p.sf.net/sfu/learnnow-d2d" target="_blank">http://p.sf.net/sfu/learnnow-d2d</a><br>
&gt; _______________________________________________<br>
&gt; Contiki-developers mailing list<br>
&gt; <a href="mailto:Contiki-***@lists.sourceforge.net">Contiki-***@lists.sourceforge.net</a><br>
&gt; <a href="https://lists.sourceforge.net/lists/listinfo/contiki-developers" target="_blank">https://lists.sourceforge.net/lists/listinfo/contiki-developers</a><br>
&gt;<br>
<br>
<br>
<br>
--<br>
Badis Djamaa<br>
PhD student<br>
Dept of Informatics &amp; Systems Engineering, Cranfield University<br>
Tel: <a href="tel:%28%2B44%297448354143" value="+447448354143">(+44)7448354143</a><br>
Email: <a href="mailto:***@cranfield.ac.uk">***@cranfield.ac.uk</a>, <a href="mailto:***@gmail.com">***@gmail.com</a><br>
<br>
------------------------------------------------------------------------------<br>
Master Visual Studio, SharePoint, SQL, <a href="http://ASP.NET" target="_blank">ASP.NET</a>, C# 2012, HTML5, CSS,<br>
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current<br>
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft<br>
MVPs and experts. ON SALE this month only -- learn more at:<br>
<a href="http://p.sf.net/sfu/learnnow-d2d" target="_blank">http://p.sf.net/sfu/learnnow-d2d</a><br>
_______________________________________________<br>
Contiki-developers mailing list<br>
<a href="mailto:Contiki-***@lists.sourceforge.net">Contiki-***@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/contiki-developers" target="_blank">https://lists.sourceforge.net/lists/listinfo/contiki-developers</a><br>
</blockquote></div><br></div>

--047d7bb044d46f3b6604d4063716--

Loading...