[CMake] Problems Building a Java Project Under Cygwin

Marco Atzeri marco.atzeri at gmail.com
Sun Oct 29 05:54:04 EDT 2017


On 29/10/2017 04:44, R0b0t1 wrote:
> What fails is the compile step, like so:
> 
> javac: file not found:
> \cygdrive\C\Users\R0b0t1\Documents\Code\project\build\CMakeFiles\project.dir\java_sources
> (The system cannot find the path specified)
> 
> Is this due to a change in the path separator?
> 
> On another note, are there any suggestions for building Java projects?
> Everything seems very confusing. I am not very smart.
> 
> Respectfully,
>       R0b0t1.
> 

the Java compiler is NOT a cygwin program, so it has no clue of
\cygdrive.

It will be more easy to use a windows cmake for your Java project


More information about the CMake mailing list