Where Is Java Installed?

Read Time:11 Sec

Below are a few commands that can be run to determine where Java is installed on each Operating System:

  • Windows:
    • for %i in (java.exe) do @echo. %~$PATH:i
  • Linux:
    • where java
  • Mac OS:
    • which java

Author

Stewart Schatz

Career: Principal CNC Consultant for Syntax Systems Limited specializing Oracle JD Edwards EnterpriseOne and the technology that supports it. Side Hustle: Owner/Operator of E1Tips.com Location: Lancaster, PA USA  What I like to do: Invest in Family, Explore Technology, Lead Teams, Share Knowledge/Experience, Hunt, Hike, etc.

Average Rating

5 Star
0%
4 Star
0%
3 Star
0%
2 Star
0%
1 Star
0%

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Previous post Quick Tip: IBM Navigator for i Default URL
Next post Quick Tip: Determine Active Directory Account Status From The Windows Commandline