Data processing and analysis in Java — or increasingly in web environments with Spring Boot (a popular Java framework)— is a common approach.
For instance, you can run an initial statistical analysis to get valuable insight into given data or perform the pre-processing or feature extraction of the data for machine learning (ML) use cases.
In addition, many well-known frameworks in the areas of data science, data processing (e.g., Apache Spark), data analysis, data visualization, NLP (e.g., Stanford CoreNLP), or ML (e.g., MOA, WEKA) are for or at least compatible with Java.