bogdomaniaHello, I'm trying to run a java app from within Intellij, and I get this error "Exception in thread "main" java.awt.HeadlessException:
bogdomaniaNo X11 DISPLAY variable was set.." Can someone point me in the right direction, please?
bogdomaniaRunning Fedora 45 Silverblue, btw
bogdomaniaopenjdk-25 installed
ernimrilbogdomania, are you on linux? windows or mac? X11 is the old windowing system for unix and linux, on linux your desktop typically runs wayland with an xwayland server that satisfies the X11 java wants, but depending on OS and how you run that may not be the case
bogdomaniaFedora 45, linux, wayland
ernimrilare you trying to run java as root / with sudo or something?
ernimrilor is your intellij running in some virtual environment?
bogdomaniano, I'm just trying to run a simple app directly from Intellij
bogdomaniayea, Fedora 45 Silverblue is immutable
bogdomaniaAnd I got Intellij installed as a Flatpack
ernimrilSo, when I asked if you are running inside some virtual environment the answer actually was: yes, with flatpack
dreamrealernimril: ++
neveternimril now has karma of 1.
node1Any one need developer?
dreamrealnode1: that's not the way to get a job here, as we've now said TO YOU at least three times, maybe more
node1:(
node1Then how should I ask? I always try to communicate politely and humbly.
dreamrealYou watch, you watch job boards, you participate, occasionally someone in here will have a need and associate that need with *people they know*
dreamreali.e., I know if I had a need for a parser, I know exactly who I'd talk to in here, and since I know a lot of people in here, I know who's looking and who's not
dreamrealand yes, if you're going "is dreamreal talking about me? I'd be perfect for that!" I am probably talking about you, $person
dreamrealunfortunately, i am not describing an actual need
node1That's exactly what I'm trying to build genuine connections.
node1I know many of you have strong networks and experience finding and having projects.
node1Honestly, I'm mostly working alone with my computer, only a communication means is IRC, and emails. I'm just hoping to connect with people who can trust me, give me an opportunity, and grow together.
bogdomaniaernimril, excellent, it worked, thank you very much.
dreamrealnode1: by saying "anyone hiring?"
dreamrealthat's not telling us ANYTHING but that you're looking
dreamreallook at ernimril and bogdomania here - THAT's the way to get hired
node1yes i understand i just raise casual; but yeah, sorry if it disturbed you.
dreamrealIt doesn't *disturb* me - it's just inefficient and I don't want people to be inefficient
dreamrealHeck, I want you to find a job you want
node1Please. :)
jsmoothHas j2se changed much in 10 years?
jsmoothI was told at some point in the past that there is no j2se or j2ee anymore, but just java..is that true?
jsmoothI learned to write java before 2015. wrote part of a chat server and client, but didin't finish it.
ParaYeah, there's no profiles anymore.
jsmoothDO I need to re-learn for gui development using multi-threading?
ParaEE is under label Jakarta, no JRE/JDK distinction either (besides some weirdo distros enforcing it by making them by themselves). Multiple equal JDK builds from various orgs and companies exist. Doesn't matter much which you use.
jsmoothAren't there official releases anymore?
ParaMulti-threading has advanced leap and bounds, including virtual threads but just the APIs themselves are better. GUI wise awt is pretty much dead, Swing is still usable but I think most at least want to use JavaFX.
ParaBoth Oracle makes JavaSE (not to be confused with the similar name of the old; this one's licensed with a cost) and OpenJDK does its own official releases as well.
jsmoothI could hardl yfind any help when I tried to use javafx.
Para...and other similar articles. Each version has some significant changes, mostly additions.
ParaWhat you know of gc:s from +10 years ago probably doesn't apply anymore :)
jsmoothgcs?
ParaGarbage collectors.
dreamrealerrrr
dreamrealPara: I disagree
Paradreamreal: not as is
dreamrealj2ee and jakarta ee are directly threaded, and while the features are more closely related to what spring would have recommended as far back as 2005, it's still a thing
ParaI sometimes use as an interview question "What do you think is the coolest (relatively) new Java feature?"
MikeBuxPara: i wouldn't know how to answer that :-)
ParaMikeBux: Open ended and slightly unfair questions are nice every now and then :)
MikeBuxyeah, currently looking for a new job, but at my age it gets harder than ever
Parayeah I don't understand the job market currently at all
MikeBuxWell, A.I. seems to kill jobs faster than we thought
ParaWell, yes and no. It definitely has caused overspending and general analysis paralysis.
MikeBuxwell definitely
MikeBuxand now teams get resized
ParaSpend 2x since someone promised 10x to find out you're maybe at 1.5x but you couldn't really even afford 1.2x so now you're just f'd.
MikeBuxi learned that vibe-coding needs skills, but you are faster if you know how
ParaYep. Agent wrangling is definitely a skill.
ParaIt's sort of like herding cats. But there's just singular cat. Who's wired to serve the end result by using all means possible.
jbosmanslol cats herd you, not the other way around
DoofusCanadensisI spent my morning untangling my cat's leash from trees
ParaI almost wanted to ask if your cat is somehow outside the realm of physics to justify that plural but...cats.
DoofusCanadensiscats are always outside the realm of physics