#Launch error: "editor does not contain a main type"
1 messages · Page 1 of 1 (latest)
<@&987246399047479336> please have a look, thanks.
While you are waiting for getting help, here are some tips to improve your experience:
If nobody is calling back, that usually means that your question was not well asked and hence nobody feels confident enough answering. Try to use your time to elaborate, provide details, context, more code, examples and maybe some screenshots. With enough info, someone knows the answer for sure.
Don't forget to close your thread using the command </help-thread close:1027500463647621170> when your question has been answered, thanks.
If needed I can send the file itself
can you show us the whole error
no I shouldnt have any
how do you run then?
yeah with a run configuration right?
ok
send a screenshot of the whole application
im not the brightest
im not really familiar with eclipse, used it long time ago
next to the run button there is a button to open up some kind of menu
click that and show what it opens
you should not click run
oh whoops
click the down arrow on the right side next to it
can you somehow open up settings for that configuration?
I dont know how to in eclipse
so just change the main class to bleee?
yeah
or instead make a new configuration
or right click on your main method and click on run as > java application
if thats possible in eclipse
so i changed it to bleee and it still does the main type error
hm just looked it up and some say this
maybe do this but instead right click the file in the file explorer and then run as > java application
can you show your project file explorer
i saw something saying that they had this problem but when they opened it up on a different computer it worked
idk maybe itll work :3
ok but to you does my code visually have anything wrong with it?
instead of screenshotting code just paste it here with this explained format
would it juat be better to send the file itself??
you can aswell, the bots auto upload feature will take care of it
make it easily accesible for others via github gists
ill just do both
and you now deleted the gist
wha
oh
kinda misleading saying dismiss instead of delete
is it alright if i post it again?
yeah
I uploaded your attachments as Gist.
first thing I notice is that your @Override is lowercase which should be upper case
the rest is working
eclipse bad 💀
just use intellij lmao