3 ms·
Unfortunately the license is necessary. Without a license the code is covered by copyright by default, making any redistribution or usage of the code a copyrigh
by asomiv 15y ago
Unfortunately the license is necessary. Without a license the code is covered by copyright by default, making any redistribution or usage of the code a copyright violation. Although a one-liner "do whatever the fuck you want" "license" is sufficient for redistribution or usage, it gives other people the opportunity to sue Oracle if the code somehow causes any kind of damage. Granted, it's just a Hello World, but in the US anybody can sue anyone for anything so I'm sure some jerk can come up with a stupid reason to sue someone over a Hello World. All this has made lawyers extremely careful.
- ceejayoz 15y agoSure, but if there was ever code that deserved the WTFPL[1], this would be it. That's assuming this sort of example code is even copyrightable. [1] http://sam.zoy.org/wtfpl/
- ben1040 15y agoI'm surprised it's missing the standard stipulation that the code is not to be used in nuclear facilities or life support systems, and that it not be exported to Iran, Cuba, Syria, or North Korea.
- nettdata 15y agoThat's part of the overall license you sign/agree to when you pay for the licenses or download it from their site.
- zokier 15y agoAny code is not automatically covered by copyright. Copyrighted work needs to pass the threshold of originality, and an Hello World probably won't.