Having installed the jdk
I get a message in the window of the
system symbol "javac is not recognized as an internal command or external "
I do not know what else to do but someone give me a solution
Having installed the jdk
I get a message in the window of the
system symbol "javac is not recognized as an internal command or external "
I do not know what else to do but someone give me a solution
If you are working on Windows you should proceed as follows
C:\Program Files (x86)\Java
After that enter the folder that is inside, until the cap called bin, the route should be similar to this
C:\Program Files (x86)\Java\jre1.8.0_181\bin
Finally this route must be registered, in the environment variables, so that it is available for the whole system:
For the previous step, you have two options
User Variables-> This option will allow you to configure a command such as java
or javac
only for your session
System variables- > We will use this option to leave the commands available from any user session started
Path
Eye that is called as such
C:\Program Files (x86)\Java\jre1.8.0_181\bin
You should bear in mind that if your operating system is Windows 10, for example, it is enough to Click on edit and add to add the path to the system variables
Otherwise, it should look similar to this
ruta_deotro_programa_que_tengas;C:\Program Files (x86)\Java\jre1.8.0_181\bin
That is to say as you can notice we separate the route of a program from another one by means of the semicolon ( this is necessary only if the SO is inferior to WIN10 )
Final result
C:\Users\User>java -version
java version "1.8.0_181"
Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
Java HotSpot(TM) Client VM (build 25.181-b13, mixed mode)