I installed a scripts package to have the ability to run a Java regime in Atom editor. But I"m still no able to operation it. Gaining the complying with error message:

"bash" is not well-known as an internal or outside command, operable regimen or batch file

What could be absent here?

I am utilizing Windows 7. The very same editor and also same package runs on Ubuntu without any kind of issues.

You are watching: How to run java in atom


Once Atom environment completes, the launches.From parcel Menu, Navigate to "Settings View". Click the sub menu item "Install Packages/ Themes".Type "script" in the search text box, hit Enter.Look because that a package named "script" (run password in Atom) in the search result and click on install switch in the result pane.Once the package is installed, create a Java record and click Ctrl+Shift+B to run it.P.S -

GitHub desktop is a obligated prerequisite for windows environment.Both the the installers room over 100 MB in size, therefore it deserve to take some time.


Main reason for this concern is scripts package is NOT developed for cross-platform. "bash" won"t be recognised on Windows. Yet we have complying with workarounds to make it work.

It works with adhering to modifications:

Ensure Java path is appended to course variable in setting variables.Set the git bash course in environment variables.

See more: La La Land Another Day Of Sun Lyrics, Another Day Of Sun Lyrics

Now, able to run Java from atom editor. :)

As suggested in other forums, Cygwin could be other far better alternative to obtain bash.



Highly energetic question. Earn 10 reputation (not counting the association bonus) in order to answer this question. The reputation requirement helps protect this question from spam and also non-answer activity.

Not the prize you're looking for? Browse various other questions tagged atom-editor or ask your very own question.

'cmd' is not well-known as an inner or external command, operable program or batch file. Atom editor
site architecture / logo design © 2021 stack Exchange Inc; user contributions licensed under cc by-sa. Rev2021.11.9.40686

your privacy

By clicking “Accept every cookies”, girlfriend agree stack Exchange have the right to store cookies on your an equipment and disclose details in accordance v our Cookie Policy.