'Integrated terminal in IDEs are not able to use java and other installed programs even though they are installed

Base Terminal

Integrated Terminal -- Vs Code

I have no idea why this is happening. Is there a way that I can make the integrated terminals have access to the same programs as my standard terminal?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source