Windows

  1. Open CMD prompt
  2. where java