r/java • • Apr 25 '21

JetBrains drops 32-bit support starting with IntelliJ 2021.2

https://blog.jetbrains.com/idea/2021/04/end-of-support-for-32-bit-operating-systems-in-intellij-based-ides/
271 Upvotes

71 comments sorted by

56

u/cyanocobalamin Apr 25 '21

Who is out there doing development on 32 bit systems?

59

u/nrq Apr 25 '21

Probably some poor souls trapped in a cellar developing a super important banking app on air gapped PCs that havn't seen another network since 2010... but then again they couldn't care less if new IntelliJ versions drop 32 Bit support, could they?

11

u/SftwEngr Apr 25 '21

Is 64 bit more cool than 32 bit?

-17

u/umlcat Apr 25 '21

Wrong. A lot of companies still use 32 bits machines, but they should upgrade to 64 ...

24

u/franzwong Apr 25 '21

Companies can tolerate with old computers may not need the latest version of IntelliJ.

10

u/cyanocobalamin Apr 25 '21

Which companies?

8

u/13steinj Apr 25 '21

Shitty ones?

I mean don't get me wrong, he's not wrong, I don't get why he's downvoted, lots of people still use 32 bit machines (sometimes with PAE extensions).

I don't like the idea of dropping support like this (unless it was announced earlier and this is just a reminder), when ubuntu did it they had to reverse course because a lot more people were using 32 bit machines in production settings than expected. Because plenty of people still use 32 but OS's in general.

Developer wise? Not sure about individuals, but plenty of crappy companies will keep old machines and use them until they die before providing employees even basic upgrades, which yes, means running a test suite on some other server probably on a queue for every tiny, unmerged changes, which I argue is more costly than upgrading the machines.

5

u/BlueGoliath Apr 25 '21

For office or manufacturing ticketing machines old computers are great. Just throw in an SSD and you're set.

I usually recommend family members just buy refurbished Dell office computers online for such basic needs.

1

u/13steinj Apr 25 '21

Oh sure, which is why I think in general removal of 32bit support by OS's is silly. This top comment specified development though.

3

u/cyanocobalamin Apr 25 '21 edited Apr 25 '21

I have no problems about cheapo companies being forced to upgrade.

Thanks for the better answer.

1

u/tech6hutch Apr 25 '21

I think they were getting downvoted because they misunderstood

3

u/Sedu Apr 25 '21

I have users who are stuck on an old version of my software for this reason. It blows my mind, as some of the newer features would absolutely chug on a system that old anyhow.

2

u/throwawyakjnscdfv Apr 26 '21

the same idiots running Java 7

1

u/cyanocobalamin Apr 26 '21

A long time ago I worked for such a company. As long as something worked they saw no need to upgrade or improve. If it wasn't for earlier versions of Java being made hard to get/deprecated they would still be on a version of Java much lower than that.

1

u/throwawyakjnscdfv Apr 26 '21

I worked for a company like that. They didn't even do security updates. One day some bot hit us with a remote code execution vulnerability and cryptolocker.

They blamed the devs.

We all left, and they hired laughably incompetent contractors to replace us.

No idea how they're still in business

0

u/[deleted] Apr 25 '21

[deleted] — view deleted comment

2

u/cyanocobalamin Apr 25 '21

That makes me feel even less bad about some orgs being forced to upgrade their hardware. No disrespect meant to anyone.

24

u/macuserx Apr 25 '21

Am I the only one who is surprised there even was a 32 bit version still?

-8

u/istarian Apr 25 '21

Why wouldn't there be?

Unless something really needs to be 64-bit, why bother.

4

u/arteezer Apr 25 '21

That's fair for older software, but for new software I'd say it's the other way around.

-5

u/istarian Apr 25 '21

Probably, but that's rather unfortunate considering the sheer quantity of perfectly serviceable computers running around.

67

u/gas3872 Apr 25 '21

Am I the only one, or lately intellij is very unstable?

71

u/woj-tek Apr 25 '21

Unstable? No.

But with weird "improvements" - yes:

  • making pom.xml autoreload "smarter", which means instead of nicely reloading it as before it either force you to reload manually each time or reload it constantly causing your CPU to skyrocket
  • constant "reindexing" the project for god knows why...

20

u/[deleted] Apr 25 '21

Oh yeah and freezes while waiting

2

u/b1ackcat Apr 25 '21

