How to Fix the Package javax.swing is Not Accessible Error - Java Swing Not Working [3 METHODS]

Тәжірибелік нұсқаулар және стиль

Code: requires java.desktop;
In This Video We Will See How to Fix the Package javax.swing is Not Accessible Error or Java Swing Not Working in Eclipse
Here Are The Steps to Fix the Package javax.swing is Not Accessible Error or Java Swing Not Working in Eclipse
Method 1
1. Double-Click on module-info.java to Open it
2. Between Curly Brackets Type requires java.desktop; Inside Module Tag Under module-info.java File
3. Now Press Ctrl+S to Save the File
4. Go Back to Your Main Project File
5. Run The Program
6. Done!
Method 2
1. Right-Click on Project Folder
2. Click Properties
3. Click Java Build Path
4. Click Libraries Tab
5. Click Modulepath
6. Click Add Library Button
7. Make Sure JRE System Library is Selected
8. Click Next Button
9. Click Execution Environment To Select it
10. Click Finish Button
11. Click Apply Button
12. Click Apply and Close Button
13. Run the Program
14. Done!
Method 3
1. Delete module-info.java File
2. Click OK Button
3. Run the Program
4. Done!
Contact Us
Facebook: / gametrick1
Twitter: / gametrick4
Wikipedia: en.wikipedia.org/wiki/User:Ga...
KZread: • How to Fix the Package...
Don't Forget To Like Share And Subscribe

Пікірлер: 44

  • @ErikRenatoSilva
    @ErikRenatoSilva Жыл бұрын

    I watch many videos, explains several complex methods and none of them work, and then your method very simple work very well! Thank you so much!

  • @AlphaWolfShade
    @AlphaWolfShade9 ай бұрын

    Your first solution worked for me! You're doing yourself a disservice by keeping your video silent. A voice over would do absolute wonders!

  • @redbad8818
    @redbad88184 ай бұрын

    Idk how this happened out of nowhere, but this helped a lot, thank you!

  • @nicholasdonovan3820
    @nicholasdonovan38203 ай бұрын

    I have never left a comment in my life, you are my hero for this.

  • @JavaSoftwareDeveloper
    @JavaSoftwareDeveloper Жыл бұрын

    Excellent! First Method worked! Thank you

  • @DaviSMdosReis
    @DaviSMdosReis2 ай бұрын

    Amazing!!! Simple and useful!! 👏🏻👏🏻👏🏻👏🏻👏🏻👏🏻

  • @banan.6674
    @banan.66745 ай бұрын

    The first solution worked perfectly cant thank you enough.

  • @domino3348
    @domino33488 ай бұрын

    Excellent ! Thank you.

  • @javedarshad9574
    @javedarshad9574Ай бұрын

    THANKS A MILLION FOR THIS SOLUTION.

  • @alcetes0231
    @alcetes0231 Жыл бұрын

    Thank you so much !!! Finally i get it! ⭐💪🔥

  • @jamesaditya5254
    @jamesaditya525411 ай бұрын

    literally solved my problem within seconds

  • @rafaellima7103
    @rafaellima71033 ай бұрын

    Thanks a million for the help!!!

  • @tizianoatat4757
    @tizianoatat47576 ай бұрын

    first method worked, thank you

  • @Zaparoli22
    @Zaparoli223 ай бұрын

    Thanks bro! I was able to solve it with the first solution. Hugs from Brazil

  • @sakshimish14
    @sakshimish144 ай бұрын

    only 2 minutes that was better than the whole 1 hour i spent for searching the solution

  • @hagave9236
    @hagave92367 ай бұрын

    First step works. Thanks bro!

  • @punnarajashekhar9549
    @punnarajashekhar95499 ай бұрын

    Thank you so much for the solution it worked for me 1st method

  • @Engshakir886
    @Engshakir8868 ай бұрын

    thanks, first method helped.

  • @nobody_AskedMe
    @nobody_AskedMe5 ай бұрын

    Thanks bro, you saved my day!

  • @RatusMax
    @RatusMax8 ай бұрын

    It still said it had a problem even after I added java.desktop. The second fix worked but then module stopped existing. So then I found some obscure stackoverflow guy who had no likes that said "I updated my eclipse and it worked fine." I updated my eclipse and yes, it worked afterwards. So if #1 doesn't work, skip #2 and try updating your eclipse. My guess is since gui has to do with graphics, some things change somewhere. When windows, nvidia, intel, amd, or whatever updates their drivers.

  • @vicentetortajada1469
    @vicentetortajada1469 Жыл бұрын

    Thank you!

  • @parvatis2346
    @parvatis23468 ай бұрын

    Thank you 🙏

  • @jajnyaseniswain8472
    @jajnyaseniswain8472 Жыл бұрын

    Thank you for this video..

  • @Tarik_Hamdan
    @Tarik_Hamdan Жыл бұрын

    Thank you very much bro

  • @user-pg6yl1fd1k
    @user-pg6yl1fd1k7 ай бұрын

    you are great sir

  • @ChessKaram
    @ChessKaram Жыл бұрын

    thank you so much

  • @bashithamalshan8224
    @bashithamalshan82242 ай бұрын

    Very well done❤

  • @Swarnika2105
    @Swarnika2105 Жыл бұрын

    Thank u very much

  • @supermanrx207
    @supermanrx20711 ай бұрын

    thanks worked like a charm

  • @kimmiha1501
    @kimmiha150111 ай бұрын

    Tanks a lot💐

  • @Ivanrodriguez002
    @Ivanrodriguez0025 ай бұрын

    Very useful !

  • @renancouri7456
    @renancouri74564 ай бұрын

    " Uma salva de palmas para o profissional ! ". Thank your, sir! The first method worked for me.: Simple, easy and effective.

  • @rouba..5863
    @rouba..5863 Жыл бұрын

    Thanks a lot ❤❤❤❤

  • @benko8638
    @benko8638 Жыл бұрын

    Thanks

  • @blackbubbles61
    @blackbubbles615 ай бұрын

    Thanks bro

  • @iztillanurulla151
    @iztillanurulla1515 ай бұрын

    it is worked , thank you

  • @technicalknowledge2392
    @technicalknowledge23929 ай бұрын

    thanks .it worked

  • @cloudninerex793
    @cloudninerex793 Жыл бұрын

    THANKS ❤

  • @harshconangray4478
    @harshconangray447811 ай бұрын

    tysm, i watch many videos but didnt got the solution, this video helped me a lot

  • @rafaelhenryque6037
    @rafaelhenryque603710 ай бұрын

    thanks bro

  • @cikfs9913
    @cikfs9913 Жыл бұрын

    I love you you did it❤

  • @jss4396
    @jss43969 ай бұрын

    ty bro

  • @yathz7781
    @yathz77816 ай бұрын

    Ty bro😫😫❤️❤️❤️❤️❤️

  • @josuepujols2572
    @josuepujols2572 Жыл бұрын

    thank

Келесі