eclipse

running rmi server, classnotfound

Hi I'm trying to run a java application that binds a class to the naming server, but i constantly get a ClassNotFoundException First I start the registry: rmiregistry then from eclipse I try to execute the server but get this error java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: ...

(Eclipse) How do I package third party plugins with my feature?

MyFeature consists of plugins a, b and c which depend on a third-party plugin d. How do I package MyFeature such that It contains d and can install it if it doesn't exist in the target workbench My plugins a, b and c can refer to a specific version of d even if higher or lower versions exist in the workbench The dependency requirements...

How do you run Android instrumentation tests from Eclipse?

Currently I'm running instrumentations tests from the command line this way: adb shell am instrument -w com.blah.blah/android.test.InstrumentationTestRunner Is there a way to run them from Eclipse (with automatic installation of the application)? ...

Eclipse plug-in development Unable to instantiate class due to java.lang.NoClassDefFoundError:

Title: Eclipse plug-in development Unable to instantiate class due to java.lang.NoClassDefFoundError: Trying to build an eclipse plugin but getting some runtime error.. I understand this is due to a class file that the code depends on and it is present at compile time but not found at runtime.... I'm not sure what I have to do to fix...

Uninstall Eclipse under OSX?

I'm running Eclipse SDK 3.4.0 on Mac OS X 10.5.6. Every time I try to install something new through "software updates", the message "The software items you selected may not be valid with your current installation" shows up. So I'm going to uninstall it and re-install Eclipse. Should I just erase the Eclipse folder or is there a way to...

Call hierarchy of Thread.run() in Eclipse

I tend to use eclipse's "Open Call Hierarchy" function a lot, to trace where method calls are going in larger Java projects. I get irritated by Threads, as the call hierarchy shows the callers of the Thread.run() method as various internal Java threading functions, rather than the Thread.start() call which effectively led to the thread b...

Eclipse CDT - problem linking to windows lib files...

Hey! I'm getting the folling linker errors when compiling with gcc: undefined reference to `SetStretchBltMode@8' undefined reference to `StretchDIBits@52' undefined reference to `SetDIBitsToDevi Are these functions defined in the windows libs? If so do they come installed with Vista, or do I need to install them, and if so where c...

Eclipse XML formatter

Does anyone know of a free alternative to the built in Eclipse XML editor? The one that is packaged with the IDE has 2 major problems with formatting that my team and I have discovered when formatting: The formatter tries to parse escaped char's as though they were unescaped. e.g. ' & l t ;' is treated like '<' which causes the forma...

Tomcat & Eclipse integration

I'm developing on a Ubuntu 8.04 machine using Eclipse Ganymede. I installed Tomcat 5.5 using sudo apt-get install tomcat5.5 tomcat5.5-admin and using an Ant script I deploy my WAR file by copying it to $CATALINA_HOME/webapps. I then created an Eclipse project and I have it output compiled source in a similar but separate directory struc...

How to "hot" deploy war dependency in Jboss using Jboss Tools Eclipse plugin ?

Hello ! I'm using Jboss tools (3.0.0 alpha, on Eclipse 3.4) to hot deploy my war on Jboss 4.2.3. My war depends on another project (packed inside a jar) I 'm working on. But, when I save a file in this project(the jar project), Jboss Tools republish the compiled classes of the war project, but does not re deploy the classes changed in th...

Eclipse external tools, white space in path vars

I am setting up a external tool but when I use the argument variables like this one: ${resource_path} for resources that contain spaces in the path (e.g. C:\Program Files) it seems the arguments get passed in split on the spaces in the path. Does anyone know how to make this work? ...

Eclipse changes to PHP perspective after running code in Java

Hi, whenever I try to run something in Java, Eclipse changes into the PHP perspective. How can I fix this? Thanks! ...

eclipse ini configuration

Hello Friends actually i and my friend are trying to learn and use eclipse 3.4 and we are having some heap memory issue while working, and my friend suggested to increase the memory allocation to eclipse ide as he has 4GB RAM and he wants to allocate enough heap, allocate decent perm size, and enable parallel garbage collection to this ...

How can I setup subversion with ssh tunnel in Eclipse?

I have a remote server that hosts my subversion repository on a non-standard ssh port. I want to use Eclipse's subclipse plugin as my client end to access the SVN repository. I can access the repository fine by using svn+specialssh://... where specialssh is a tunnel profile setup in my ~/.subversion/config. In subclipse I tried to inp...

How do you figure out with Eclipse which JARs depend on which one?

I've trying to use Eclipse JDT AST parsing classes. After including the initial JAR, and sorting out a couple more dependencies, it is with 7+ JARs and I still having NoClassDefFoundError exceptions. This situation arises whenever I'm trying to test libraries with little or no documentation. Trial and error seems a very dumb (and annoyin...

is there an easy way to import a black-on-white color scheme in Eclipse

Visual Studio has a way to import, export your color settings. Does Eclipse have something similar? I'm looking for the "perfect" color scheme in Eclipse that's easiest on the eyes. For me, that simply means a black background (so I'm not staring into a bright light bulb all day). Thanks ...

Slim down and/or understand the Eclipse files in a Dynamic Web Project

The files residing in .settings in a Dynamic Web Project are: .settings/ |-- org.eclipse.jdt.core.prefs |-- org.eclipse.jst.common.project.facet.core.prefs |-- org.eclipse.jst.j2ee.ejb.annotations.xdoclet.prefs |-- org.eclipse.wst.common.component |-- org.eclipse.wst.common.project.facet.core.xml |-- org.eclipse.wst.jsdt.ui.superType.co...

Why does Eclipse use a native launcher ?

Eclipse the IDE is one of the best examples of a huge desktop application written in Java. Most Java applications I've seen usually rely on a batch or shell script to build a string with the class path of the application, and launch the JVM with the class path as an env variable. Eclipse, on the other hand, relies on a native launcher....

Eclipse Ganymede - Integeration with Tomcat 6 (without the whole WTP)

Hi! If I start with a Eclipse IDE for Java Developers (85 MB) (Ganymede) installation. What plug ins do I need to install to be a able to: See the Server tab and being able to add my Tomcat 6 installation. Be able to create a Dynamic Web Project which I may connect to my server. I want to be able to start and stop the server. See the s...

JavaMe deploy

Im using Eclipse 3.4, EclipseMe 1.7.9. Im trying to deploy/"create package" a simple project with an external .jar file (LWUIT.jar) included. When I try to create the package with the the .jar file exported (Properties -> Java build path -> order and export) I receieve the following error msg: "Error during build" (Details: Errors duri...