每当我从Cygwin运行以下应用程序时,都会收到以下错误消息。
esrikom@US-00006401 /cygdrive/c/cygwin64/ltng-R232F/ltng/bin
$ ./ltng-decoder
The system cannot find the path specified.
ERROR: Unable to locate valid Java version (1.8 or later required)
答案 0 :(得分:0)
没有适用于Java的Cygwin软件包。
您可以尝试使用Windows版本的软件包,但需要使用cygpath将Windows路径传递给它。
$ cygpath --help
Usage: cygpath (-d|-m|-u|-w|-t TYPE) [-f FILE] [OPTION]... NAME...
cygpath [-c HANDLE]
cygpath [-ADHOPSW]
cygpath [-F ID]
Convert Unix and Windows format paths, or output system path information
Output type options:
-d, --dos print DOS (short) form of NAMEs (C:\PROGRA~1\)
-m, --mixed like --windows, but with regular slashes (C:/WINNT)
-M, --mode report on mode of file (binmode or textmode)
-u, --unix (default) print Unix form of NAMEs (/cygdrive/c/winnt)
-w, --windows print Windows form of NAMEs (C:\WINNT)
....