reset password
Author Message
megazero243
Posts: 6
Posted 21:40 Feb 04, 2018 |

Hello I am a bit confused on what to do after i have installed the JKD onto my laptop. I have already installed all the software that was required but when i go to run my code in the command prompt all it says is javac is not recognized as an internal or external command, operable program or batch file. if there is something that is missing I could use some help thank you.

joshprz11
Posts: 2
Posted 21:59 Feb 04, 2018 |

https://youtu.be/Uxlb-s-sxGU

jhurley
Posts: 207
Posted 07:15 Feb 05, 2018 |

look up instructions for adding the path to javac to your system path

in the meantime, if you find the path (in WIndows, it will probably start with c:\program files\java) you can type it out before the javac and java commands (eg c:\"program files"\java\jdk [stuff omitted here] \bin\javac MyClass.java).  Windows Explorer, Mac Finder, etc. are helpful in figuring out the location of javac and java.  I think find / -name javac would also work on a Mac.

Last edited by jhurley at 07:17 Feb 05, 2018.
megazero243
Posts: 6
Posted 07:23 Feb 05, 2018 |

I was trying to follow the steps from the video yesterday but when I got to the part about adding the path in the environmet variables it was diffeent since my laptop is Windows 10