ParaThe USB stick right in front of me has 64GB capacity.
ParaMy phone has 24.
dreamrealAre you on a constrained system?
rajYes
rajWhy cant i just get a small jdk
dreamrealI mean, I doubt anyone's measured a whole lot, because it's not usually relevant: what JVM version are you targeting, and on what platform, and are you doing development on this system
dreamrealwell, the JDK has a definition and it's pretty encompassing, is why
dreamreala "small JDK" isn't likely to be an actual JDK
rajI m fine with java 8 or above
dreamrealnow, if you want a small RUNTIME image, that's very doable
ParaProfiles were a thing but not really anymore.
rajNo i want small jdk
ParaWhat are you trying to put this jdk into?
dreamrealwell, I've asked what information I'd need, and you've not bothered to answer, so we good. Good luck out there!
rajLinux platform
rajJava 8 or above
rajPreferably less than 50 MB jdk i want
ParaAnd I want to win the lottery.
dreamreal* dreamreal notes the lack of platform, and at less than 50MB, you're not going to get it
rajI did say linux platform
dreamrealbut you left off which processor
dreamrealwhich is kinda important
dreamrealbut less than 50MB, well, sorry
ParaAnd what HDD/SSD/mass storage.
dreamrealjust the way itis
ParaAnd if this is some portable thing meant to be hanged from a pole in the Arctic or just cheap system under the table.
dreamrealwhat you want does not exist
dreamrealeven if you were running it on a raspberry pi, what you want does not exist
rajOk
dreamrealTHEORETICALLY something like it could exist, but nobody is going to put in the work to create and validate it, and even then I'm not sure you'd get it to that size
* simpleauthority_ joined #java
Para88 megs seems to be the bitnami minimal docker image for jdk, and I'd imagine they've ran the thing through the shredder.
javabotcheeser's title: "Replace ASM + Gizmo with the Java Class File API (backport) · Issue #4273 · MorphiaOrg/morphia · GitHub"
nevetReplace ASM + Gizmo with the Java Class File API (backport) · Issue #4273 · MorphiaOrg/morphia
dmlloydnice
cheeseri haven't had a chance to test this theory yet but I know javac will fail if you try to use package java.* but can you edit the classfile and change that package to java.whatever postcompilation the way, say, shading rewrites the packages?
cheeseri.e., can the validator tell you've doctored the classfile to coerce that package name?