which I do not have installed
can anyone guide me through what I need to do do get it ready? I can't see a "download" icon on the oracle's java.dekstop page :/
java.desktop is a standard java api there is no way you dont have it in a normal jre. I think you forgot to add java.desktop requirement in your module-info.java if you just started learning maybe creating unmodular projects would be a better idea
Thank you I haven't just started learning (I am far from the proficiency of y'all guys yes, but have been studying for a while). I wad going to use the java.sound.midi library, but the error appeared, and since the book I am studying from is based on java prior to 9, it doesn't talk about modules. Now, I need to use the java.dekstop module, how do I do that? I don't know how to add the requirements (and don't even know what that means, but for now I'll be happy to know how to make it work) Thanks :)
Honestly idk I like jsr 376 cause it reorganized java standard library but I dont like the new module-info thing I think you should add requires java.desktop; To module-info or Ctrl-1 in eclipse to add it automatically using quick fix Or deleting module-info and going like java 8
amazing, it worked! thank you
Обсуждают сегодня