0
votes
1answer
19 views

can't getPreferences but it keeps changes (can see in manu layout)

I've made a special preferences layout. <?xml version="1.0" encoding="utf-8"?> <menu xmlns:android="http://schemas.android.com/apk/res/android" > <CheckBoxPreference ...
0
votes
3answers
47 views

How to find “public static void main” or the start of a program?

I am working on an open source project, about 10Kloc, and I would like to know where the program starts. Naturally, I think I should search for "public static void main". I am using Eclipse. Does ...
2
votes
1answer
18 views

How to set Eclipse code formatter to support fluent interfaces

I've recently started working with an API that uses a "fluent interface". I'm struggling to find how to configure the Eclipse code formatter to support this properly. What I want to get is this: ...
1
vote
1answer
26 views

“java.lang.ClassNotFoundException: org.apache.commons.io.FileUtils” being thrown even though jar is in /lib

I am currently using Eclipse Indigo and have two Dynamic Web Projects: Project A and Project B. Project A has Project B as a required project on the build path and also has it ticked on Properties ...
0
votes
2answers
25 views

JBOSS libraries not in Classpath

in our web app uses some libraries located under /client in the JBOSS directory. In Windows these libraries are detected correctly, so there's no error when compiling. However, in Linux isn't the ...
0
votes
0answers
27 views

Java swing application with simple help documentation based on eclipse (no RCP application)

I developed a Java Swing application using Eclipse. I would like to integrate the existing help documentation into my GUI. Basically I want to start my help window with a typical menu item as common ...
0
votes
1answer
25 views

Eclipse / Maven: “Could not find the main class” Errors While Building Executable JAR

Updated: "Could not find the main class" turned out to be a red herring: In the line immediately before public static void main(String[] args) my class attempts to load a resource bundle from a file ...
0
votes
1answer
59 views

Why isn't a new created file local?

I have the problem, that I create a new file in a Java program, but I always get an exception, that the new created file is not local, when I try to open it on the eclipse project explorer view. The ...
-1
votes
3answers
62 views

setting JAVA_HOME in windows 7

I am getting the following error when I try to run an ant buildfile in eclipse: BUILD FAILED C:\mypath\myapp\BuildWar.xml:16: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the ...
0
votes
2answers
41 views

Why will nothing paint on my screen?

I am working on a 2D platformer using swing in java, and I am currently developing the framework for the game. I am testing the reapaint() and draw functions, but they do not function and I am ...
0
votes
1answer
2k views

Can I run the jetty-maven-plugin from within Eclipse?

We're debugging java webapps, and would like to use the jetty-maven-plugin to launch a Jetty server. All of the documentation I have seen suggests that you should do it from the command line, which ...
0
votes
1answer
39 views

How do I change the encoding on Eclipse? [duplicate]

When I create a new row into my DataBase, I got these weird characters (from a String-type). I can not find how to fix this for 3 days. How do I change the encoding on Eclipse? I did all of these ...
0
votes
3answers
45 views

Update ListView or Activity?

I have a listView inside Activity inside tab layout. If I long press the item, I get the option to rename the item. Once the item is renamed, the change can't be seen until the activity is restarted. ...
-2
votes
1answer
305 views

How to make Java executable Jar file of Webdriver project

I am new to Java and Webdriver (Web QA automation framework). I have wrote a webdriver script which opens firefox browser. Open google.com. Make some searches and finish. N I have created this script ...
-1
votes
4answers
57 views

My Java version is the newest version but my JVM is still 1.5?

Recently I tried to use Eclipse but when I open it,it told me my JVM verion is too old Incompatible JVM Version 1.5.0_05 of the JVM is not suitable for this product. Version: 1.6 or greater is ...

1 2 3 4 5 1152
15 30 50 per page