[Tinyos-help] Cannot find java and javac - java tools not compiled

Michael Schippling schip at santafe.edu
Wed Dec 6 22:43:10 PST 2006


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