I got closer to my problem maybe someone can beat me before i find solution... so when javac.sh gets called, the file below is executed:
#!/bin/sh /cygdrive/c/Program Files/Java/jdk1.5.0_22/bin/javac.exe $1 $2 $3 `cygpath -w -p $4` if i try to just call /home/ahojat/bin/javac.sh on a java file to see if it forwards it correctly like so: /home/ahojat/bin/javac.sh ClassTest.java ... It says: /home/ahojat/bin/javac.sh: line 2: /cygdrive/c/Program: No such file or directory I realized i needed to add a \ because of the space in "Program Files"; so java.sh file becomes: /cygdrive/c/Program\ Files/Java/jdk1.5.0_22/bin/javac.exe $1 $2 $3 `cygpath -w -p $4` But now when just running simple compilation test on ClassTest.java again says: msgfmt: /home/ahojat/bin/javac subprocess failed Frustrating :( -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple