8000 Not Being able to compile Java projects without Main class. · Issue #403 · thebaselab/codeapp · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Not Being able to compile Java projects without Main class. #403

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

Closed
CodeStrate opened this issue Apr 1, 2022 · 2 comments
Closed

Not Being able to compile Java projects without Main class. #403

CodeStrate opened this issue Apr 1, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@CodeStrate
Copy link

I have a file, suppose PriorityQueueDemo, with one class of the same name, I can't run it since it says no main class found.

Please fix it

@bummoblizard bummoblizard added the bug Something isn't working label Apr 1, 2022
@caffed
Copy link
caffed commented Apr 4, 2022

The main entry point is required by the JVM https://docs.oracle.com/javase/specs/jls/se11/html/jls-12.html#jls-12.1.

Also stating "Please fix it" without any suggestions is rude and will not help your cause.

@CodeStrate
Copy link
Author

The main entry point is required by the JVM https://docs.oracle.com/javase/specs/jls/se11/html/jls-12.html#jls-12.1.

Also stating "Please fix it" without any suggestions is rude and will not help your cause.

There is a main entry point and my program mostly only runs when I rename my class to Main and file to Main.java .
I mostly face issues with Java codes in the App.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants
0