79633674

Date: 2025-05-22 11:52:32
Score: 1.5
Natty:
Report link

Finally this problem is solved. Thank you to @RobSpoor for his suggestion.

I ran Get-Command java in PowerShell and it pointed out java source to below below directory.

C:\Program Files\Common Files\Oracle\Java\javapath . When I checked my PATH variable this directory path was included in the path. After removing it my java and javac are now pointing to JDK1.8.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Has code block (-0.5):
  • User mentioned (1): @RobSpoor
  • Self-answer (0.5):
Posted by: GD_Java