For purely academic purposes, I'm trying to get the classic Sun JDK 1.0.2 working again (in Docker!). I've gotten old JDKs working before, from 1.5 down to 1.1, but 1.0.2 keeps segfaulting no matter how I try to configure my Docker image. Any tips?
I dont encourage you to try this project in a cgroups compute option like docker containers. There are my reasons:
- older java versions came up with an idea of containing compute power in a JVM that did not depend on the hardware or OS type
- the idea of portability from older java versions
- older java was very slow
- the management of memory and CPU resources from Docker and from the JVM itself
- non existent flgas to restrict or optimize Java use in a server
You're answering a question that was asked 7 years ago. I doubt that Andrew even cares anymore. Though I suspect that the root of the problem was that Docker was running an OS that had changed too much since JDK 1.0.2 was in its prime. Indeed, Docker was probably running a 64-bit OS for an app from the time where 32-bits was the norm.
It was only an academic exercise anyway, so no real loss.
"privilege" comes from the Latin words for "private" and "law" (legal) and dates to feudal times. To "claim privilege" meant that you were above the laws that applied to the common people.