Script package and java


#1

Hi,
I’m new on Atom and I use it to code Java. I saw that a package called “script” allows us to run the code in Atom. But when I try to run it, always the same error message :
> ‘javac’ is not recognized as an internal or external command, operable program or batch file.

I’ve tried to add manually the path to the environement variables ( like said on the website ) and it never run that code and send the same message.

I’ve also added something like this :
runner:
extensions:
“java”: “javac”
(with the spaces required) in the config.cson

May you have a solution to my problem,
Theo711


#2

What happens when you open up the command prompt and type javac?


#3

it displays a list of comands


#4

Sorry for being such dumb, i’d just forgotten to add .java to my program name. Thanks for your help :smile: