How can I run a Java program in Atom editor?

  1. Get GitHub Desktop from GitHub Site. Run the installer to complete.
  2. Get Atom Windows installer AtomSetup.exe from Atom Site.
  3. Once Atom installation completes, it launches.
  4. From Package Menu, Navigate to “Settings View”. Click on the sub menu item “Install Packages/ Themes”.
  5. Type “script” in the search text box, hit Enter.
  6. Look for a package named “script” (run code in Atom) in the search result and click on install button in the result pane.
  7. Once the package is installed, create a Java file and click Ctrl+Shift+B to run it.

P.S –

  1. GitHub Desktop is a mandatory prerequisite for Windows environment.
  2. Both of the installers are over 100 MB in size, so it can take some time.

Leave a Comment