Latest Questions tagged Eclipse

Browse all latest questions tagged Eclipse

81
Votes
Published 26 Oct, 2022
Java - How to find where a thread was originally started

Supposed I have an application that can spawn multiple threads if needed for doing tasks ... so nothing special. I use Eclipse to write and debug Java applications. A thread (lets call it "async task"...

96
Votes
Published 07 Sep, 2022
Java - Set environment variable values in persistence.xml from Eclipse

I'm using OpenShift, and I'm trying to deploy my application to a local Tomcat instance for faster development. I'm using EclipseLink for DB transactions, and I've provided the environment variables O...

68
Votes
Published 19 Sep, 2022
Java - Eclipse - How do I create a table in the comment section of class/method?

I want to use <\tbody>, <\tr> and <\td> to create a table in the comment section of a method : <tbody> <tr> <td>personId</td> <td>y</td>...

77
Votes
Published 19 Sep, 2022
Java - Scala IDE Error: Main method not found in class 'hello'

I am just beginning with my scala development on the Scala IDE(Eclipse). I am trying to create a new project and write a sample hello world program to kick things off. This is my sample program: obje...

102
Votes
Published 06 Sep, 2022
Java - Eclipse: The resource is not on the build path of a Java project

I have been given a source folder (src) of a Java Project. I have created a .project file, kept it inside that folder and imported that project into Eclipse 3.6 through the Import Existing Projects in...

43
Votes
Published 07 Sep, 2022
Java - ubuntu openjdk-7 the link "src.zip” is broken

I have installed OpenJDK 7 and it runs well on my Ubuntu 14.04 machine. I want to add Java sources to my Eclipse. When I go to /usr/lib/jvm/java-7-openjdk-amd64 there is a symlink called src.zip but...

9
Votes
Published 22 Oct, 2022
Java - How to debug a command line compiled Java .class file using Eclipse IDE?

I'm a programmer with strong C++ background, but new to Java world. Now I have a question about debugging. How to debug a pre-compiled Java .class file using Eclipse IDE? And I find it is really not...

12
Votes
Published 15 Sep, 2022
Java - "A JNI Error has occurred" for one instance of the program, not for another

I made a large program in Eclipse Java Mars on one computer which worked fine. I exported the program as a runable Jar-file and running it gave no problem whatsoever. Even when I exported the entire p...

20
Votes
Published 07 Sep, 2022
Java - How to make Eclipse align the ?: ternary operator?

I need the exact same effect as in this question but in Eclipse. It should only do the alignment if I explcitly insert a new line before the ":" or if the second operand (the "true" expression) is to...

13
Votes
Published 27 Aug, 2022
Java - Error opening zip file or JAR manifest missing : C:\Program

I'm on step "Running project on the Server" from https://developers.google.com/appengine/docs/java/webtoolsplatform#dynamic_web_project and I ran into a problem: Error occurred during initializati...

14
Votes
Published 04 Sep, 2022
Java - Creating a src/main/java folder structure in Eclipse without Maven

How do I create the src/main/java and src/test/java in my default web application project in Eclipse without Maven? My current folder structure is TestApp ├── JavaResources │ └── src │ └─...

67
Votes
Published 21 Aug, 2022
Python - How to suppress "unused variable" warnings in Eclipse/PyDev

How to suppress "unused variable" warnings in Eclipse/PyDev When I'm working with functions that return tuples, I often only need one of the values, but still want to assign to multiple variables. I...

16
Votes
Published 07 Sep, 2022
Java - Intellij test run history

What I miss the most in IntelliJ compared to Eclipse is the test run history window. Does anything like this exist in IntelliJ? I didn't find it anywhere so far and have looked a few times at least....

9
Votes
Published 19 Sep, 2022
Java - R.layout.main couldn't be resolved

I am building an application and I added a new activity to generate a view. I compiled it. My application can not find anything that is on the format R.id.xxx or R.layout.xxx, I've tried also cleaning...

90
Votes
Published 17 Oct, 2022
Java - Unsupported major.minor version 52.0 for when running junit

I'm using eclipse to run my tests with: right click test method -> Run As -> JUnit Test. This results in the following error: java.lang.UnsupportedClassVersionError: com/bazaarvoice/jolt/JsonUtils :...