#IntelliJ Won't Run My Program, Not even simple print

64 messages · Page 1 of 1 (latest)

wet locust
#

This is what I have been staring at I don't know what to do

granite elmBOT
#

This post has been reserved for your question.

Hey @wet locust! Please use /close or the Close Post button above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

glad mason
wet locust
#

doesn't run

glad mason
#

IntelliJ doesn't run your program just after save

wet locust
#

I have been clicking it for days

glad mason
wet locust
#

what is PascalCase

glad mason
#

Untitled rename your class to that

wet locust
#

ok I'll do that but my programs that were running won't run

#

I don't think it's a case problem

glad mason
#

Try what I just said and then if it doesn't work we're gonna do some stuff

wet locust
#

still won't run

glad mason
#

okso

#

go to run

#

show me the run config

#

click on that Untitled in title bar

wet locust
glad mason
#

close it

wet locust
#

ok

glad mason
#

click on this

wet locust
glad mason
#

click on run

wet locust
#

nothing

glad mason
#

then go to the terminal

#

bottom left

#

click on that >_ icon

wet locust
#

ok

glad mason
#

type this

#

java -version

wet locust
glad mason
#

and then project structure

wet locust
glad mason
#

go to modules

wet locust
#

so?

#

everything looks normal right?

glad mason
#

yep

#

so

#

the best thing you can do is to go to the designated jetbrains server

wet locust
#

on discord?

glad mason
#

go to sdk

#

oh wait

#

do these

#
javac Untitles.java
java Untitled

wet locust
#

in terminal?

glad mason
#

Yes

wet locust
#

I think I'm just going to uninstall intelliJ and reinstall it

vague coral
wet locust
#

here is how I'll put it

#

the java files that worked fine for me for months are not running just like I showed

#

and in fact my laptop are running them

#

but not my desktop

#

I deleted intellij and I'm reinstalling it

vague coral
#

oh your project felt a bit wrong

#

no pom xml

#

and other stuff

wet locust
#

i fixed it with reinstallign