Okay, I solved the problem with this solution. All I needed to do is to install Cygwin. After it was installed, I needed to install ANT on Cygwin like this. Afterwards, I had to configure java in Cygwin.
And now a new detail for me(maybe the reason why the -classpath
command didn't worked for me in the third step of Generate Javadoc in Eclipse). I had to open the javadoc.xml and saw this line:
<javadoc [...] additionalparam="-classpath C:\Progra~2\Android\android-sdk\platforms\android-10\android.jar" classpath="C:\Program Files (x86)\Android\android-sdk\tools\support\annotations.jar" [...]/>
The additionalparam is my own of the third step of Generate Javadoc. I took that path and put it into the classpath="" ... That's it. Maybe someone could say how to configure the classpath in Eclipse manually, because I couldn't find something.
Allright, now switched to the folder of the javadoc.sh
and run that file with sh javadoc.sh