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
3
votes
1 answer

Eclipse android project not generating jar

I have an eclipse android project, call it 'myproject'. I have also been working on an android library project in the same workspace, call it 'myproject-lib'. I set up a project dependency on myproject-lib correctly, and everything had been…
Rob
  • 788
  • 8
  • 9
3
votes
4 answers

NoClassDefFound when include other project in buildpath

I have 2 projects: dummy and dummy-android. dummy-android uses Game class from dummy. I included dummy in Build Path of dummy-android but when run on emulator. It generates: E/AndroidRuntime( 691): java.lang.NoClassDefFoundError:…
emeraldhieu
  • 9,380
  • 19
  • 81
  • 139
2
votes
2 answers

Mysterious Eclipse javadoc problem

I had a problem with finding Java docs in Eclipse. I seem to have fixed the problem, but I'm posting this for two reasons: I would like to know why I had the problem in the first place and perhaps my method of fixing it might be useful to someone…
Ted Hopp
  • 232,168
  • 48
  • 399
  • 521
2
votes
1 answer

How can I figure out which of the 200 linked JARs, my Eclispe project actually needs?

I am currently working in an very old Java Eclipse project which has a lot of JARs linked to it's build path. I have noticed that several of them aren't being used by the project any more, meaning old libraries that has been forgotten when the code…
corgrath
  • 11,673
  • 15
  • 68
  • 99
2
votes
2 answers

Is there a way to use multiple maven dependencies for one maven project in Eclipse?

I am developing a Bukkit plugin with the M2E plugin in Eclipse. I have a problem where the maven dependency (Bukkit 1.5.2 R1.0) is in two different locations depending on whether I am at school or not. At home the file tree is in my dropbox with the…
Nathan Meyer
  • 409
  • 1
  • 6
  • 13
2
votes
1 answer

Adding buildpath of existing project to a new project

I have two projects in Eclipse's workspace Project A & Project B. I want to add Project B to A's buildpath but no matter what I do it doesn't work. I've looked it look and none of the answers work for me. Although exporting B as a jar and adding the…
2
votes
2 answers

Eclipse: sharing package between two projects for testing

The problem is that I use Mockito for testing a class with some protected methods. In order to mock them I need my tests to be in the same package. I'm using the following scheme now:…
Worm359
  • 87
  • 12
2
votes
1 answer

Error after reinstalling Eclipse and Java. Error in build path

I have been programming in Eclipse for a coupe of weeks. I had to remove Eclipse and Java for software update. However after I reinstalled Eclipse (Indigo) and Java Jdk (Java SE 8 (MacOS X Default)) I started to get errors. The printer, scanner and…
2
votes
1 answer

source folder is not on the java build class path, using JUnit

I am new to web development and I've downloaded some demo projects to learn how to develop REST client side application using Eclipse. These are two examples: I am trying to write some test cases using JUnit for project 1, however, Right Click (a…
Zzz...
  • 291
  • 6
  • 19
2
votes
0 answers

One source folder doesn't see the other - Eclipse

I've been trying to create a .jar file using some .png images as custom icons for my buttons. In order to do this I want to use simple ResourceLoader class: import java.awt.Image; import java.awt.Toolkit; public class ResourceLoader { static…
musztard2000
  • 127
  • 2
  • 14
2
votes
3 answers

ClassNotFoundException mopub in my FragmentActivity

I'm trying to add mopub to my app. I installed the sdk through the AndroidStudio plugin. and added this to my xml
Hirad Roshandel
  • 2,175
  • 5
  • 40
  • 63
2
votes
3 answers

How do I locate a closed eclipse project

I recently created a workspace and imported a number of projects into it. One of the projects, which is present in the classpath of several other projects, has been imported in the closed state (leading to build path errors). How do I open that…
CodeNewbie
  • 2,003
  • 16
  • 29
2
votes
2 answers

Eclipse imports inexplicably not resolved

I'm having a rather mysterious error: All of my imports have been redlined with the message "the import cannot be resolved". However, the types referenced by those same imports are also redlined, and the auto fix suggests adding those exact…
AmoebaMan
  • 21
  • 2
2
votes
0 answers

Beating LinearAlloc issue on GingerBread and keeping jar files

I'm developing a big app and I have a problem when I install it in GingerBread and Froyo devices. LinearAlloc exceeded capacity (5242880), last=1092 I know that it's because I am adding a lot of jars in my /libs folder (many Ads Network SDKs,…
Sergio Carvalho
  • 251
  • 3
  • 9
2
votes
1 answer

Adding external folder jar in to build path

In my RCP plugin application, earlier having a folder at project level "neededJar" in which i have all external jar needed in project build But now I want to put all jar at a common library say a lib folder in installation directory, at my workspace…
RTA
  • 1,251
  • 2
  • 14
  • 33