Updated: Jul 9
Every time one wants to start a new project, usually the requirements for solving the problem have to be faced. Which server should i pick, which database to take and which programming language should i use? The last question will be subject of this article. there a lot of measurements one can help to see if a programming language is fitting or not, so lets get started.
Popularity Among Developers
As soon as celebrities do something interesting or are likeable, the internet, magazines and people do start talking about them. The same goes for a programming language. If a programming language has a nice syntax, is less verbose or is fast, people most likely start talking about it, asking questions about it, get in touch with it and finally picking it for the next project. All this benefits the reputation of a programming language. The website tiobe.com for example analyzes the result count of search queries of many search engines like Google or Bing to measure the popularity of a programming language.  A similar approach is documented on pypl.github.io by measuring search results of tutorials on Google only.  redmonk.com on the other hand measures the activity of posts tagged with the specific programming language on stackoverflow and on the other hand repositories scanned and tagged on Github. 
If a software has or had a bad reputation, it is very hard to get rid of it. It takes lots of years to change peoples perception about a product, a good example is the new Microsoft Edge web browser, it also uses the same Chromium browser, like Google chrome does, but it is still considered slow because of the former implementation and the Internet Explorer. the same goes for Java, before the introduction of the just in time (jit) compilation in Java, code was interpreted and not compiled, execution times and the start up times were very slow. with the release of Java 1.2 the jit compiler was only a slight improvement but advanced in every new major release of the next releases. today measurements show that java is one of the fastest programming languages (top 5). Yet, Java is considered slow. The aftermath is still present nowadays. Nevertheless, the popularity is still sufficient to be one of the most popular programming languages (top 5), based on the Stack Overflow survey in 2021.  But to be fair, Java is being loved and hated at the same time  and the popularity is going down over the last 10 years. 
Another metric is to count the job offers from different websites. Counting the offers by programming language shows how high the demand of a specific programming language can be. The british website itjobswatch.co.uk shows the demand for programming in the United Kingdom.  Here Java is also a highly requested language (top 5). Linkedin has a similar statistics showing Java also in the top 5. 
Sadly there is no data of people actually accepting these jobs. Some of the vacancies might be online with no actual candidates applying to these open positions. It could be useful to see this information like ebay does. one can search for successfully finished auctions to see the real value of a product, in our case the programming language.
Last of all one can have personal preferences for choosing a programming language. A developer might be very confident with a language and therefor is more effective than picking a new programming language for every upcoming project and that might be one reason to stick to an already personally preferred language. In my personal working space we call this the comfort zone.
Habits and experience can be strong arguments picking the same programming language, but one shouldn't overdo this. Sticking with the same language for a too lange time can cause the opposite. You can get blind for things evolving around you, ending as the last action script developer of the extinct Adobe Flash.  Try sometimes to read about upcoming changes in your preferred programming language, but also look up what others do and prefer.
So all in all it is not that easy picking the perfect programming language for a project. The decision can depend on requirements, experience, personal taste, open market situations or other factors. as long as you do a little research and do a decision open minded you can avoid choosing a language which slows you down or is even a deadlock in a future state. be careful and curious.