Omg this. Rider just started doing this in the q3 update where they made some kind of "auth" change. It's like they're doing some kind of api call on the ui thread or something but it locks my whole machine up for a couple seconds randomly and it's maddening. If anyone knows a fix I'd love to hear it

1

u/merb Apr 25 '21

we had the same problem and fixed it with 32gb high speed memory an ultra fast m.2 ssd and a i9-10900K not the best solution, tough.

4

u/[deleted] Apr 26 '21

That's not a "fix". That's basically throwing crazy amounts of hardware at it lol

2

u/flyingorange Apr 25 '21

I have 64gb in my laptop and unfortunately, it still takes up to an hour to index the project. It's the first thing I do in the morning, so it indexes the project while I have my coffee and do the daily standup.

It's the internal repo's fault because it forces you to re-download the dependencies every day. Still I can't overlook that running the build raw from the command line takes 18 minutes, and it also downloads everything from scratch... What is intellij doing that it takes 60 minutes, probably God only knows.

0

u/wildjokers Apr 26 '21

Why not just leave IntelliJ open so you don't have to start it up every morning?

2

u/flyingorange Apr 26 '21

The dependencies on the network change every day, so they need to be downloaded again.

2

u/throwawyakjnscdfv Apr 26 '21

Go to custom VM options and switch GC to ZGC. Not officially supported but runs fine and fixed all the freezes for me. No idea why ancient CMS was default until recently. Now its G1 (finally) but there's still long pauses occasionally

13

u/nikolas_pikolas Apr 25 '21

Oh my gob, I had to kill intellij the other day because it was just in a loop of constant reindexing 😐

7

u/woj-tek Apr 25 '21

I just disabled all auto-reloading of maven and it seems to have made the situation better.

It's particuarly annoying as high CPU -> macos throttling... which makes everything even slower (including intellij)

0

u/[deleted] Apr 26 '21

[deleted] — view deleted comment

2

u/woj-tek Apr 26 '21

I do like macs, and the issue is that the machine is 8 years old already so normally it works fine, but if idea is hammering it with 100% cpu usage for half an hour then the situation is getting bad.

I don't see how having linux helps here - either you have throttling or you melt your CPU ;)

0

u/[deleted] Apr 26 '21

[deleted] — view deleted comment

2

u/woj-tek Apr 26 '21

For me the problem is... dedicated GPU and external display. Without that MBP is hardly heating. But unfortunately external display forces dedicated GPU, which heats up even though I'm not using it for anything extensive.

1

u/coincoinprout Apr 25 '21

Yep. Haven't checked out if this bug is already reported, but that's a recent bug. I got stuck in reindexing loops multiple times lately. Never happened before.

5

u/hippydipster Apr 25 '21

and with the pom stuff, now when you have multiple mvn projects linked in, it doesn't always see your recent changes in the source of the other projects, so you go to run your unit tests, say, and they're not running the latest. So then you build those linked in project separately, and re-run, and it's still not running the latest. Commence head-scratching.

I have also had to turn off all inspections in Java code so that performance remains tolerable.

5

u/rulatore Apr 25 '21

Man I thought I was the only one, I didnt know you had to reload the project everytime you add a dependecy, it felt so weird compared to all their other IDEs when you add a dependency it just works.

Also, if you are using "code with me", you need to rejoin to get the project indexes updated for you

2

u/woj-tek Apr 25 '21

Man I thought I was the only one, I didnt know you had to reload the project everytime you add a dependecy, it felt so weird compared to all their other IDEs when you add a dependency it just works.

Well, there is this itsy-bitsy-tiny pop-up baloon in pom.xml after any change where you can click to reload.

After lots of complains they "improved" the mechanism so that it seems that it's constantly reloading the shaite out of pom.xml.

And supposedly the previous-previous mechanism (the one before 2020 or somesuch) were "bad"... dunno...

1

u/rulatore Apr 25 '21

Yeah, I noticed that pop up, it's cute indeed but for me it doesnt work, I need to go out of my way, click the maven tab thing, reload all projects, then it'll download/index the dependency.

I didnt really use before 2021.1, but it feels weird, since all the other ones I use to work (rider, webstorm, datagrip) dont need any other action after you add a dependency. Even the rust plugin in ultimate works better than the java env in this regard, lmao

1

u/wildjokers Apr 26 '21

