Skip to main content



      Home
Home » Newcomers » Newcomers » The type javax.swing.JComponent cannot be resolved. It is indirectly referenced from required .class(I can´t run myjava program for that error)
The type javax.swing.JComponent cannot be resolved. It is indirectly referenced from required .class [message #1778563] Sun, 17 December 2017 15:57 Go to next message
Eclipse UserFriend
Hi Friends I am new in JAVA, this error:

The type javax.swing.JComponent cannot be resolved. It is indirectly referenced from required .class files

Don´t let run my java programas.

I request help so I can do to work better eclipse in my pc
Re: The type javax.swing.JComponent cannot be resolved. It is indirectly referenced from required .c [message #1778910 is a reply to message #1778563] Sat, 23 December 2017 09:39 Go to previous messageGo to next message
Eclipse UserFriend
Does your project have a valid "JRE System Library" on its Java Build Path, and no mention of it being unbound? Does your Installed JREs preference page contain only locations of valid JREs and JDKs?
Re: The type javax.swing.JComponent cannot be resolved. It is indirectly referenced from required .c [message #1798065 is a reply to message #1778910] Mon, 12 November 2018 02:37 Go to previous message
Eclipse UserFriend
I have seen this problem too. Code that worked fine using Oxygen fails when run using Photon.
See the following. This is a known problem, and it seems that the solution is to go back to Oxygen.
https://stackoverflow.com/questions/52686025/upgrade-to-jdk-10-and-encountered-extensive-compile-errors-in-eclipse

Found something else. It looks like the Java developers have messed up, and/or have decided to phase out javax.accessability

Lots of complicated recommendations for work-arounds in the following, I have no idea how to implement which of these possible solutions. Bummer.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=900912

[Updated on: Mon, 12 November 2018 02:51] by Moderator

Previous Topic:Where do theme-related questions belong?
Next Topic:MADT and standard eclipses
Goto Forum:
  


Current Time: Mon Nov 10 08:29:24 EST 2025

Powered by FUDForum. Page generated in 0.09152 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top