Hacker News new | past | comments | ask | show | jobs | submit login

I generally do install JDKs as root from the system's package manager. This is primarily due to the system integration that it provides.

However, I often keep a collection of older versions and different patch levels in my home directory. These work fine for testing with the non-openjdk distributions for compatibility purposes.

I wasn't familiar with the icu library issue, so maybe it is something straightforward, but it seems odd that the fix was an env var. I certainly wouldn't say something like "welcome to linux" because of a scenario like this.




> I often keep a collection of older versions and different patch levels in my home directory.

And they are obviously going to work because you’ve satisfied all the main OpenJDK dependencies through the install with your package-manager.

If you repeat your own scenario with the .NET SDK instead, you will have the exact same experience.


That's actually not true. They'd work even if I removed the main one.

Its how I did it before the distribution packaged OpenJDK, which really wasn't that long ago.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: