How to Check Java Version in Linux?
Contents Procedure Open a Linux Command Prompt. Enter the Command Java -Version. If Java Is Installed on Your System, You See a Java Installed Response. Check...
Contents
Procedure
- Open a Linux command prompt.
- Enter the command java -version.
- If Java is installed on your system, you see a Java installed response. Check the version number in the message.
- If Java is not installed on your system, or the version of Java is earlier than 1.6, use YaST to install a compatible version.
How do I check my Java version?
To check your Java Version in Windows 7
- Open the Start menu, and click Control Panel.
- Type Java into the search field and double-click the Java icon. The Java Control Panel appears.
- Click the General tab if it is not already open.
- Click the About button.
How do I know if JDK is installed Linux?
1) Go to Control Panel–>Program and Features and check if Java /JDK is listed there. 2) Open command prompt and type java -version. If you get the version info, Java is installed correctly and PATH is also set correctly. 3) Go to start menu–>System–>Advanced–>Environment Variables.