Reputation: 1941
I tried typing the name of the bat file (makejar.bat) from the containing direcory from the command line. It gives several errors all containing "'javac' is not recognised as an internal or external command."
Upvotes: 0
Views: 408
Reputation: 1
On CMD--> type--> PATH="c:\Program Files\Java\jdk1.8.0_144\bin"; and then check java path by type "java -version" on cmd and also check on YouTube : -https://www.youtube.com/watch?v=mzAAmJj-W6w
Upvotes: 0
Reputation: 5067
I suppose you are working on Windows, so make sure that your environment variables are properly set:
JAVA_HOME - points to a proper JDK installation
PATH - contains a references to JAVA_HOME, something like: **PATH;%JAVA_HOME%\bin**
This should do it! Make sure to restart the command line you are using after making changes to environment variables.
You can see how to set/add environment variables on windows here.
Upvotes: 1
Reputation: 7105
This sounds like a java class path problem.
You can find the instructions to set the java CLASSPATH on the following Oracle web page.
Upvotes: 1