#run/debug problem

1 messages · Page 1 of 1 (latest)

sour panther
#

Hello guys, I have an issue, I can not run the code in intellij. it says: The file in editor is not runnable. any ideas?

fading cosmosBOT
#

<@&987246399047479336> please have a look, thanks.

sour panther
urban spire
#

What kind of file is it, and what does the configuration look like?

gritty oasis
#

Usually when I get this issue it’s because I haven’t set up a run configuration

#

I would start by searching up guides on how to make configurations in IntelliJ but it will depend on what kind of app you’re trying to run as said above

sour panther
#

Ye i think i havent done that but could not find the way to configure current file settings

gritty oasis
#

What kind of project? Gradle, maven, is it in the terminal, what frameworks?

#

This will all govern how IntelliJ needs the run config to be set up

sour panther
urban spire
#

Yes but Java/Kotlin/Groovy/...

sour panther
#

Java

urban spire
#

does it have a main method?

sour panther
#

yes.

tribal frigate
#

is it saved ? :p

sour panther
#

it was some jdk problem ig. installed jdk 17 and worked perfectly

#

🤷‍♂️🤷‍♂️🤷‍♂️