Where Is Java Installed?
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
More Stories
Quick Tip: Determine Active Directory Account Status From The Windows Commandline
Use the following command to Determine Active Directory Account Status from the Windows Commandline without Powershell or any special software....
Windows God Mode… What!?!
Windows God Mode is a hidden feature in the Windows operating system that allows users to access all of the system’s control panel options and settings in a single place.
A Better SMTP Test
Several years ago, I posted about an SMTP Test that I was using. Well, lately, I've needed something with a...
How To Kill All Processes With The Same Name On Windows
The taskkill command can be used many different ways to end or kill running processes on Windows Server 2012 and...
How To Change The WebLogic Admin Password Using WLST
Follow the steps below to change the WebLogic Administrator's password using WLST: /u01/Oracle/Middleware/Oracle_Home/oracle_common/common/bin/wlst.sh connect('weblogic','welcome1','t3://SERVER_NAME:7001') cd('/SecurityConfiguration/DOMAIN/Realms/myrealm/AuthenticationProviders/DefaultAuthenticator') cmo.resetUserPassword('weblogic','welcome2') exit() You should now...
Quick Tip: How To Set Environment Variables On Linux
I ran into this the other day and need to make note of it so.... The commands used to set...
Average Rating