android project in eclipse with 2 src

I import a project of GitHub into eclipse. after import I get a library with 2 project.in the other words I download master project and after import I get a library and project1 and project2 .how can I run my master project? ...
more »

2017-10-14 23:10 (0) Answers

Extra spaces between two button using GridLayout

Could someone please explain me the reason of the gap between the two radio buttons ? I even set the horizontal space to 0 but nothing has changed. case composed: new Label(container, SWT.NONE); new Label(container, SWT.NONE); new Label(container,...
more »

2017-10-14 18:10 (1) Answers

Can't add a simple checkbox in frame 'java AWT'

I'm learning GUI programming in java AWT and am a bit stuck. I can't add a couple of check-boxes in a frame the code i'm trying is- package awt2; import java.awt.*; import java.awt.event.*; public class Checkbox { public static void main(String args...
more »

2017-10-13 16:10 (1) Answers

Maven Unable to deploy from within Eclipse (Mars)

I'm new to maven, but I have been able to figure out enough to be able to build and deploy my application from the command line with the following command: mvn clean dependency:tree tomcat6:undeploy tomcat6:deploy Running this command, builds and d...
more »

2017-10-13 00:10 (0) Answers

Cannot run JUnit-test in eclipse but with gradle

I have a gradle project in eclipse (Version: Neon.3 Release (4.6.3) Build id: 20170314-1500). When i execute my simple JUnit-test with gradle, everything works fine. But if i execute/debug the test in eclipse (by the context menu), the test crashes....
more »

2017-10-12 14:10 (0) Answers

about Eclipse for Java

If eclipse has a compiler (see Wikipedia article on IDEs, third line), itself why do I have to download the jdk for compiling .java files? Doesn't eclipse convert my file to bytecode? ...
more »

2017-10-12 06:10 (1) Answers

Trouble with installing eclipse themes in OS X

I'm really new to OS X and I'm trying to set up Eclipse just like it looked on my Windows machine. When I go to Help → Eclipse Marketplace → Popular and try to install "Darkest Dark Theme.." (link below) it gives me an error message, right...
more »

2017-10-12 00:10 (0) Answers

Using JUnit 5 with Java 9 without Maven or Gradle

The Description: I would like to create a JUnit test using JUnit 5 in Eclipse (Oxygen 4.7.1a). This JUnit test should be inside a seperate src folder called Test. However, I ran into the following problems as I'm new to JUnit and Java 9. I do not w...
more »

2017-10-11 21:10 (1) Answers

eclipse(java) wont load the workspace

the first time i opened eclipse it came up with an error message and it told me to check the log. so i did. heres the log. i have tried to delete .metadata and that didnt work. !ENTRY org.eclipse.osgi 4 0 2017-10-11 17:41:52.506 !MESSAGE Applicatio...
more »

2017-10-11 19:10 (1) Answers

Bin folder not present in Java EE SDK

I want to install Eclipse + Java EE and achieve a "Hello World" example. I have installed Eclipse which is OK. However, I have downloaded Java EE SDK 8 from here and unzipped the archive. I expected to get a folder named bin inside which I should fin...
more »

2017-10-11 14:10 (1) Answers

java - AWT fillOval not drawing new object

I'm trying to modify the sample code of an old ping-pong game from the website by adding second ball to the panel as practice. So far I'm duplicating the steps that generate the first ball. However, somehow I failed. Although the program is executabl...
more »

2017-10-10 10:10 (1) Answers

JAVA pointer being freed was not allocated

I am working on an java project (algorithmic in nature), running this project through CSV file after running few problems object, it's breaking with below error. java(7606,0x70000fc31000) malloc: error for object 0x7ffb84747ac8: pointer being fr...
more »

2017-10-10 09:10 (1) Answers

Can't change specific color in Eclipse

It's the color that the background of a word or variable that highlights it's occurrences in the rest of the code. This is what my editor looks like. Editor I've customized it a little bit but whenever I'm typing on something the white background is...
more »

2017-10-09 17:10 (1) Answers

execute war file using exec-maven-plugin

I package my spring boot application as a .war file. Then use the java -jar MyProj-{version}.war to run it from command prompt. No I am trying to execute the same command using 'exec-maven-plugin'. But it is failing with the following error ...
more »

2017-10-09 14:10 (1) Answers