3 ms·
> Then what does the "java" command do exactly, if not run Java applications in some kind of runtime environment? if you're using a normal desktop OS there's n
by jcelerier 6y ago
> Then what does the "java" command do exactly, if not run Java applications in some kind of runtime environment?
if you're using a normal desktop OS there's no system-wide "java" command (anymore (thankfully))
It's just a new iteration of the eternal software cycle :
10: "apps are shipped together with all their libraries / dependencies ! space is wasted / all apps must be upgraded when there is a security issue instead of one single dll ! let's share the runtime/DLLs/whatever which will solve all our issues !"
20: "oh no ! all apps are now dependent on a single runtime/DLL which {does not updates as fast as upstream | must be installed manually by the user who is clueless and will use the competition's software which JustWorks™ instead | causes DLL hell | must be patched to work with my software in a way that would break other software using the same runtime }, let's switch to static linking / bundling everything !"
GOTO 10
- chungy 6y ago> if you're using a normal desktop OS there's no system-wide "java" command (anymore (thankfully)) Just about every Linux desktop, especially with LibreOffice installed, will have a system-wide java command. It is entirely normal and expected.
- jcelerier 6y agoI have libreoffice and definitely not a single java binary in my path.
- kenniskrag 6y agoNot really more space if you do not use all symbols. More info here: https://drewdevault.com/dynlib https://drewdevault.com/dynlib
- simscitizen 6y agoTry running that analysis for iOS apps against the dyld shared cache or for Android apps against the Android system frameworks.
- saagarjha 6y agoMore discussion as to why that treatment is not necessarily easy to interpret: https://news.ycombinator.com/item?id=23654353 https://news.ycombinator.com/item?id=23654353