Check Java path set not Unix

Check Java path set not Unix

To execute java on Linux first you will have to check if java path has been set or not. You could use below command to check if its in class path or not:

$ java : If its in class path you see below:
Check Java path set not Unix

  • To check javac is in classpath or not:

$ javac: If its in class path you will below details:
Check Java path set not Unix

  • For more details please visit this oracle tutorial link

Leave a Reply

Your email address will not be published. Required fields are marked *