Posted in Uncategorized

How to fix ‘javac’ is not recognized as an internal or external command, operable program or batch file

Halo, I just reinstall JDK in my computer. But when I want to compile my code, there was an error. It shows “‘javac’ is not recognized as an internal or external command,
operable program or batch file”.

1

Then, I go to google and found a way. Here the steps. It’s working in mine.
1. Open system properties. Click Run > sysdm.cpl > enter 
Click Advanced tab > then Click Environments Variables 

2

2. Double click in Path. Then click New. Type C:\Program Files\Java\jdk1.8.0_112\bin (or copy paste your bin folder path) then Ok.

3

3. Close and Reopen your cmd

4

 

Author:

Give your best

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s