With recent technological advances in wireless networks and the Internet, social media has become a vital part of the daily lives of people. Social media like Twitter, Facebook, and Instagram have enabled people to instantly share their thoughts and ideas about a particular topic or person's life. Emotion classification in Twitter data remains a hot search topic in the field of artificial intelligence (AI). Though several models have been developed for tweet data in English, it is still needed to develop an effective tweet emotion classification for the Japanese language. In this aspect, this work develops a new artificial intelligence with an Optimal Long Short-Term Memory-Based Japanese Tweet Emotion Classification (OLSTM-JTCC) model in wireless networks. The proposed OLSTM-JTCC technique aims to examine emotions and categorises them into proper class labels. The proposed OLSTM-JTCC technique initially employs the TF-IFD model for the extraction of feature vectors. Besides, the OLSTM model is used to classify the tweet data into different types of emotions that exist within it. In order to improve the classification capability of the LSTM model, the Henry gas solubility optimization (HSGO) algorithm is applied as a hyperparameter optimizer. The performance validation of the OLSTM-JTCC technique took place using Japanese tweets, and the comparative results highlighted the better performance of the OLSTM-JTCC technique in terms of different measures.