The problem is that my computer is looking in the wrong place for java. I don't know how to get it to look in the correct place.
When i type: javac -version in my command prompt it tells me the version is jdk 13. It is looking in the correct path which is
C:\Program Files\jdk 13\bin
or something like that
however when I type: java -version it says that nothing can be found in
C:\Program Files (x86)\Java\jre1.8.0_241\lib\i386\jvm.cfg
this is not the right directory
SO how can i tell my computer to go to the right place when trying to run my program?