VPS 및 전용 서버(호스팅 컨트롤 센터) 도움말

How to check my Java version on CentOS

java is a utility program for starting Java applications. It creates a runtime environment, loads the specified class, and then invokes that class's main() method. If the optional -jar command-line parameter is specified, instead of getting the initial class name from the command line, the program reads the initial class from the manifest file within the specified JAR file. There are many command line options available to help configure the runtime environment, like to increase available memory, identify where to find needed classes/libraries, or display the version information.

Warning: GoDaddy's shared hosting accounts do not support Java.
DIFFICULTY Basic - 1 | Medium - 2 | Advanced - 3
TIME REQUIRED 1 min
RELATED PRODUCTS Linux-based VPS or dedicated servers

To find out what version of Java you are using, just pass the -version command-line option to the tool:

java -version

As long as you have classnames set up, there is a second command-line option of -showversion.

java -showversion Test

이 글이 도움되었나요?
피드백을 보내주셔서 감사합니다. 고객 서비스 담당자에게 문의하시려면 지원 전화 번호 또는 위의 채팅 옵션을 이용하시기 바랍니다.
도와드릴 수 있어 기쁩니다! 더 도와 드릴 것이 있나요?
그것 유감스럽습니다. 혼동이 되었던 사항 또는 솔루션이 고객님의 문제를 해결하지 못했던 원인을 알려주세요.