NB: This information may vary from place to place, but is to the best of my knowledge accurate across all Berne Convention signatories (which is most of the civilised world). However, I'm not a lawyer; all I'm doing is espousing my knowledge to date. If this information is critical to your business, hire a lawyer who specialises in this.
The simple rule is: unless you have a good reason not to, assume that someone else owns whatever it is you're trying to use, and that you require permission to use it.
- Programming languages cannot be copyrighted. At least, not in the EU, and I think it's a reasonable position to take anywhere else. So you're not going to need to licence for the abstract language itself, anyway.
- Programs, such as the operating system you use, the editors/IDEs you use, any compilers you use, the web server you use, the database software you use, etc., will require you to have a licence. Some of these may be available free of charge. Some will not. Some may have additional terms of use (e.g. you may not be able to use your compiler to develop a competing compiler.)
- External services, such as Google Maps, will require a licence. This may (and probably will) require payment.
For more details, you need to look at the terms and conditions of each product individually. If you cannot find the terms and conditions for a product, the safe bet is that you're not allowed to use it.