3 ms·
> I think it’s funny to use java as an example when jar files have been around forever. ? Jar files are not a self-contained, single binary (executable). I c
by paulddraper 8y ago
> I think it’s funny to use java as an example when jar files have been around forever.
?
Jar files are not a self-contained, single binary (executable).
I can't
curl -o binary http://example.org/binary
./binary
- salmo 8y agoIn reality, you can't do that with these either. You have to have the runtime installed before your example works. It's really not much better than running a fat jar that contains all of its dependencies. curl -o binary.jar http://example.org/binary.jar java -jar binary.jar This is more like a self-extracting shell script, but more opaque.
- paulddraper 8y agoYou might be right, but documentation says "self-contained". How is it self-contained if it's not self-contained?