英文:
Can we install Linux version of Java on Cygwin?
问题
我在Cygwin上运行Java应用程序,但它失败了,因为它指向主机Windows机器上安装的Java。因此,我正在检查是否可以直接在Cygwin上安装Java,理想情况下是Linux版的Java(但我不认为Linux版的Java是可能的)。
请指导。
英文:
I am running a Java application on Cygwin however it is failing since it is pointing to the Java installed on the host windows machine. Therefore I was checking if we can install Java on Cygwin directly, ideally Linux Java (but I do not think Linus version of Java could be possible).
Please guide.
答案1
得分: 1
No it does not work.
As reported at the very beginning of the project Webpage https://cygwin.com/
Cygwin is:
- a large collection of GNU and Open Source tools which provide functionality similar to a Linux distribution on Windows.
- a DLL (cygwin1.dll) which provides substantial POSIX API functionality.
Cygwin is not:
- a way to run native Linux apps on Windows. You must rebuild your application from source if you want it to run on Windows.
- a way to magically make native Windows apps aware of UNIX® functionality like signals, ptys, etc. Again, you need to build your apps from source if you want to take advantage of Cygwin functionality.
英文:
No it does not work.
As reported at very begin of the project Webpage
https://cygwin.com/
> Cygwin is:
> - a large collection of GNU and Open Source tools which provide functionality similar to a Linux distribution on Windows.
> - a DLL (cygwin1.dll) which provides substantial POSIX API functionality.
>
> Cygwin is not:
>
> - a way to run native Linux apps on Windows. You must rebuild your application from source if you want it to run on Windows.
> - a way to magically make native Windows apps aware of UNIX® functionality like signals, ptys, etc. Again, you need to build your
> apps from source if you want to take advantage of Cygwin
> functionality.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论