Skip to content
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

Java code #1369

Closed
HrishiGodina opened this issue Jun 29, 2017 · 2 comments
Closed

Java code #1369

HrishiGodina opened this issue Jun 29, 2017 · 2 comments

Comments

@HrishiGodina
Copy link

I'm not able to run java code in atom editor even though "script" package is installed.

" java - Work.java:7
Error: Could not find or load main class .home.hrishi99.Work
[Finished in 2.384s] "

I'm getting this error.


Linix machine

@professoroakz
Copy link

professoroakz commented Jul 11, 2017

You need to set up the package.

if your folder looks like:
dev/work/test.java

then you should add to your file:
package work;

@aminya
Copy link
Member

aminya commented May 12, 2021

Should be fixed in #2470. Let me know if it is not.

@aminya aminya closed this as completed May 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants