#Building artifact in Intellij IDEA doesnt work?
124 messages · Page 1 of 1 (latest)
⌛ This post has been reserved for your question.
Hey @late flame! Please use
/closeor theClose Postbutton 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.
And then I followed these few steps in the "package into jar" section:
https://www.jetbrains.com/help/idea/compiling-applications.html#package_into_jar
And when I go to Build -> Build artifacts -> choose JAR, it doesnt do anything, no error, nothing, as if it just didnt work.
hm
Well it doesnt create the .jar nor the artifacts folder and it doesnt print any status / log anywhere.
i see
have u tried it in already existing project, or did you make a blank newone?
existing project
try new one
let me check something 1 sec
it worked for my friend in an existing project too, that already had the artifacts prepared and stuff.
the photo you send it when you create the project not when you create a jar
Before you do that you frist check project structure?
yes.. i know, i told you i followed the guide in the post i sent
i see
wait, lemme record a video it would be better i guess?
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
Did you write the main class when you make the jar in project structure?
I am confused?
Nvm
this. could you try it in a new blank project?
you went to Foobar/out/arficat
huh?
did you go to this path?
as in, you dont see why is this happening?
Sorry I Don't Get Your Point Can You Say Your Qusestion in other way?
I am asking if you dont see whats making this issue.
Oh no You Should Made all The Steps Correct. For Some reason it don't build
try close intellj and open it ¯_(ツ)_/¯
Yea ^^ tried that a few times
Reload Whole Pc?
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.
or Close Intellj From Task messager
Huh
when does this issue start happening?
only today or what
Well, I dont really code much in Java lately, and he tried to build an artifact after a long time so.. today I guess.
hm
Please, can you tell me if you tried making a new project and if that works for you too?
You Could Undowload And Dowload Intellj
1 sec
wait
Working Fine
there is very high chance that your intellj have problem
like some missing files
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.
What?
But I think the issue is somewhere in the intellij settings..
not the installation itself.
Maybe You Could rest the settings by reintell it
You can try some less drastic measures first: File -> Repair IDE and File -> Invalidate Caches
:0 Don't get this idea lol
Didnt help. I am gonna backup intellij configuration/data and try to completely reset the settings and see what happens.
Ok then!
lol. it still doesnt work.
this is f- crazy
am I missing something?
i feel like i missed a necessary step or smth
have you tried building your project beforehand. Does that work ?
Yea I built the project before, didnt help.
IntelliJ did actually something, an out directory was produced containing the class files ?
yea building project works
artifacts not tho
OMG
I FOUND IT
It is intellij bug 99,999%
I See-
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
you can try disabling the new UI
Are you not using the new UI?
I am not
But @wheat notch is, right?
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
How check my intellj verison?
Ye Wait i remeber soemthing
thats why its beta i guess xD
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
Yea, this may be the reason 😄
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.