You are comparing apples to oranges. Java Streams is used for processing data in process much like .Net Linq. See this blogpost for a comparison.
Azure Stream Analytics is a cloud service that lets you analyse a vast amount of incoming real-time data (like thousands of events from different IoT sensors) and apply transformations to that data while outputting it to a destination like a file or a reporting tool and much more.
You see any similarities? No? Well that's because you cannot compare them like that.
About Azure Stream Analytics being able to leverage Java: I don't know. It uses a language on its own to write a stream processing job. See the docs.
The apache counterpart that supports Java would be Apache Storm or Spark (I am not that familiar with those products), see also Azure Storm vs Azure Stream Analytics