Questions tagged [buildpath]

This tag refers to build path settings for a Java project in Eclipse IDE. You can reach this option through the project properties (Project > Properties > Java Build Path) from the context menu on a created project or the File menu of the workbench.

This tag refers to build path settings for a Java project. You can reach this page through the project properties (Project > Properties > Java Build Path) from the context menu on a created project or the File menu of the workbench.

More info at Eclipse web site

409 questions
11
votes
4 answers

Glassfish Server Library not available in Eclipse Kepler?

I'm setting up a new dev machine with Eclipse Kepler to deploy on a Glassfish 3.1.2.2 instance. When I go to project properties > java build path > libraries > add library > server runtime There is no option to add the Glassfish server…
dispake
  • 3,259
  • 2
  • 19
  • 22
10
votes
5 answers

How to resolve build path errors?

If I run my project this error will come build path problem how to solve this error. error: Description Resource Path Location Type Project 'videothumb' is missing required source folder: 'gen' videothumb Build path Build Path Problem The…
RBJ
  • 951
  • 8
  • 22
  • 34
10
votes
1 answer

What is the best way to reuse classes from another Java project in Eclipse?

I have multiple Java projects in Eclipse. I would like to reuse some classes in my new project from my old project. What is the best way to do that in Eclipse? I.e. is it possible to add another "project folder" to the build-path for my new project?
Jonas
  • 121,568
  • 97
  • 310
  • 388
9
votes
3 answers

Setting the classpath in java using Eclipse IDE

I have an Eclipse project with an external folder containing a lot of JAR files (legacy libraries) . instead of adding all the jars in Eclipse ("add external Jar"), I would prefer to add a ref to this external folder. In the "configure build bath",…
BlackLabrador
  • 126
  • 1
  • 1
  • 4
9
votes
4 answers

java.lang.NoClassDefFoundError on older Android SDK versions

I released a version of my app to the Google Play and woke up this morning with a number of unhappy customers. The latest version of the app integrates support for a Bluetooth Low Energy (BTLE) heart rate monitor. The app runs fine on Android 4.3…
9
votes
10 answers

Error: Archive for required library cannot be read or is not a valid ZIP file.

I am having trouble setting up the build path of my java project. I am currently in a Co-Op IT position so I am somewhat new to all this. My background is mostly in C++ and I am learning java on the fly. I am also somewhat new to Eclipse (Kepler…
user3190398
8
votes
3 answers

Eclipse: in the Libraries tab all buttons are disabled

I am using Eclipse Oxygen.2 (4.7.2) and Java 9.0.4. I created a project via right-click > Build Path > Configure Build Path... > Libraries. All buttons are disabled like Add JARs, *Add External JARs..., etc.: Please help me to solve this issue.
Swai
  • 81
  • 1
  • 1
  • 3
8
votes
8 answers

Whats the best way to resolve dependencies between Java projects?

I think most of you will know, programmers often reuse code from other software. I think, most of the time it is a good idea. But if you use code from another project your program depends on the other project. I my current case I got three java…
c0d3x
  • 2,593
  • 6
  • 23
  • 18
8
votes
4 answers

What is Android Dependencies? Remove it from Build Path, ClassNotFoundException occurs

I'm working on a team project. I included a .jar file in Build Path and committed to SVN. When I updated code in my working directory, a new folder appears in Eclipse called "Android Dependencies". If I let it be there, my program runs; If I remove…
emeraldhieu
  • 9,380
  • 19
  • 81
  • 139
7
votes
4 answers

Programmatically adding a library to an Eclipse project

How can I create a new build path entry for any *.jar file and add this classpath entry to the build path of an Eclipse project. I have a plugin that should automatically setup my target project. So this project needs to have some library imports…
Florian
  • 2,048
  • 3
  • 28
  • 36
7
votes
1 answer

How to change Eclipse-Groovy plugin Groovy libraries?

I am using the newest version (2.8.0) of the Eclipse-Groovy plugin that ships with groovy-all-2.1.5.jar. I added Guice to my Groovy project, and when I go to run them from inside Eclipse I get the following error in the console output: Caught:…
smeeb
  • 27,777
  • 57
  • 250
  • 447
7
votes
3 answers

The type java.lang.object cannot be resolved - Eclipse buildpath not working

I'm having a problem with Eclipse on by Mac OSX Mountain Lion. I have recently installed Android SDK and in my java projects I get the following message: The type java.lang.Object cannot be resolved. It is indirectly referenced from required…
user2260199
  • 877
  • 4
  • 13
  • 20
6
votes
4 answers

How can I add a .jar to my build path in Eclipse?

I try to do it the following way: Right click on the name of the project. Click on Build Path in the drop dawn menu. Click on "Configure Build Path" And then I do not know what to do. Should I select "Source", "Projects", "Libraries", "Order and…
Roman
  • 124,451
  • 167
  • 349
  • 456
6
votes
4 answers

Adding an Skobbler Map to my empty App

I am trying to set up a new Project with Skobbler. I've integrated the SKMaps.jar and put it into the buildpath. I am using AndroidStudio with gradl. Now the problem is: The moment when I call SKMaps.getInstance().initializeSKMaps(this,…
Fabio Schmitz
  • 135
  • 1
  • 7
5
votes
3 answers

java eclipse build path options question

I have a question on Eclipse (I am using Helios). When a project depends on various libraries, we add them to the classpath via the Build Path Dialog. In the same dialog though, there is a tab for Projects (Required Projects on the build path). It…
Cratylus
  • 52,998
  • 69
  • 209
  • 339
1 2
3
27 28