I have a Java installation and I have only access via bash. How can I check the Java version from command line.

Re: Check Python Interpreter Version 80 80

Not familiar with java but your thread title says python so at the command line just type python and the version will be displayed before the prompt. I'm curious as to why you included bash, linux, and mint as tags but not python or java.

Re: Check Python Interpreter Version 80 80

How can I check the Java version from command line.

java -version

Re: Check Python Interpreter Version 80 80

also a possible answer:
python --version

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.