https://kotlinlang.org logo
Join the conversationJoin Slack
Channels
100daysofcode
100daysofkotlin
100daysofkotlin-2021
advent-of-code
aem
ai
alexa
algeria
algolialibraries
amsterdam
android
android-architecture
android-databinding
android-studio
androidgithubprojects
androidthings
androidx
androidx-xprocessing
anime
anko
announcements
apollo-kotlin
appintro
arabic
argentina
arkenv
arksemdevteam
armenia
arrow
arrow-contributors
arrow-meta
ass
atlanta
atm17
atrium
austin
australia
austria
awesome-kotlin
ballast
bangladesh
barcelona
bayarea
bazel
beepiz-libraries
belgium
berlin
big-data
books
boston
brazil
brikk
budapest
build
build-tools
bulgaria
bydgoszcz
cambodia
canada
carrat
carrat-dev
carrat-feed
chicago
chile
china
chucker
cincinnati-user-group
cli
clikt
cloudfoundry
cn
cobalt
code-coverage
codeforces
codemash-precompiler
codereview
codingame
codingconventions
coimbatore
collaborations
colombia
colorado
communities
competitive-programming
competitivecoding
compiler
compose
compose-android
compose-desktop
compose-hiring
compose-ios
compose-mp
compose-ui-showcase
compose-wear
compose-web
connect-audit-events
corda
cork
coroutines
couchbase
coursera
croatia
cryptography
cscenter-course-2016
cucumber-bdd
cyprus
czech
dagger
data2viz
databinding
datascience
dckotlin
debugging
decompose
decouple
denmark
deprecated
detekt
detekt-hint
dev-core
dfw
docs-revamped
dokka
domain-driven-design
doodle
dsl
dublin
dutch
eap
eclipse
ecuador
edinburgh
education
effective-kotlin
effectivekotlin
emacs
embedded-kotlin
estatik
event21-community-content
events
exposed
failgood
fb-internal-demo
feed
firebase
flow
fluid-libraries
forkhandles
forum
fosdem
fp-in-kotlin
framework-elide
freenode
french
fritz2
fuchsia
functional
funktionale
gamedev
ge-kotlin
general-advice
georgia
geospatial
german-lang
getting-started
github-workflows-kt
glance
godot-kotlin
google-io
gradle
graphic
graphkool
graphql
graphql-kotlin
graviton-browser
greece
grpc
gsoc
gui
hackathons
hacktoberfest
hamburg
hamkrest
helios
helsinki
hexagon
hibernate
hikari-cp
hire-me
hiring
hongkong
hoplite
http4k
hungary
hyderabad
image-processing
india
indonesia
inkremental
intellij
intellij-plugins
intellij-tricks
internships
introduce-yourself
io
ios
iran
israel
istanbulcoders
italian
jackson-kotlin
jadx
japanese
jasync-sql
java-to-kotlin-refactoring
javadevelopers
javafx
javalin
javascript
jdbi
jhipster-kotlin
jobsworldwide
jpa
jshdq
juul-libraries
jvm-ir-backend-feedback
jxadapter
k2-early-adopters
kaal
kafka
kakao
kalasim
kapt
karachi
karg
karlsruhe
kash_shell
kaskade
kbuild
kdbc
kgen-doc-tools
kgraphql
kinta
klaxon
klock
kloudformation
kmdc
kmm-español
kmongo
knbt
knote
koalaql
koans
kobalt
kobweb
kodein
kodex
kohesive
koin
koin-dev
komapper
kondor-json
kong
kontent
kontributors
korau
korean
korge
korim
korio
korlibs
korte
kotest
kotest-contributors
kotless
kotlick
kotlin-asia
kotlin-beam
kotlin-by-example
kotlin-csv
kotlin-data-storage
kotlin-foundation
kotlin-fuel
kotlin-in-action
kotlin-inject
kotlin-latam
kotlin-logging
kotlin-multiplatform-contest
kotlin-mumbai
kotlin-native
kotlin-pakistan
kotlin-plugin
kotlin-pune
kotlin-roadmap
kotlin-samples
kotlin-sap
kotlin-serbia
kotlin-spark
kotlin-szeged
kotlin-website
kotlinacademy
kotlinbot
kotlinconf
kotlindl
kotlinforbeginners
kotlingforbeginners
kotlinlondon
kotlinmad
kotlinprogrammers
kotlinsu
kotlintest
kotlintest-devs
kotlintlv
kotlinultimatechallenge
kotlinx-datetime
kotlinx-files
kotlinx-html
kotrix
kotson
kovenant
kprompt
kraph
krawler
kroto-plus
ksp
ktcc
ktfmt
ktlint
ktor
ktp
kubed
kug-leads
kug-torino
kvision
kweb
lambdaworld_cadiz
lanark
language-evolution
language-proposals
latvia
leakcanary
leedskotlinusergroup
lets-have-fun
libgdx
libkgd
library-development
linkeddata
lithuania
london
losangeles
lottie
love
lychee
macedonia
machinelearningbawas
madrid
malaysia
mathematics
meetkotlin
memes
meta
metro-detroit
mexico
miami
micronaut
minnesota
minutest
mirror
mockk
moko
moldova
monsterpuzzle
montreal
moonbean
morocco
motionlayout
mpapt
mu
multiplatform
mumbai
munich
mvikotlin
mvrx
myndocs-oauth2-server
naming
navigation-architecture-component
nepal
new-mexico
new-zealand
newname
nigeria
nodejs
norway
npm-publish
nyc
oceania
ohio-kotlin-users
oldenburg
oolong
opensource
orbit-mvi
osgi
otpisani
package-search
pakistan
panamá
pattern-matching
pbandk
pdx
peru
philippines
phoenix
pinoy
pocketgitclient
polish
popkorn
portugal
practical-functional-programming
proguard
prozis-android-backup
pyhsikal
python
python-contributors
quasar
random
re
react
reaktive
realm
realworldkotlin
reductor
reduks
redux
redux-kotlin
refactoring-to-kotlin
reflect
refreshversions
reports
result
rethink
revolver
rhein-main
rocksdb
romania
room
rpi-pico
rsocket
russian
russian_feed
russian-kotlinasfirst
rx
rxjava
san-diego
science
scotland
scrcast
scrimage
script
scripting
seattle
serialization
server
sg-user-group
singapore
skia-wasm-interop-temp
skrape-it
slovak
snake
sofl-user-group
southafrica
spacemacs
spain
spanish
speaking
spek
spin
splitties
spotify-mobius
spring
spring-security
squarelibraries
stackoverflow
stacks
stayhungrystayfoolish
stdlib
stlouis
strife-discord-lib
strikt
students
stuttgart
sudan
swagger-gradle-codegen
swarm
sweden
swing
swiss-user-group
switzerland
talking-kotlin
tallinn
tampa
teamcity
tegal
tempe
tensorflow
terminal
test
testing
testtestest
texas
tgbotapi
thailand
tornadofx
touchlab-tools
training
tricity-kotlin-user-group
trójmiasto
truth
tunisia
turkey
turkiye
twitter-feed
uae
udacityindia
uk
ukrainian
uniflow
unkonf
uruguay
utah
uuid
vancouver
vankotlin
vertx
videos
vienna
vietnam
vim
vkug
vuejs
web-mpp
webassembly
webrtc
wimix_sentry
wwdc
zircon
Powered by Linen
coroutines
  • v

    v0ldem0rt

    05/08/2020, 5:05 PM
    Is there a known way to prevent such behaviour
    o
    l
    +3
    • 6
    • 58
  • v

    Vsevolod Tolstopyatov [JB]

    05/08/2020, 6:03 PM
    📣 📣 📣 kotlinx.coroutines 1.3.6 release: •
    StateFlow
    for reactive state handling is here! • Most of the existing
    Flow
    operators have left their experimental status •
    runInterruptible
    primitive for tying cancellation and interruptions • Integration module for RxJava3 • Integration with BlockHound to detect inappropriate blocking calls Thanks to all contributors! Full changelog: https://github.com/Kotlin/kotlinx.coroutines/releases/tag/1.3.6
    😒uspend: 22
    🚀 9
    🎉 47
    d
    s
    +9
    • 12
    • 24
  • s

    SrSouza

    05/10/2020, 1:03 AM
    Hi folks, what is the difference of
    consumeAsFlow
    and
    receiveAsFlow
    , and what the different use cases of both?
    z
    • 2
    • 4
  • d

    dave08

    05/10/2020, 7:20 AM
    It seems that adding `yield()`s in between and a
    delay(1000L)
    helps... not sure what the problems was though... 🤔.
    s
    • 2
    • 14
  • m

    Mouaad

    05/10/2020, 2:56 PM
    Hi folks,
    MutableStateFlow
    interface documentation says:
    A mutable [StateFlow] that provides a setter for [value] and a method to [close] the flow.
    However, I can’t see any
    close
    method! I am missing something ?
    o
    s
    e
    • 4
    • 6
  • e

    ec

    05/10/2020, 4:15 PM
    My intuition was it would take less than 3 sec to complete this, since I'm buffering slow comp but it still takes around 3 sec why?
    fun main() = runBlocking {
        val fl1 = flow {
            for (i in 1..3)
                emit(i)
        }
        val time = measureTimeMillis {
            fl1.map { slowComp(it) }.buffer().collect { println(it) }
        }
        println("TIME: $time")
    }
    
    suspend fun slowComp(i: Int): Int {
        delay(1000)
        return i * i
    }
    o
    t
    • 3
    • 21
  • o

    Orhan Tozan

    05/10/2020, 5:16 PM
    How do I map a
    StateFlow
    to another
    StateFlow
    ?
    stateFlow.map { } as StateFlow<T>
    throws a ClassCastException
    r
    • 2
    • 8
  • s

    streetsofboston

    05/10/2020, 5:19 PM
    That is just like Rx, where map, flatMap, filter, etc return a plain Observable when called on a (Behavior)Subject. You need to keep a reference to the original/source (Mutable)StateFlow to get (or set) its value.
    o
    s
    u
    • 4
    • 61
  • h

    Hasan

    05/10/2020, 9:13 PM
    Hey all, I am pretty new to using coroutines in general and I'm still struggling with Kotlin coroutines. I have dabbled with some async in Javascript and Python but nothing in Kotlin. I wrote the following code after some reading and I'm wondering why this may be a bad idea:
    fun asyncOp(nums: List<Int>, mult: Int, id: String) = GlobalScope.async {
        println("1 - $id: $mult times list computing asynchronously")
        Thread.sleep(2000L * mult)
        println("2 - $id: $mult times list computing asynchronously")
        Thread.sleep(1000L * mult)
        nums.map { it * mult }
    }
    
    suspend fun main() {
    
        val nums = listOf(1,2,3,4,5,6)
        val double = asyncOp(nums, 2,"first")
        val triple = asyncOp(nums, 3,"second")
    
        println("Double requested: $double")
        println("Triple requested: $triple")
    
        println("Waiting...")
    
        println(awaitAll(triple, double))
    }
    This works as intended, but Intellij suggested this instead:
    suspend fun asyncOp(nums: List<Int>, mult: Int, id: String) =
        withContext(Dispatchers.Default) {
            println("1 - $id: $mult times list computing asynchronously")
            Thread.sleep(2000L * mult)
            println("2 - $id: $mult times list computing asynchronously")
            Thread.sleep(1000L * mult)
            nums.map { it * mult }
        }
    But this runs it in a blocking way which is not what I wanted. What do you guys think? Where might I be going wrong?
    o
    • 2
    • 15
  • g

    gpeal

    05/11/2020, 2:47 AM
    What would the ideal primitive be if I wanted something that had the properties of: 1. Multicast (like BroadcastChannel) 2. Being buffered. All subscribers should never miss a value (like ArrayBroadcastChannel) 3. Being able to provide an initial value to new subscribers (like StateFlow)
    l
    s
    b
    • 4
    • 15
  • s

    Sinan Kozak

    05/11/2020, 10:43 AM
    Does anyone else have compile issue with Android Test with new 1.3.6? It is probably about byte-buddy but I dont know how to fix the issue. Full error in the comments.
    More than one file was found with OS independent path 'win32-x86-64/attach_hotspot_windows.dll'
    w
    • 2
    • 4
  • a

    asad.awadia

    05/11/2020, 1:39 PM
    @elizarov if I have to pick between doing a globalscope launch vs launching a thread and inside that doing a withContext Dispatchers io launch - which one would be preferred? Context: cannot use run blocking on the calling thread and it is not a suspending function but want to launch multiple coroutines to do some stuff in parallel
    z
    • 2
    • 9
  • c

    christophsturm

    05/11/2020, 7:09 PM
    what does it mean if my test fails with “java.lang.IllegalStateException: This job has not completed yet” when i use runBlockingTest? it works with runBlocking
    z
    s
    • 3
    • 6
  • s

    SrSouza

    05/12/2020, 12:49 AM
    Hi folks, I have a Flow that was created using
    BroadcastChannel.openSubscriber().consumeAsFlow()
    and I use at the flow
    launchIn(Scope)
    that's return a Job, but I think that when a cancel this job, the Channel is not being canceled, when I use something like
    Flow.first
    , the channel is cancelled. How can I cancel a Flow that canceling it will cancel the Channel too?
    o
    • 2
    • 22
  • h

    haroldadmin

    05/12/2020, 7:05 AM
    Hey everyone! I have a slightly long question to ask: I have a job processor that selects jobs from two queues, and processes them one by one. The design looks something like this:
    class JobProcessor(val coroutineContext: CoroutineContext): CoroutineScope {
      val queue1 = Channel<Job>(Channel.UNLIMITED)
      val queue2 = Channel<Job>(Channel.UNLIMITED)
    
      init {
        while (isActive) {
          selectJob()
        }
      }
    
      private suspend fun selectJob() {
        select {
          queue1.onReceive { job -> process(job) }
          queue2.onReceive { job -> launch { process(job) } }
        }
      }
    
      fun sendJobToQueue1() { ... }
      fun sendJobToQueue2() { ... }
    
    }
    Jobs in Queue 1 are processed immediately, but jobs in Queue 2 are processed in a separate coroutine because I don't want the
    select
    statement to wait for it to complete. Jobs in Queue 1 are more important, so the biased nature of
    select
    works in favour of this design. In a benchmarking environment, I want to send a lot of jobs to both queues of this processor and then wait until all of them are complete to find how much time it took to process them. I am accomplishing it this way:
    while (isActive && (!queue1.isEmpty || !queue2.isEmpty)) {
      selectJob()
    }
    This waits until both queues have been drained. The problem is that jobs of queue2 are processed in different coroutines, so even if the queue is drained it does not mean that all its jobs have finished processing. Is there a way for me to wait until jobs of queue2 have finished processing?
    o
    u
    • 3
    • 33
  • d

    Dmitry Khasanov

    05/12/2020, 5:57 PM
    suspend fun loadData(id: Long) = flow {
        fetchData(id) <-- now this is blocking function, how can I launch it in non blocking mode?
        roomDao.select(id)
            .collect {
                emit(result)
            }
    }.flowOn(<http://Dispatchers.IO|Dispatchers.IO>)
    
    suspend fun fetchData(id) {
        // make http request here and put data into database
    }
    Hi all. How can I launch
    fetchData
    function in parallel from
    flow {}
    ?
    s
    • 2
    • 8
  • s

    Seri

    05/12/2020, 8:01 PM
    Is there a way to synchronously check if a Mutex is unlocked and run a block of code under it? Similar to
    Mutex.withLock { ... }
    , but with calls while the Mutex is locked being discarded instead of suspending.
    o
    • 2
    • 9
  • s

    Stephan Schroeder

    05/12/2020, 8:30 PM
    So I finished the Coroutines - Hands on course https://play.kotlinlang.org/hands-on/Introduction%20to%20Coroutines%20and%20Channels/05_Concurrency And the thing I don't understand is this
    To run the coroutine only on the main UI thread, we should specify Dispatchers.Main as an argument:
    launch(Dispatchers.Main) {
        updateResults()
    }
    I would have expected
    Dispatchers.Swing
    to be used here, it is available in the course's setup. So a) under which circumstances is
    Dispatchers.Main
    equal to
    Dispatchers.Swing
    and b) If I want to use a Dispatcher backed by a single Thread (to avoid concurrent access on some unsychronized code), if I'm in a situation where
    Dispatchers.Main
    is equal to
    Dispatchers.Swing
    , and I don't want to use the UI-Thread to be responsible, which Dispatcher do I use instead? (AFAIK
    Dispatchers.Default
    is backed by as many threads as the computer has Hyperthreads and
    <http://Dispatchers.IO|Dispatchers.IO>
    is very specific as well.) Is there something better than
    Executors.newSingleThreadExecutor().asCoroutineDispatcher()
    ? c) assuming I'm not on the JVM (and using
    Executors
    is therefore not an option), what's the Kotlin Multiplatform solution to create your own
    CoroutineDispatcher
    with a specific thread-count?
    n
    z
    • 3
    • 4
  • v

    voben

    05/13/2020, 3:19 AM
    I’d like to make a fire and forget network call, and don’t want to wait for the response. Will
    doSomethingElse()
    get called before the network call completes? How could I improve this?
    suspend fun signOut() {
         coroutineScope {
             launch {
                 makeNetworkRequest() // suspending function
             }
         }
         doSomethingElse()
    }
    o
    g
    • 3
    • 10
  • g

    gregd

    05/13/2020, 2:47 PM
    Hi all! I have a question regarding passing
    CoroutineScope
    . I have a pretty standard Android architecture: ViewModel, Repository, DataSource & API layers. I want to pass
    ViewModel.viewModelScope
    from the ViewModel to the API layer, BUT I don’t need it in the intermediate layers (Repo & DS). What do I do? First thing that comes to my mind is marking all in-between functions with
    suspend
    , which would pass the Scope implicitly. But according to @elizarov we should only mark the function with
    suspend
    if it’s really going to suspend, and those intermediate layers definitely won’t. So, is there a better way? Is there a proper way? How do you do it?
    z
    b
    g
    • 4
    • 12
  • d

    David Glasser

    05/13/2020, 7:45 PM
    Is there a way to make a function that is polymorphic based on whether or not it is called with a suspend block? ie, i have a function
    withSomething
    that either can be passed a non-suspend block and can be called from either a suspend or non-suspend block and basically does some sort of
    try { block() } finally { … }
    , and a suspend inline function
    withSomethingSuspend
    that can be passed a suspend block and does a more complex
    withContext
    -based trick to manage the same thing. right now you have to choose to use the correct function name for your context; we made the first function non-inline so that you can’t accidentally call it with a suspend block. is there any way we could have just one function name? or at least declare that the first one’s block can’t be suspend so that we could make it inline?
    o
    j
    • 3
    • 19
  • m

    Mauricio Barbosa

    05/13/2020, 8:36 PM
    Hi guys, I'm trying to convert an rxjava api based into a suspend function. Can I do something like this?
    class UserApiClient(private val rxJavaBasedApi) {
        suspend fun getUser(): User = withContext(<http://Dispatchers.IO|Dispatchers.IO>) {
            rxJavaBasedApi.getUser().blockingGet()
        }
    }
    Or there's a better approach?
    o
    • 2
    • 2
  • k

    Krzysztof

    05/13/2020, 9:28 PM
    Hi, I am new to Kolin (my second day using it) and trying to understand compilation error I have with coroutines. I have a class that looks more or less like that:
    class org.test.reactive.kitchen.SuspendedKitchen {
      suspend fun getPotatoes(): Potatoes = ...
      fun chop(potatoes: Potatoes): ChoppedPotatoes = ...
      fun fry(fish: Fish): FriedFish = ...
      suspend fun fry(choppedPotatoes: ChoppedPotatoes): Chips = ...
    }
    Now if I have code like that:
    launch {
      val kitchen = SuspendedKitchen()
       val chips = kitchen.getPotatoes()
            .let(kitchen::chop)
            .let(kitchen::fry) // <-- does not work
    }
    The
    .let(kitchen:fry)
    fails with:
    Callable reference resolution ambiguity: 
    public final suspend fun fry(choppedPotatoes: ChoppedPotatoes): Chips defined in org.test.reactive.kitchen.SuspendedKitchen public final fun fry(fish: Fish): FriedFish defined in org.test.reactive.kitchen.SuspendedKitchen
    It complains about totally different types so I don't know how is that ambiguous. Does suspend mess up type resolution? But in such case why this one works fine:
    launch {
      val kitchen = SuspendedKitchen()
       val chips = kitchen.getPotatoes()
         .let(kitchen::chop)
         .let { kitchen.fry(it) } // <-- works
    }
    Is that expected behavior? I don't see why they would behave differently?
    o
    • 2
    • 5
  • t

    tmg

    05/14/2020, 10:23 AM
    Hi guys, QQ: I’ve this
    class Foo {
       suspending fun foo() { /* some code */ }
    And inside it I would like to launch some child coroutines (and await their ending, so, like
    coroutineScope {}
    ), what’s the correct pattern for it? I’ve seen people using
    class Foo : CoroutineScope
    to be able use use launch or coroutineScope directly, but what does this actually do?
    a
    • 2
    • 3
  • b

    bbaldino

    05/14/2020, 3:43 PM
    I've got a ktor server handling requests on something like
    /user/{userId}
    , how can I make sure requests pertaining to a specific
    userId
    are handled serially, but requests for different `userId`s can be handled in parallel? I don't want to use a single-threaded dispatcher per
    userId
    , I'd like to have a single shared pool that handles all the requests, just enforcing that requests for a given
    userId
    are handled in order. (I think this is more of a general coroutine question with ktor as an example than a ktor-specific question, but let me know if I'm wrong)
    z
    u
    • 3
    • 20
  • k

    kevin.cianfarini

    05/14/2020, 6:57 PM
    is StateFlow sticky? Do new consumers who call collect receive the latest stored value?
    :yes: 1
    l
    u
    • 3
    • 6
  • j

    james

    05/14/2020, 7:34 PM
    If I have a suspend function that launches a background job i.e. :
    suspend fun doSomething() = withContext(coroutineContext) { 
       launch { 
           while(isActive) { 
               println("I'm Still Here")
               delay(1000)
           }
       } 
    }
    If that suspend function get’s cancelled due to an OOM exception how do I insure that the job that was launch is also cancelled?
    o
    • 2
    • 9
  • m

    myanmarking

    05/15/2020, 5:14 PM
    private val repository = DataRepository()
    private val viewModelJob = SupervisorJob()
    private val viewModelScope = CoroutineScope(Main+viewModelJob)
    val mNowPlayingDataLiveData = MutableLiveData<NowPlayingMovies>()
    
    fun DataFromrepository(page :Int){
        viewModelScope.launch {
                     val response = repository.getDataFromServer(page)
    
            if(response.isSuccessful){
                         mNowPlayingDataLiveData .value = response.body()
    }}
    v
    • 2
    • 1
  • a

    Ali Sabzevari

    05/15/2020, 11:30 PM
    I have a shell script that prints a counter value every second:
    COUNTER=0
    while :
    do
    	COUNTER=$((COUNTER + 1))
    	echo "$COUNTER"
    	sleep 1
    done
    And a kotlin code that runs this script in a process:
    fun InputStream.linesToFlow() = channelFlow<String> {
        reader().forEachLine {
            offer(it)
        }
    }
    
    fun main() {
        runBlocking {
            val p = ProcessBuilder("./cmd.sh").start()
            p.inputStream.linesToFlow().map {
                println(it)
                it
            }.filter { "3" in it }.first()
            println("Done")
            p.waitFor()
        }
    }
    I expect this script to have this output:
    1
    2
    3
    Done
    But it doesn't print anything!
    o
    z
    • 3
    • 26
  • m

    mayojava

    05/17/2020, 1:58 PM
    I am trying to build the
    kotlinx.coroutines
    library but this task is constantly failing
    Task :kotlinx-coroutines-jdk9:compileKotlin FAILED
    . I will appreciate any pointers to solving this
    r
    a
    • 3
    • 7
Powered by Linen
Title
m

mayojava

05/17/2020, 1:58 PM
I am trying to build the
kotlinx.coroutines
library but this task is constantly failing
Task :kotlinx-coroutines-jdk9:compileKotlin FAILED
. I will appreciate any pointers to solving this
r

Rachid

05/17/2020, 2:45 PM
No idea, but when you scroll a bit back I would expect to see an explicit message on what has failed.
m

mayojava

05/18/2020, 2:09 AM
a series of errors like this
e: /IdeaProjects/kotlinx.coroutines/reactive/kotlinx-coroutines-jdk9/src/Await.kt: (21, 24): Unresolved reference: Flow
e: /IdeaProjects/kotlinx.coroutines/reactive/kotlinx-coroutines-jdk9/src/Publish.kt: (37, 25): Cannot access class 'java.util.concurrent.Flow.Publisher'. Check your module classpath for missing or conflicting dependencies
a

araqnid

05/18/2020, 6:02 AM
Are you building with a JDK version 9 or higher?
Because the java.util.concurrent.Flow only dates from then
m

mayojava

05/18/2020, 8:13 AM
yeah I have java 9 installed and set in my environment var under JDK_9. Was surprised when I still got the error regardless
View count: 3