-
Notifications
You must be signed in to change notification settings - Fork 269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"File not found" for JAVA file with Package - Script #1283
Comments
Even I got the same error. Seem like it's not getting the correct path of the java file. I'm opening from the atom icon.. could that be the cause?
|
Could you check if there are any spaces in the directory names and/or filenames? You can check this by running the script and then showing the output in the new tab (see image below for icon). On mac (where I'm working on, having files and directories with spaces in them is no problem) but earlier this week I assisted someone with the same error: "file not found" on windows. Renaming the folder that had a space in it was a quick fix and afterward, it worked just fine. Only problem is that I don't have windows machine available so I can't do any further testing. |
I was able to get rid of this error by changing the 'Default Current Working Director (CWD) Behavior' to 'Directory of the script', in the 'script' Settings.
PS: |
Should be fixed in #2470. Let me know if it is not. |
I'm not sure why this is happening as I have the latest JDK installed and added the PATH in my Environment Variables. But this is the error I'm getting in Atom AND in my Command Prompt:
JAVA is all extremely new to me (only 2 weeks into the college course I'm taking currently) so I'm at the very bottom of knowing what to do here. (Not to mention, I've barely used Atom.) Do I need to set a PATH variable within Atom as well? I would really like to use Atom over Netbeans as it seems very easy to get things done.
Here's a screen shot of my PATH variables.
The text was updated successfully, but these errors were encountered: