Reputation: 4719
On startup jshell shows the version:
Welcome to JShell -- Version 14.0.1
But is there a way to retrieve the version programmatically?
Upvotes: 3
Views: 465
Reputation: 31898
How about executing Runtime.version()?
Runtime.version()