Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想确定我的 Liberty 服务器的 JRE。是否有一个简单的命令可以用来执行此操作?
./bin/服务器版本
它将向您显示正在运行的 liberty 版本,以及服务器配置使用的 JDK/JRE 版本。
输出(我在 Mac 上)看起来像这样:
Java HotSpot(TM) 64 位服务器 VM 上的 WebSphere Application Server 8.5.xx (1.0.x.xxxxxxxxxx),版本 1.6.0_65-b14-462-11M4609 (en_US)