So I would like to set PATH and CLASSPATH system variables so I can use javac and java commands in the command line. I can just compile and run java programs in eclipse but I would also like to be able to run them through command line.
This is where I have Java installed:
C:\Program Files (x86)\Java
jdk1.6.0_20
jre6
And this ...
Is anyone aware of an eclipse plugin that updates the tooltip on hover over a method/class to include annotation information?
There a few libraries we are using that have annotated methods and it would be handy if I could hover over the method and see what has been applied. I realize this would only work with annotations that have been...
I am trying to export a standalone RCP app using Eclipse 3.5.2.
The app has a main pure Java plug-in, and a Java / Groovy plug-in that is used by the main plug-in.
When I export the main RCP plug-in using the "Export Wizard", I get compiler errors saying that the Groovy classes cannot be found, e.g
ERROR in C:\mysrc\src\ch\calcs\provi...
I have a java project with a lot java files. So, I want to know the number of .java files in my project in Eclipse. How to know that?
...
So here is my program, which works ok:
import java.io.FileReader;
import java.io.BufferedReader;
import java.io.IOException;
import java.util.Scanner;
import java.util.Locale;
public class ScanSum {
public static void main(String[] args) throws IOException {
Scanner s = null;
double sum = 0;
try {
...
Starting point: a heap of Java code built in Maven (and edited and debugged in Eclipse via the maven-eclipse-plugin). Desired end point: an Eclipse plugin that puts a UI around some of it. Question: What's the shortest path in terms of tools?
The maven-eclipse-plugin documentation suggests that it might have a contribution to make to th...
Is it possible to skip a statement in Eclipse while debugging? Suppose the process stopped at breakpoint and I want to skip the breakpoint line ( or maybe a few lines below), can I do it? On the debug tab, it only has "Step into", "Step over" and "Step return" buttons.
I did google around but couldn't find anything, hopefully I can find...
I am almost done with my project in android, now I want to make the executable version of the application.
I need to demonstrate it in .exe form as soft app as on emulator, not by built and debug process from eclipse.
need immediate idea
...
Given a list of potential class names:
1. Alaska
.
.
.
50. Wyoming
Is there a tool that will create empty java class files for each with supplied parameters?
I'm thinking of something like the "New...Class" dialog in Eclipse, only on steriods. :-)
Thanks in advance,
Kyle
...
There is quite a tier of organization in Eclipse. You can have multiple workspaces, each of which can have projects, these projects can be assigned to working sets, and then each project can have source folders....
How do you use all this organization? Do you even use it all? Working sets are so hidden that I hardly know what they are; ...
Hibernate is flooding my IDE console with tons of unnecessary informations at every connection. I already read out the documentation and googled trying to solve this issue but till now the problem "persists".
My persistence.xml:
< persistence >
...
< property name="hibernate.show_sql" value="false" />
< property name="hibernate.use_sq...
How to enter only Integer values in BlackberryTipCalculator in Java?
...
I use eclipse and svn 1.6
What I basically want is to be able to switch between svn files and current I work with, so that
I could rollback to the state that I had before synchronizing and updating some files with svn changes.
I do not want to put local changes to svn. But I want the state of all files to be saved somewhere,
by using a...
We're developing an open source SDK based on Eclipse and to make users life easier, we offer the SDK download. This way users are less likely to get lost in Eclipse's bewildering download site, less likely to make a mistake installing the Eclipse Web tools platform and less likely to make a mistake entering our BONDI SDK update URL.
The...
Hi there,
I am using the RCP Splash Screen along with the built-in ProgressBar (AbsolutePositionProgressMonitorPart). The splash image has a blue background color, but the background of the progressbar seems to be white, which leads to some white corners.
There is no "setBackground" on BasicSplashHandler nor does getContent().setBack...
Does the option "This plug-in will make contributions to the UI" essentially get ignored if the previous option "Generate an activator, a Java class that controls the plug-in's life cycle" is NOT selected" ?
...
In a JUnit test I'm using this code to load in a test-specific config file:
InputStream configFile = getClass().getResourceAsStream("config.xml");
When I run the test through eclipse, it requires the xml file to be in the same directory as the test file.
When I build the project with maven, it requires the xml to be in src/test/resourc...
How do I stop the "Maven 2.0 integration" plugin from running maven build, while keeping "build automatically" checked?
I'm pretty sure it used to be some check box to disable maven build before, but after upgrading Ubuntu; eclipse seems to have been updated in the process, and now I cannot find any way to turn off the maven build. The ...
Is there a way to assign tasks to developers using TODO: statements in Mylyn (with Trac integration)
Basically I want to in the code - say MyClass.java / function GetNames
put TODO: followed by the developer name and subject and have it result in a Trac task assigned to the developer.
Thanks
...
how/where can I see what happened when my Android application crashes in Eclipse (using Run, not Debug)?
...