Just make sure in what ever PATH you have that the JDK bin appears
before system32. Using "type javac" will verify what exe you are getting.
MS

Faisal Aslam wrote:
> Your path is not properly set in windows. If you will able to do javac 
> in windows prompt then you will also be able to do javac in cygwin.
> Cygwin uses windows path. Hence go to windows setting and in the PATH 
> variable add the directory where javac is located.
> 
> Faisal
> 
> farooq_s wrote:
>> Hi guys,
>>
>> I had earlier resolved the problem of programming the bare Atmega128. 
>>
>> Now there is the problem of javac command. I have installed my java jdk as
>> well as jre in the CYGWIN directory(without spaces). When i run the type
>> java i get the following message-- java is
>> /cygdrive/c/WINDOWS/system32/java.
>>
>> but when i run type Javac it shows this-- bash:type:javac: not found
>>
>> I dont know what else to change, becasue i have set all the paths as:
>> export TOSROOT="/opt/tinyos-2.x"
>> export TOSDIR="$TOSROOT/tos"
>> export CLASSPATH="$CLASSPATH:$TOSROOT/support/sdk/java/tinyos.jar;."
>> export MAKERULES="$TOSROOT/support/sdk/Makerules"
>>
>> I would really appreciate your help!
>>
>> Farooq
>>   
> 
> _______________________________________________
> 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

Reply via email to