I'm facing issue while trying to run Apex code in vs code studio, i have installed the jdk 17 set the path check on cmd as well, everything seems fine still in vs code i'm getting this error "Running java command C:\Program Files\Java\jdk-17\bin\bin\java -XshowSettings:prop:
Unable to activate the Apex Language Server - Running java command C:\Program Files\Java\jdk-17\bin\bin\java -XshowSettings:properties -version failed with error: spawn C:\Program Files\Java\jdk-17\bin\bin\java ENOENT
can someone please guide me? Thank you.
I tried reinstallation but still no luck.
C:\Program Files\Java\jdk-17\bin\bin\javathe path is incorrect, note that there are twobinsubdirectories in it.