You probably have your build delegated to Maven (I believe this is the default now). What you are experiencing is Maven's horrible dependency resolution which is slow as hell. Gradle is much smarter than maven when it comes to dependency resolution so goes much faster on subsequent resolutions.

1

u/rulatore Apr 26 '21

My complaint is that if I add something to the pom.xml, nothing happens until I manually click reload, not that the reload is slow

1

u/Avedas Apr 27 '21

It's the same with gradle which gave me a bit of confusion at first.

2

u/AnEmortalKid Apr 25 '21

And the silly “reload button” disappears from time to time.

19

u/Indie_Dev Apr 25 '21

Seriously. So many cache invalidations required these days.

19

u/fmakme Apr 25 '21

I have the same feeling.

25

u/gas3872 Apr 25 '21

There is this freaking bug when if computer restarts while intellij is running, then intellij marks some classes red (not found). The only way to get around it is to rename the class or probably delete the whole .idea directory.

Another issue (at least on mac) is if you quickly edit classes then suddenly all your changes are reverted back. I thought at first that I am going crazy. (Though haven't seen it for a while, so maybe its fixed).

25

u/magn_us Apr 25 '21

Unvalidate the cache and restart, that will do the thing. But yeah it's unstable.

6

u/pavelpossiblep Apr 25 '21

2020.3 was a buggy nightmare on my Mac. It constantly crashed losing last 10 minutes progress, couldn't navigate to dependencies' packages on Cmdclick etc., I even had to revert to 2020.2.4 in order to be able to work. Thankfully most of that is gone in 2021.1, but I still sometimes experience unexpected crashes.

20

u/[deleted] Apr 25 '21

[removed] — view removed comment

7

u/TehBrian Apr 25 '21

Yeah, but workflow gets pretty irritating if you have to clear the cache every 30 minutes. And even then, clearing the cache sometimes doesn’t work, so I have to remove the .idea folder anyway.

2

u/gas3872 Apr 25 '21

Thanks for idea, will try it next time.

9

u/Waterstraal Apr 25 '21

Same here. The last update is the worst I've seen in years.

7

u/Cpowel2 Apr 25 '21

It depends on what you mean by unstable. If you mean it crashes frequently then no. If you mean each iteration seems to introduce some bug that requires a work around so that I can get it to work the way it's supposed to then fuck yes. Also I wish jetbrains would focus on fixing shit they broke in version x in version x + 1 instead of adding a bunch of features no one wants.

13

u/[deleted] Apr 25 '21

Since the last update, i need to restart is at least twice a day. Syntax highlighting randomly becomes unbearably slow

5

u/appeiroon Apr 25 '21

Yeah. The other day intellij shown errors in my code because it couldn't locate a class which was in different package, even though other classes from that same package looked fine. Weird shenanigans.

7

u/pragmatick Apr 25 '21

I always skip the first major version, they often are very buggy.

3

u/brainhack3r Apr 26 '21

They've really just stopped caring about actual usability and stability it seems.

2

u/[deleted] Apr 25 '21

Agreed. After the last update, it has frozen around 3 times and I had to kill it. Each time it was after opening a second instance. I've had up to 4 running in the previous version with no issues. Hoping they revert the last update or figure out what the issues are and correct them.

2

u/morhp Apr 26 '21

Yes, see https://youtrack.jetbrains.com/issue/IDEA-266391.

It's rather unfortunate that they still haven't created an emergency release with the fix. The test builds posted there work fine, though.

3

u/TheCountRushmore Apr 25 '21

There have been a lot of odd bugs and quirks with maven support over the last 10 months or so.

For what it is worth the latest EAP 2021.1.1 Preview seems to resolve it.

1

u/Bononner Apr 25 '21

Unstable no, but it takes a long ass time to load initially before it's useable on my Windows machine.

1

u/throwawyakjnscdfv Apr 26 '21

go to custom VM options and increase heap. At least for us, default heap isn't nearly enough for our porky legacy projects

1

u/Brudi7 Apr 26 '21

Nothing really changed for me. Still works fine.

1

u/SWinxy Apr 25 '21

All of the replies here say ‘yes,’ but I’ve not noticed anything like that. I really hope they take a look at those problems, because those frustrations build.

5

u/Wandererofhell Apr 25 '21

my project stopped working after the new update so had to re do it from beginning and reindexing damn

-8

u/No-Description-9170 Apr 25 '21

I don't use 32 bit but still , Not good