Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

dogslobber

macrumors 601
Oct 19, 2014
4,670
7,809
Apple Campus, Cupertino CA
Java programs that use Intel Java don't run that well. I suspect that Java uses a JIT and that that code has to get translated every time as it's not fixed.

I've found that large WINE/CROSSOVER programs don't run well through Rosetta 2.

Unfortunately these are two important program area in my workflow so I run them on Windows.
Yeah, no. Java is the modern day Flash so needs to go away. I won't install it on my shiny M1 MBA.
 

leman

macrumors Core
Oct 14, 2008
19,522
19,679
That was it’s mantra in the hey day but it’s a security nightmare nowadays due to being riddled with issues. To me it’s only secure when not installed.

You are talking about Java in the browser. Java for desktop is a different thing. Regardless, in my experience Java programs are usually of terrible quality (because they are written by companies with certain types of culture) and are really more hassle than it's worth.
 
  • Like
Reactions: jdb8167

dogslobber

macrumors 601
Oct 19, 2014
4,670
7,809
Apple Campus, Cupertino CA
You are talking about Java in the browser. Java for desktop is a different thing. Regardless, in my experience Java programs are usually of terrible quality (because they are written by companies with certain types of culture) and are really more hassle than it's worth.
I think Java in the browser died in the 2000s but when Oracle took over it used to get a JDK point release what felt like weekly and sometimes daily, so it wasn't viable in my mind. I used to fiddle with Java apps on the desktop but got to the point there they all look horrible on the Mac. It's not as bad as Electron stuff but not for me.
 

robco74

macrumors 6502a
Nov 22, 2020
509
944
Java on the desktop is a bit of a slug, but I'm pretty sure that Java is still pretty popular server side. Still nice for developers to have a native JDK.
 
  • Like
Reactions: Tagbert and jdb8167

ADGrant

macrumors 68000
Mar 26, 2018
1,689
1,059
Ugh, so they are distributing their own custom version of the JDK? Why? That's why we can't have nice things...

I mean, I totally understand that upgrading can be a huge effort. But that's why one designs things in a way that allow easier maintenance...

The reason they are distributing their own JDK is they want their software to run on a JVM that they support. By installing the JVM themselves, they ensure this.

It also has the benefit of making the app installation simpler for users.
 
  • Like
Reactions: Tagbert and pshufd

ADGrant

macrumors 68000
Mar 26, 2018
1,689
1,059
Java on the desktop is a bit of a slug, but I'm pretty sure that Java is still pretty popular server side. Still nice for developers to have a native JDK.
Java is very popular for Enterprise server side development. There is still quite a bit of client Java software out there too, particularly development tools. The JetBrains IDEs are all Java based (though some have a native C++ component).

Then there is Android of course. Most popular client platform globally. Most apps are written Java (or the closely related Kotlin). C++ is used mostly for games on Android and iOS.
 
  • Like
Reactions: Tagbert

SlCKB0Y

macrumors 68040
Feb 25, 2012
3,431
557
Sydney, Australia
I spoke to a developer and he said that it probably wouldn't work but that he'd be interested in what I found. They apparently do their own private installation of the Intel OpenJDK and we couldn't find it on my Mac.
When they do this, they usually bury it within the app bundle that ends up in /Applications.

Software like Filebot and Cyberduck do this. I was wondering why Cyberduck (a simple remote server connection app - ftp, scp, AWS etc) was 150mb. It's because it includes it's own JRE.
 

pshufd

macrumors G4
Oct 24, 2013
10,151
14,574
New Hampshire
When they do this, they usually bury it within the app bundle that ends up in /Applications.

Software like Filebot and Cyberduck do this. I was wondering why Cyberduck (a simple remote server connection app - ftp, scp, AWS etc) was 150mb. It's because it includes it's own JRE.

Yup. It's in a hidden subdirectory off their own bundle which is why I had so much trouble finding it.
 

leman

macrumors Core
Oct 14, 2008
19,522
19,679
The reason they are distributing their own JDK is they want their software to run on a JVM that they support. By installing the JVM themselves, they ensure this.

It also has the benefit of making the app installation simpler for users.

I have no problem with apps distributing the JRE, it is indeed simplifying things for the user. But using a custom JRE with incompatible custom extensions is something different.
 

pshufd

macrumors G4
Oct 24, 2013
10,151
14,574
New Hampshire
I have no problem with apps distributing the JRE, it is indeed simplifying things for the user. But using a custom JRE with incompatible custom extensions is something different.

They distribute Azul which appears to be the replacement for Oracle. It appears to be widely used as they provide support and updates including support for Apple Silicon.

They distribute a Java-only version for systems that they don't natively support. Asking the typical user, though, to type in sudo java -jar launcher.jar is a bit much.
 

ADGrant

macrumors 68000
Mar 26, 2018
1,689
1,059
They distribute Azul which appears to be the replacement for Oracle. It appears to be widely used as they provide support and updates including support for Apple Silicon.

Yes, Oracle recently changed their licensing approach to their official Java distributions. Everyone is now switching to open source alternatives. Azul is becoming the de facto standard.
 

Tagbert

macrumors 603
Jun 22, 2011
6,261
7,285
Seattle
There is a pinned thread on the programs that are native and universal. I wish that there was a section for programs that haven't been ported yet as well. The Monterey forum has a list of programs that work and programs that don't work in one thread which I found useful.
Have you checked this site that lists whether apps are ready for Apple Silicon or not? It is updated regularly and you can search for apps.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.