Tho it possible in theory, you shouldn't use this approach and try to call suspend function from Java code, instead, provide Java-friendly API, for example create a function that returns CompletableFuture, there are different integration libraries in kotlinx.coroutines