You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I upgraded my installation by pulling from the repository and adding my JDKs back. Now commands like javac or jshell don't work.
❯ java -version
openjdk version "11.0.14.1" 2022-02-08
OpenJDK Runtime Environment Temurin-11.0.14.1+1 (build 11.0.14.1+1)
OpenJDK 64-Bit Server VM Temurin-11.0.14.1+1 (build 11.0.14.1+1, mixed mode)
❯ javac
javac: The term 'javac' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
❯ jshell
jshell: The term 'jshell' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Since the java command is processed through java.bat, I guess every command needs its own bat file now?
The text was updated successfully, but these errors were encountered:
Yea thats right. It was just a matter of time till someone asks that question. You have to copy java.bat rename it to javac.bat and replace any "java" inside with "javac"
When I fixed your other issue I will create a command to add these batch files automatically
Hi, thanks for the great tool.
I upgraded my installation by pulling from the repository and adding my JDKs back. Now commands like
javac
orjshell
don't work.Since the
java
command is processed throughjava.bat
, I guess every command needs its own bat file now?The text was updated successfully, but these errors were encountered: