Java class file not on classpath
40,171
Rather than trying to copy the class file into your project, you should reference the Jar that the class you want is part of.
Go to: project->properties->java build path->libraries tab->add external jars...
Author by
user1022570
Updated on July 09, 2022Comments
-
user1022570 almost 2 years
I've tried opening class file in eclipse that I have copied pasted from the jar that I have imported into the project and am receiving this as first error:
org.eclipse.core.runtime.CoreException: The class file is not on the classpath.
Evidently I have included the class file incorrectly into my project. I need to use this class file to access Java applet. Suggestions please
-
user1022570 over 12 yearsI'm using these files from within a PHP project
-
vaughandroid over 12 yearsYou should to make that clear in your question then! I've no experience developing PHP project in Eclipse, so can't help you further.