Oh Eric, Eric, Eric... Java is not that hard. At least compared to
something like the TOS build "system". It even {used to be} a rather
rationalized and simple alternative to most egregious C++ shenanigans.
But anyway... There was one more question in the complaint list:
> WARNING: CLASSPATH environment variable doesn't exist.
> Your classpath should contain and a pointer
> to the cwd (a dot)
>
Add '.' to your CLASSPATH... See if you can find a place where
CLASSPATH is actually set, in files like .bahsrc or .profile,
and add the dot to the list using a semi-colon ';' as a separator.
Or else do this:
export CLASSPATH="$CLASSPATH;."
I explicitly set PATH and CLASSPATH in my .bashrc so I know what
I'm getting and {think that} I have some control over my world...
And any Java above and beyond 1.4 is fine for TOS, at least until
Oracle destroys the backward compatibility feature. I forget exactly
what went in at 1.4, maybe generics, but some TOS code won't compile
with previous versions. "Someone" "should" fix tos-check-env, no?
MS
Eric Decker wrote:
>
>
> On Mon, Jan 16, 2012 at 11:25 PM, Varun Agrawal <[email protected]
> <mailto:[email protected]>> wrote:
>
> Hello,
>
> I have recently installed TinyOS on my Ubuntu machine and on running
> "tos-check-env" I got the following errors:
>
>
> tos-check-env hasn't been updated in quite a while.
>
> on my system I have java 1.6 and tos-check-env checks for 1.4 or 1.5.
> It bitches. Your 1.7 will also cause a bitch.
>
> I don't know why tos-check-env insists that version 1.4 or 1.5 is
> "required" for TinyOS.
>
> I personally ignore it. But I don't use the Java programs. The ones
> I have used seem to work. The problem I have is I've never bothered to
> learn Java so if something goes wrong they seem much too complex to
> figure out. Fairly opaque.
>
>
> I'm using graphviz 2.20.2 and that seems to work fine and toe-check-env
> is looking for 1.10.
>
>
> I would suggest you move on and don't worry about it.
>
>
>
> tos-check-env completed with errors:
>
> --> WARNING: CLASSPATH environment variable doesn't exist.
> Your classpath should contain and a pointer
> to the cwd (a dot)
> --> WARNING: The JAVA version found first by tos-check-env may not
> be version 1.4 or version 1.5one of which is required by TOS. Please
> ensure that the located Java version is 1.4 or 1.5
> --> WARNING: The graphviz (dot) version found by tos-check-env is
> not 1.10. Please update your graphviz version if you'd like to use
> the nescdoc documentation generator.
>
>
> I have Java 1.7, graphviz is showing version 2.26.3 and I have a
> feeling the Classpath problem is due to Java.
>
> Any useful links or help??
>
> --
> Yours faithfully,
> Varun Agrawal
>
> B.Tech-III
> Computer Science and Engineering
> National Institute of Technology
> Surat, India.
> About Me <http://www.about.me/varunagrawal>
> computerCalledVarun() <http://computercalledvarun.wordpress.com/>
>
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> <mailto:[email protected]>
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>
>
>
> --
> Eric B. Decker
> Senior (over 50 :-) Researcher
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help