I was talking to a farmer last week that raises some commodity products. Between these two alternates the wise choice is to sell and use the money to invest somewhere else. Therefore, young people who decide not to enter that type of business are making a wise decision. If more people had a higher regard for agriculture then a higher percentage of entrepreneurs would go into agriculture. Young people do start farms.
Young people do start software companies.
Both businesses are hard and require brains, motivation, luck and ability. It is a communications problem to alert people of the opportunities for combining agriculture production with the development of market channels. The government can use its bully pulpit to help with this communications problem. All new businesses require capital. It takes convincing people to obtain capital.