开发者

ant to detect FreeBSD

Is there a way to detect FreeBSD with ant. I used o开发者_如何学Gos.name it shows it as Linux. I want to differentiate between FreeBSD and Linux.


Would using uname -a be good....you can do it this way....

uname -a | grep FreeBSD


If your JDK is a Linux version running under emulation, instead of a FreeBSD-native one, that could explain the OS being reported as Linux.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