0
votes
0answers
13 views
Don't see my java project in the “Package Explorer” panel in eclipse?
I'm able to compile and run my *.java files in eclipse 4.2.1, however I fail to see the the java project folder in "Package Explorer" panel that includes these *.java files? How do I enable this ...
0
votes
0answers
11 views
Java source code generation: Eclipse JDT AST vs CodeModel
I am writing an eclipse plugin which lets the user write java code using a drag and drop kind of UI. I have came across these two java source code generation libraries. Eclipse JDT AST and Code Model. ...
1
vote
1answer
26 views
Android sql database
I try to connect from eclipse emulator android to an sql server using this code:
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.Statement;
...
0
votes
0answers
18 views
Eclipse portable no longer works in Win 8?
I swapped a newly-bought ssd into my hdd1 slot, and put the hdd it replaced into my hdd2 slot today. Installed win 8 x64 and did all updates, personal config, etc. Everything seems to be fine and ...
0
votes
1answer
27 views
Android sql database connection
I try to connect from eclipse emulator android to an sql server using this code:
String driver = "net.sourceforge.jtds.jdbc.Driver";
Class.forName(driver).newInstance();
String connString = ...
0
votes
2answers
22 views
Cannot find the file to dynamically execute it
I am using dynamic execution but it tells me that the class is not found although I double checked the path and it's correct
This is the method I am using
public static void runIt(String ...
0
votes
1answer
23 views
Run java file using 'java filename' command [duplicate]
I want to run java file using 'java filename' command when you're not in the file's directly.
In the terminal we use :
cd filepath
java filename
but in Eclipse you cannot change the ...
0
votes
1answer
39 views
JAVA is required to run android project in eclipse for windows 7 [duplicate]
I am newbie to android so i wonder java installation is required to run android project from eclipse SDK ?
If it is required then i already installed it. Then why i am getting this error:Error while ...
-2
votes
1answer
49 views
End a java program launched from Eclipse without killing Eclipse
I need to end my program, but can't do it how I want to.
I heard about
System.exit(0);
but this closed even the workspace I am working in.
I use a plug in project and run it as new Eclipse ...
0
votes
3answers
42 views
Android welcome screen waiting too long?
I'm new in Android development, every time when i try to start mine application, i need to wait very long?
I have low PC perfomance, but i see that peoples with much faster PC's has same problems.
...
0
votes
1answer
16 views
Google Maps for Android v2 - Importing separate java file
For my school project we have to work with the Google Maps API v2 for Android (with Eclipse ADT).
We are creating an app that keeps track of your location during Running or Cycling exercises. This ...
0
votes
2answers
53 views
Array Clone doesn't work
what is wrong with my code?
in the main method i am doing this:
int [] test=new int[48];
test=etable(Right[]).clone();
What i want is, that the 'test' array is exactly the same like the output ...
0
votes
1answer
14 views
Error publishing to Tomcat v6.0 Server at localhost
I wave problem with Tomcat when I try to run a jsf page, I get next error:
Details:
Publishing the configuration...
Error copying file to C:/Program Files/Apache Software ...
0
votes
1answer
29 views
Error in Creating Views in Fragment
I have created a Activity with 3 Fragment layout where the user will swipe the screen to display another fragment.
On my first fragment I plan to have a ListView to display out the information of the ...
-2
votes
1answer
16 views
Email Mask fo JavaFx TextField [closed]
I m new to JavaFx and Java in general, I would like to set a Email address mask to a TextField control, there s a lack of information about that on the internet, I would like to know what s the best ...
0
votes
1answer
15 views
GWT Web App Creator's .launch file: what is it and do I need it?
I just used GWT's webAppCreator command-line utility, and noticed it produced a MyModule.launch file.
What is this .launch file, why do I need it, and what happens if I delete it?
0
votes
0answers
16 views
Does Checkstyle false positive on resource files?
'Activating Checkstyle' on a project dishes out two violations for every of the (.wav, .png) resource file in my project :
1. File does not end with a newline.
2. File contains tab characters (this ...
-3
votes
0answers
17 views
Using eclipse for Existing Cassandra installation Development on Umbuntu 12.04 [closed]
I am considering using eclipse for Cassandra version 1.0.12 development with Java and python.
I have Java and python 2.7 (Pydev) installed.
What is the best solution to interact and develop using ...
0
votes
1answer
29 views
Restart an Application in JavaFx
I want to close and then restart a already running application (automatically) that I am making, by clicking a button or something like that, I want to do that for the purpose of re-launching the ...
0
votes
0answers
50 views
Speed of running Java Program on Eclipse [closed]
I have a java program that reads a 3 text files and computes the number of times a specific word occurs in each document. I run the program in the morning and it took only 3 minutes to read and do the ...
0
votes
0answers
19 views
Have the Facebook Auth to android code here, have some questions
I found the code to make a login to Facebook on the Internet, did paste it into my mainactivity (LoginActivity for me) and started the program in Eclipse.
package com.test.testApp;
import ...
0
votes
0answers
9 views
JavaFx not accepting Media Source file
Hello I m trying to add a media in JavaFx I tried many solution already availble here on stack overflow and none of them seems to work for me , I tried this when I put the file in the src folder :
...
1
vote
1answer
33 views
Link CSS and Images to Spring MVC maven Projcet
I have a Spring project created using maven. The following is my directory structure.
I want to add css images to this project. For this, i created a resources folder inside the web-inf directory ...
0
votes
2answers
32 views
Reason behind android app crashes when button is clicked
I'm trying to make an app which creates an object and saves it in a TreeSet but when I press the button the app crashes. I need help
MainActivity is as below:
public class MainActivity extends ...
0
votes
1answer
32 views
Null Pointer Exception while taking pictures from camera android HTC
I am using following code to take images from camera or Other intents. On mY Samsung S2 It works fine but HTC Is giving error
private void openImageIntent()
{
// Determine Uri of camera image to ...
0
votes
0answers
9 views
CVS Repository for BPEL in eclipse
I tried to create a CVS repository in eclipse as guided by http://www.eclipse.org/bpel/users/pdf/HelloWorld-BPELDesignerAndODE.pdf for using BPEL .But i am unable to proceed.
The error is
Error ...
0
votes
1answer
15 views
Twitter4j : Desktop cannot be resolved
I tried oauth example in Eclipse by downloading from this site : https://github.com/yusuke/twitter4j/blob/master/twitter4j-examples/src/main/java/twitter4j/examples/tweets/UpdateStatus.java
I got ...
0
votes
1answer
19 views
How debug web application with maven Eclipse and glassfish?
I create simple web application as maven project. Run mvn eclipse:eclipse and import it into Eclipse worck space. I also has a Glassfish. I run maven goal "clean install" and add properties:
...
1
vote
2answers
42 views
Eclipse class does not compiled in a particular workspace
I have the code above running in eclipse. It is a simple piece of code which should print "hello". When I run the code, I get the error code "error: Could not find or load main class ...
0
votes
0answers
35 views
How to actually make lambok annotations work for getters and setter
I am trying to use lombok getters and setters annotations.
As far as I know the annotated code is generated at runtime and not compile time so how can take the help of autogenerated getters and ...
0
votes
1answer
16 views
How to get GWTUpload SingleUploader to replace the previously selected image
I am using GWTUpload SingleUploader to select and display a photograph. If I select a photograph and then change my mind and select a different photograph the next photograph is displayed next to the ...
0
votes
1answer
19 views
Ondraw method is not being called
I have my main class like so:
package projects.game.spinners;
import java.util.ArrayList;
import java.util.Collections;
import android.os.Bundle;
import android.app.Activity;
import ...
0
votes
5answers
52 views
Setting Multiple Text Views Android
I have pairs of Text Views that I am setting beside each other, and also I need to layout them vertically as well unfortunately I have one area that will not set right which is txtView2 as per the ...
0
votes
2answers
23 views
java runs the batch file. - cant insert command
I am creating a Process in java which opens my batch file and runs perfectly fine.
Process p = Runtime.getRuntime().exec("cmd /c start c:\\blah\\example.bat");
OutputStream out = p.getOutputStream();
...
3
votes
1answer
43 views
Eclipse “Run as” has no “Java Application” option (What exactly is needed to be able to run a class/.java?)
I want to run a specific .java file (a class), but Eclipse is not co-operating.
I have tried to follow the instructions here -->
eclipse how to run a different class
...but my "Run As" menu item ...
0
votes
2answers
31 views
eclipse says “already running”, but no big red “close” button
I am sure I would be able to find the answer if I knew the right terminology for some of these things, but basically the problem is:
Every time I have run a something in Eclipse (Java) before, there ...
0
votes
0answers
8 views
Debug immediately starts after keeping a breakpoint and fetching wrong values at run time
In Eclipse, after I double click on a particular method to keep a breakpoint, the debugger automatically starts and the control comes to the method. When I hover on the method arguments, I see that it ...
0
votes
1answer
36 views
How to find svn directory from local java project programmatically
I wonder that how to find related svn repository directory from existed local java project instead of svn commands ?
To be clear , my project is already checked out and i have .svn file for each ...
0
votes
3answers
42 views
How do I show two text views next to each other
I have a Main Activity That has a Clickable Link that launches a Activity. Right now what is showing is "Click Here" in a text view. I would like to change it to : "To see Evacuation Routes - Click ...
3
votes
1answer
38 views
Error while trying to run the Eclipse plugin
I get the following error when I run my Eclipse plugin, it was working fine and not it's not even running .. It says that the 'Activator' class is not find
Here is the exact error
> !SESSION ...
-5
votes
0answers
114 views
How do I print an integer datatype using Java? [closed]
public static void main(String[] args){
char[] buffer=new char[1024];
StringReader reader=new StringReader("happy birthday to you");
int y;
try {
y = reader.read(buffer);
...
0
votes
0answers
10 views
Choosing the correct JRE version in Gradle with Eclipse
I'm using Gradle with the Eclipse plugin to generate project files for my project, but I can't get it to put the correct JRE version in .classpath. I can add a JRE container, but I can't figure out ...
0
votes
2answers
32 views
The import com.google cannot be resolved
I am trying to do a Map View in android (migrating from iOS). In the android SDK pannel I have google APIs (API 17) installed, which I was hoping would fix the problem. So in my source code I have:
...
0
votes
0answers
25 views
Why this error will be raised in GWT Server when i am trying to call my GWT application?
Here in below i am posting the one problem what i am getting in my project.
An unexpected error has been detected by Java Runtime Environment:
Internal Error (constantPoolOop.cpp:67), pid=5160, ...
0
votes
0answers
14 views
Android - Empty PreferenceFragment after HoloEverywhere update
after updating ADT i had lots of issues and deleted my Workspace and recloned everything with git and got a newer HoloEverywhere revision (dont know previous revision, but i want to use latest).
I ...
0
votes
0answers
11 views
JADE and JDBC MySQL connection giving classnotfound exception
protected void setup() {
System.out.println("Hello Buyer Agent "+getAID().getName()+" is now ready....");
String url = "jdbc:mysql://localhost/";
String dbName = "testdb";
String ...
1
vote
0answers
20 views
Netty server down (Server is running in eclipse debug mode )
My netty server suddently stop accepting TCP connection. It works fine til last night.The server is hosted in remote, it is running in eclipse Version: "Juno Service Release 1" in debug mode.I didn't ...
0
votes
0answers
12 views
Eclipse auto-complete with place-holders?
When I invoke a method or constructor and use Ctrl-Space to select the signature I want, the output I get is shown below. Note that place-holders have been used for the arguments.
Now, if started ...
0
votes
0answers
12 views
Eclipse Hellios 3.6.1, Web Page Editor, Could not open the editor JSP
I am using Eclipse Hellios 3.6.1 and when I try to open a JSP containing this character <%= (e.g. <link href=" <%=request.getContextPath()%>) with the Web Page Editor it throw
this error:
...
0
votes
1answer
19 views
Always shows NO RESULTS in ASSOCIATE WITH SONAR in Eclipse Juno
I am trying to Configuring SonarQube in Eclipse.It successfully connected to localhost:9000. It does always show NO RESULTS while Right click on project -> CONFIGURE -> ASSOCIATE WITH SONAR...