#Building artifact in Intellij IDEA doesnt work?

124 messages · Page 1 of 1 (latest)

late flame
#

Does anyone else have a problem with building .jar artifact in intellij rn?
I am on Linux, created a clean new project and it doesnt work there, a friend of mine uses Windows, same thing.

I created a project like this:

nova galleonBOT
#

This post has been reserved for your question.

Hey @late flame! 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.

late flame
#

And when I go to Build -> Build artifacts -> choose JAR, it doesnt do anything, no error, nothing, as if it just didnt work.

wheat notch
#

Ah no

#

i Build Jars Complete fine for me

#

How Do you know it not working?

late flame
#

Well it doesnt create the .jar nor the artifacts folder and it doesnt print any status / log anywhere.

wheat notch
#

i see

late flame
#

have u tried it in already existing project, or did you make a blank newone?

wheat notch
#

existing project

late flame
#

try new one

wheat notch
#

let me check something 1 sec

late flame
#

it worked for my friend in an existing project too, that already had the artifacts prepared and stuff.

wheat notch
wheat notch
late flame
#

yes.. i know, i told you i followed the guide in the post i sent

wheat notch
#

i see

late flame
#

wait, lemme record a video it would be better i guess?

wheat notch
#

Hm So when you build it not go anyway when not show that it building the artfact or show logs?

#

i read what you say but just checking

late flame
wheat notch
# late flame

Did you write the main class when you make the jar in project structure?

late flame
wheat notch
#

Nvm

late flame
wheat notch
#

you went to Foobar/out/arficat

late flame
#

huh?

wheat notch
#

did you go to this path?

late flame
wheat notch
#

cool

#

oh-

#

Sorry I Really Can't Help with this.

late flame
wheat notch
#

Sorry I Don't Get Your Point Can You Say Your Qusestion in other way?

late flame
#

I am asking if you dont see whats making this issue.

wheat notch
#

Oh no You Should Made all The Steps Correct. For Some reason it don't build

#

try close intellj and open it ¯_(ツ)_/¯

late flame
#

Yea ^^ tried that a few times

wheat notch
#

Reload Whole Pc?

late flame
#

Same.

The weird thing about this is, that my friend is on Windows, and he has the same issue, creates new project and it happens again.

wheat notch
#

or Close Intellj From Task messager

wheat notch
#

when does this issue start happening?

#

only today or what

late flame
#

Well, I dont really code much in Java lately, and he tried to build an artifact after a long time so.. today I guess.

wheat notch
#

hm

late flame
#

Please, can you tell me if you tried making a new project and if that works for you too?

wheat notch
#

You Could Undowload And Dowload Intellj

wheat notch
#

wait

#

Working Fine

#

there is very high chance that your intellj have problem

#

like some missing files

late flame
#

Yea, I believe so. I am 99,9999% sure if I deleted my intellij (all of the data as well, not just the installation), it would work.

#

But I dunno if I wanna do that 😄

#

Okay, I am trying to uninstall / install it again, without removing data first.

wheat notch
#

Huh

#

no

late flame
#

What?

wheat notch
#

yes

#

Without removing data

late flame
#

But I think the issue is somewhere in the intellij settings..

#

not the installation itself.

wheat notch
#

Maybe You Could rest the settings by reintell it

copper warren
#

You can try some less drastic measures first: File -> Repair IDE and File -> Invalidate Caches

late flame
wheat notch
#

Ok then!

late flame
#

lol. it still doesnt work.

#

this is f- crazy

#

am I missing something?

#

i feel like i missed a necessary step or smth

copper warren
#

have you tried building your project beforehand. Does that work ?

late flame
#

Yea I built the project before, didnt help.

copper warren
#

IntelliJ did actually something, an out directory was produced containing the class files ?

late flame
#

yea building project works

#

artifacts not tho

#

OMG

#

I FOUND IT

#

It is intellij bug 99,999%

wheat notch
#

oh

#

so how you gonna fix it?

late flame
#

imma record a video for you

#

its an UI bug

wheat notch
#

I See-

late flame
#

so the issue is, the window that automatically pops up the first time, is somehow bugged and it doesnt work, unless i reselect the artifact

wheat notch
#

oh

#

This werid

late flame
#

Yea.

#

is it the same for you?

#

Or does it work on the first try for you?

copper warren
#

you can try disabling the new UI

late flame
#

Are you not using the new UI?

copper warren
#

I am not

late flame
#

But @wheat notch is, right?

wheat notch
#

Yes

#

i Got no problem with that

late flame
#

Thats so weird.

#

You got the latest version?

#

idk if i should write a bug report somewhere about this.. it seems to only target me and my friend xD

wheat notch
#

How check my intellj verison?

late flame
#

thisi s mine

wheat notch
#

oh no

#

i don't have the new UI

late flame
#

yea

#

so its the new UI bug

wheat notch
#

Ye Wait i remeber soemthing

late flame
#

thats why its beta i guess xD

wheat notch
#

I Was help My Friend to Code Something in java and he was have the New Ui and it elso couldn't build for some reason

late flame
#

Yea, this may be the reason 😄

wheat notch
#

i See-

#

We Hope that We Helped you!

late flame
#

Yes, you kinda did. Thanks.

nova galleonBOT
# late flame Yes, you kinda did. Thanks.

If you are finished with your post, please close it.
If you are not, please ignore this message.
Note that you will not be able to send further messages here after this post have been closed but you will be able to create new posts.