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
How to Use the rsync Command to Sync Files and Directories on Linux
The rsync command is one of the most powerful tools in the Linux toolkit for syncing files and directories. Whether...
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...
Average Rating