Form Java and realtime signal processing a paradox?

Should one use C++ instead of java?

The basic idea is this:
1 get a sound into the comp (mic)
2 convert A -> D
3 do something with this...