[Tinyos-help] Cannot find java and javac - java tools not compiled
Stephen Chou
zjunh2002 at gmail.com
Thu Dec 7 21:24:30 PST 2006
in my cygwin, when I input "type java", output is
***********************************************************
$ type java
java is /cygdrive/c/j2sdk1.5.0/bin/java
***********************************************************
But when I install tinyos1.1.10, the output is :
**********************************************************
$ rpm --ignoreos --force -ivh tinyos-1.1.10Jan2005cvs-1.cygwin.noarch.rpm
Preparing... ########################################### [100%]
1:tinyos ########################################### [100%]
cp motelist.exe /usr/local/bin/
Cannot find java and javac - java tools not compiled
******************************************************************************
2006/12/7, Michael Schippling <schip at santafe.edu>:
> fiddle around with the directories in your PATH until you can get
> "type java" to work, sorta like this:
>
> enfield:schip [256] type java
> java is /cygdrive/c/JAVA/j2sdk1.4.2_04/bin/java
>
> Assuming that your java is indeed where you say it is,
> your given path should work. Maybe a ":" is out of place
> or something. Or you could have "system32" before java
> and be picking up the standard windows version which
> probably doesn't work right, e.g., my PATH looks like:
>
> PATH=/cygdrive/c/JAVA/j2sdk1.4.2_04/bin:.:/usr/local/bin:/usr/bin:/bin:/cygdrive/c/WINDOWS/system32:...
>
> MS
>
>
> Stephen Chou wrote:
> > I try to install tinydb, but one error appears. The screen output looks
> > like
> >
> > ***********************************************************************************************
> >
> > $ rpm --ignoreos --force -ivh
> > task-tinydb-1.1.3July2004cvs-1.cygwin.noarch.rpm
> > Preparing... ###########################################
> > [100%]
> > 1:task-tinydb ###########################################
> > [100%]
> > Cannot find java and javac - java tools not compiled
> > ************************************************************************************************
> >
> >
> > Actually , PATH has contained the java dir such as
> > ":/cygdrive/c/j2sdk1.5.0/bin". So I am puzzled why the error still
> > occur?
> >
> > Thanks
> > _______________________________________________
> > Tinyos-help mailing list
> > Tinyos-help at Millennium.Berkeley.EDU
> > https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
More information about the Tinyos-help
mailing list