Questions tagged [eclipse-classpath]

Use this tag for problems with the Java Classpath when running in Eclipse.

When running normal Java programs in the Eclipse IDE the classpath must be configured in the project properties.

When developing Eclipse plug-ins the classpath is constructed from the information in the plug-in MANIFEST.MF file.

93 questions
0
votes
1 answer

TestNG - Cannot find class in classpath exception though class is present at mentioned location

I am running my Java project using TestNG and ANT. It was running fine using testng.xml. But after making few changes in my project (renamed few classes and moved the folders). Now on running testng.xml, i am getting the below…
learner
  • 786
  • 7
  • 17
0
votes
1 answer

Extra Classpath In Eclipse Like DrJave

In my elementary/high school programming classes, we're moving from DrJava to Eclipse as primary IDE. I use SimpleTurtle to teach concepts. In DrJava, I just go to Preferences and add Extra Classpath. Boom, DONE! Students can then seamlessly use…
0
votes
1 answer

Anypoint Studio 5.1.1 with empty properties view

I am running the new Version of AnypointStudio for win 64bit-5.1.0-201503171252 on a Windows 8.1 with Java 8. If I click on a Element in the flow, I will see only: . I check the Eclipse Logfile (AnypointStudio\workspace\.metadata\.log) and find this…
0
votes
2 answers

How to set classpath in eclipse for Jars (in multiple sub-folders)

We have a folder which consists of multiple sub-folder and each sub-folder is having jar files. Now, we need to add all the jars to eclipse classpath. Is there any better way to add all these jars? rather than adding each file or manually editing…
Kiran Nunna
  • 158
  • 3
  • 8
  • 20
0
votes
1 answer

Include different class folders to library : Eclipse

I have imported a Java Project. It contains various folders and each folder has its own output folder for class files. So I am unable to figure out that how to add these output folders to the build path. If I am not adding these to the build path,…
neel
  • 8,399
  • 7
  • 36
  • 50
0
votes
1 answer

Defining an project internal lib folder in Eclipse

Is there any way to define a project lib folder relative to a Java Project? (an project internal lib folder). There are some options to define external or absolute path libraries. I can also add each jar, but I found no way to define a internal lib…
Rafael Borja
  • 4,487
  • 7
  • 29
  • 33
0
votes
2 answers

classpath and Eclipse

I would like to export the classpath configuration of my java application from eclipse. how Can I set the classpath manually? how can I package it keeping the configuration the same. The application is a standard java application.
william.eyidi
  • 2,315
  • 4
  • 27
  • 39
0
votes
1 answer

Set correct Classpath to an External Class Folder on Terminal

I'm want to execute a Java class through the terminal. When I execute it, I'll need several properties and configuration files that are on a folder X. That folder X has more subfolders with files inside them that I also need. If I simply add the…
0
votes
0 answers

Command in the java classpath from eclipse doesn't work

Can you tell me why the following classpath throws an error when I try to import my project into Eclipse?
Pablo Silva
  • 47
  • 10
0
votes
0 answers

Unbound classpath variable in eclipse

When I started eclipse for the first time today the Problems window flooded with over 90 "unbound classpath variable" errors. For example Description Resource Path Location Type Unbound classpath variable: 'ANT_HOME/lib/ant.jar' in project…
Łukasz
  • 1,980
  • 6
  • 32
  • 52
0
votes
0 answers

Eclipse modify classpath on its own

I have a quite annoying issue with Eclipse and the .classpath file. I usually used variable in my build path in order to be able to change of version easily. The issue with Eclipse its that the software break the variables set and put the build path…
0
votes
1 answer

Eclipse error: Get "Source attachment path for IClasspathEntry must be absolute" error twice

I have been trying to fix this error for sometime, as I can't compile any of my projects because anything my project's code uses that is part of the sdk comes up as an error in eclipse. I have tried moving my workspace folder around, deleting the…
I'm_With_Stupid
  • 1,112
  • 4
  • 16
  • 35
0
votes
2 answers

Running in Eclipse is Not Able to Find the Class

Trying to run my project in Eclipse, but it creates the following error: Apr 11, 2014 8:02:17 AM net.minecraft.launchwrapper.LogWrapper log INFO: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker Apr 11, 2014 8:02:21 AM…
0
votes
1 answer

Add servlet.jar in my classpath

I have imported a google web app project and added the servlet.jar file but I don not know how to set the servlet.jar file in my classpath. How do I go about doing that. Am new to eclipse and this is a project am collaborating with somebody. I am…
andy
  • 1,947
  • 5
  • 27
  • 46
0
votes
1 answer

How can I add the project level directory into .classpath?

I'm getting javax.imageio.IIOException: Can't read input file! when I try to open files that are at the top-level folder of the actual Eclipse project. My guess is that since .classpath explicitly defines all the class paths, I have to include…