FAQ Database Discussion Community


Modify ivy classpath entry

java,eclipse,eclipse-plugin,ivy,ivyde
In the picture below, I want Ivy settings path to NOT include ${ivyproject_loc} Property Files to NOT include ${project_loc} Here is what I have right now. I was thinking it might be easier to remove the ivy library and add it the way I want it. I know how to...

What solution of Eclipse to Install for Python

python,eclipse
https://www.eclipse.org/downloads/index.php I saw a youtube video which tells to download and install Eclipse classic version but I couldn't find it on the Eclipse website. What solution do I install? I am beginner so sorry for the trouble....

Dynamically populating List View from Website XML data Android

java,android,xml,eclipse,networking
In my home screen (Main Activity) I have a List View, named lv. I have a separate method, created in MainActivity.java which returns an List of Strings which derived from parsed XML data. See below: public static List<String> getLocs(){ List<String> sts = new ArrayList<String>(); try { DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory...

How to compile and run a JSP Beans project using Eclipse

java,html,eclipse,jsp
I am a noob trying to learn what I can about JSPs. I am using Eclipse as my ide and have run into a small problem that I hope someone can help me out with. I have a dynamic web project with the following files: index.html <!DOCTYPE html> <html> <head>...

Object (Sprite) in 2D java game moves abnormally

java,eclipse,object
My sprite in my test game flies off screen at super high rates when pressing the key inputs I have and I don't know why. KeyInput.java: package com.cosmicluck.miner.framework; import java.awt.event.KeyAdapter; import java.awt.event.KeyEvent; import com.cosmicluck.miner.window.Handler; public class KeyInput extends KeyAdapter { Handler handler; public KeyInput(Handler handler) { this.handler = handler; }...

Trouble trying to run Python 2.7 and 3.4 in Eclipse

python,eclipse
I've installed Python 3.4 and am currently using Python 2.7. I want to create a Project in Python 3.4, but, when I go to Run-->Run Configurations and then look to make a new entry under Python Run , I see that C:\Python34 doesn't show up. Also, when I try to...

Eclipse not compiling because of ClassNotFoundException

java,eclipse,amazon-web-services,compilation,aspectj
After following an AWS tutorial for Eclipse, my code no longer compiles and runs. I decided to undo what the tutorial told me, so I may have changed some settings that I forgot to unchanged but I really cannot find the root of my problem. Eclipse seems to be back...

AWS RDS on Eclipse

eclipse,amazon-web-services,amazon-ec2,amazon-rds
I know this question seems a repeat, but it's not and I have tried all the solutions I could find PROBLEM: I am running an AWS RDS instance for the database. It works fine when I connect to it using AWS EC2 instance(uses linux) but when I try it with...

Why is eclipse complaining when I try to close BufferedReader in finally block?

java,eclipse,exception,bufferedreader,try-catch-finally
Here is my code: public static String readFile() { BufferedReader br = null; String line; String dump=""; try { br = new BufferedReader(new FileReader("dbDumpTest.txt")); } catch (FileNotFoundException fnfex) { System.out.println(fnfex.getMessage()); System.exit(0); } try { while( (line = br.readLine()) != null) { dump += line + "\r\n"; } } catch (IOException...

Array Out of Bounce Exception for Jar, but not Eclipse

java,eclipse,jar
When I convert my Java project into a Jar file, an ArrayIndexOutOfBounds exception of -2 occurs in line 3 of this section of code: for (int i = 0; i < copy.get(copy.size() - 2).size(); i++) { if (!copy.get(copy.size() - 2).get(i).toString().equals(" ")) { startLocations[index] = Integer.parseInt(copy.get(copy.size() - 2).get(i).toString()); index++; } }...

Eclipse Debugger Hitting Comments, Skipping Actual Code

eclipse,debugging
Using Eclipse Luna Service Release 2 (4.4.2) Build id: 20150219-0600 Java Web app running in Tomcat v8.0 (Gold Copy) I've restarted my Eclipse and its debugger numerous times over the course of several days, this has been happening constantly for a few days now, so this is not some random...

Eclipse CDT - No Console Output on OSX

c++,eclipse,osx,terminal,64bit
New to the C++ world and wanted to fiddle around using Eclipse's IDE for C/C++ called CDT. I am on OSX 10.10.2 using eclipse-cpp-luna-SR2-macosx-cocoa-x86_64. Sadly this simple example is not printing anything in the eclipse terminal. #include <iostream> using namespace std; int main() { cout << "Hello World" << endl;...

What are my next steps on finding the cause of this exception?

java,android,eclipse,debugging
I'm fairly new to Eclipse, Java, and Android programming. I've taken over development of an Android application. Someone has made a change several months ago that is causing the application to crash (exception) in code that is not part of the application code. I don't have any idea where or...

overridePendingTransition not work in adapter(android)

java,android,eclipse
I want run new Activity in Adapter use animation, but i have some error 06-19 09:54:29.253: E/AndroidRuntime(11464): FATAL EXCEPTION: main 06-19 09:54:29.253: E/AndroidRuntime(11464): java.lang.ClassCastException: android.app.Application cannot be cast to android.app.Activity 06-19 09:54:29.253: E/AndroidRuntime(11464): at apdapters.NewsAdapter$3.onClick(NewsAdapter.java:134) 06-19 09:54:29.253: E/AndroidRuntime(11464): at android.view.View.performClick(View.java:3517) 06-19 09:54:29.253: E/AndroidRuntime(11464): at...

How to Change Default Text Editor Annotation Preferences in Eclipse?

java,eclipse
So my Eclipse always uses a very weird text annotation (i.e. it highlights the errors instead of underlining them). I know how to change this. Window > Preferences > General > Editors > Text Editors > Annotations But I can't save my settings; every time I reopen eclipse to that...

Mysterious claim of a missing { in eclipse

java,eclipse
I have a case of a mysterious missing curly brace that I don't see any use for. Eclipse says, "Syntax error on token ";", { expected after this token". Either I am missing something very silly or there is something new I have to learn about Java. This is the...

Unfortunately, (My app) has stopped. Eclipse Android [duplicate]

java,android,eclipse,adt
This question already has an answer here: What is a Null Pointer Exception, and how do I fix it? 12 answers I'm a beginner in android developing and I'm trying to build a simple app but I'm getting this error in the emulator.(Unfortunately,(App) has unexpectedly stopped). LogCat http://i.stack.imgur.com/VZhuL.png package...

The method setColor(int) is undefined for the type NotificationCompat.Builder

android,eclipse,android-notifications
I'm working on a simple project which sends push notifications. I wanted to design my notification a bit by setting colors, icons etc. According to Android Developer site, there's a method to NotficationCompat.Builder class called setColor and setCategory, but both give me a compilation error. I've updated the android.support.v4.... to...

How to use the string from editText as display textview in another activity?

android,eclipse
I want to use the string which is typed in edittext as textview in a new activity. sub6 = (EditText)findViewById(R.id.editText16); txt6 = (TextView)findViewById(R.id.textView25); subject = (String) sub6.getText().toString(); txt6.setText(getResources().getString(R.id.editText16)); I have used this code. But is of no use. Can you please help me?...

How to use two port numbers for a single java web application?

java,eclipse,tomcat,servlets,port
I am working in a java web project in Eclipse IDE. project is working fine and we use Apache tomcat 7 as server. Now to access the application we use the URL as localhost:8080/APPNAME/. It works fine. In my project there is a servlet, that will request by other java...

Match a pattern preceded by a specific pattern without using a lookbehind

regex,eclipse,lookahead
Is there a way to match a B only if preceded by an A? The A can be at any position behind the B, with any amount of characters between. Examples: A_B (Matches `B`) C_B (No match) I've tried: (?=A)[^B]*B But it matches all the characters preceeding B as well....

How to implement log changes in a storm project locally using Eclipse

java,eclipse,logback,storm
I can't figure out how to implement changes to a local storm project using Eclipse. I can implement changes no problem on server deployed code by modifying the ./logback/clusters.xml file (e.g. changing log level from INFO to ERROR). How could I go about doing this?

guidance needed on using apache commons math

java,eclipse,apache
I am trying to utilize the Apache Commons Math (3.5) library in Eclipse IDE. I have downloaded the JAR file and have added the library to my project correctly. However my problem lies when I actually try using classes from the Apache Commons library. I try to create a new...

Disable Wrapping Cursor in Eclipse

eclipse,vim,vi
I'm mostly using Vi (edit: Vim) for text editing and the viPlugin for Eclipse Juno. Eclipse seems to have a very annoying behaviour of "wrapping" the cursor to the next/previous line, if yout reach the end/start of a line through cursor keys. (Reproduce by placing the cursor on the first...

How to inactivate an eclipse plug-in without uninstall it?

eclipse,plugins,eclipse-plugin,kepler
How to inactivate an plug-in in Eclipse Kepler SR2 without uninstalling it? I have a plug-in for Android, which is pretty big and causes eclipse starting slow. But I need the plug-in on some other projects. In Help -> About Eclipse > Installation Details -> Installed Software, there is only...

Add item above “Project” in eclipse project explorer contextmenu

eclipse,eclipse-plugin,ide,contextmenu,project-explorer
Iam working on a Eclipse based customizedIDE for our development environment. Here in a new perspective i have included a "Project Explorer" and in that iam able to add commands in the context menu but when i include A new Wizard (A project Wizard) in the "new" type it is...

Tempered Greedy Token - What is different about placing the dot before the negative lookahead

regex,eclipse
<table((?!</table>).)*</table> matches all my table tags, however, <table(.(?!</table>))*</table> does not. The second one seems to make sense if I try to write out the expression in words, but I can't make sense of the first. Can someone explain the difference to me? For reference, I got the term `Tempered Greedy...

Importing an OSGI bundle into eclipse

java,eclipse,maven,dependency-management,osgi-bundle
I try to import this OSGI bundle [2]enj-library into eclipse (after compiling it with Maven) , I used: "File > Import...> Plug-in Development > Plug-ins and fragments" and I imported the binary but I got the following unresolved dependencies: These dependencies were mentionned in pom.xml: <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <version>1.2.1</version> <extensions>true</extensions>...

exec-maven-plugin error, even on working example

java,eclipse,maven
EDIT5 Updated / I'm using Maven 3.3.3. I just create new project and added compile and exec plugin, as examples on web. I tried to execute, but I got error [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:java (default-cli) on project QNAProject: An exception occured while executing the Java class. com.jadex.qna.QNAProject.App ->...

Java 8 Optional.ifPresent is my code wrong or is it eclipse?

eclipse,java-8,nullable,optional
I am new to Java 8 and trying out Null type annotations and Optional. For my example below, I have used String rather than my class and am calling toUpperCase just to call something, in my case I actually call a function passing in a parameter (so don't think I...

Scala running issue on eclipse

eclipse,scala
I configured everthing within eclipse for scala. I create a snippet to show you the issue, i can't see in run options run as scala application, i also tried to find my main class under build configuration option but i can't find it. How i can solve it?...

Eclpse Luna SWT version

eclipse,swt
¿Is there a way to know the version of SWT that it was used to develop a certain version of Eclipse?. I only could find an SWT version on the Plug-ins tab of the Eclipse Installation Details, but I am not sure if that is the SWT used to run...

Stop git from bringing changes to master into my branch?

eclipse,git
I'll preface this by saying I'm relatively new to git, and I'm leaning on the Eclipse git GUI probably more than I should. Anyway, here's what happened: I created a remote branch from origin/master and checked out that branch. Another developer checked in a change to master. The change doesn't...

How to find references to a class that's referenced indirectly via exported jar in Eclipse?

java,eclipse
I have two Eclipse projects, Project_A and Project_B. Project_B is compiled and exported as a .jar file that's used by Project_A. Is there a way to select a class in Project_B and find all references to it in both Project_A and Project_B? Normally I'd use "Find all References" (Ctrl +...

Play Framework 2.4 IDE Eclipse directions don't work

eclipse,playframework,sbt,playframework-2.4
The directions can be found here: If I try and do activator eclipse I get an error that eclipse isn't a command. Specifically: "[error] Not a valid command: eclipse" If I I add addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "4.0.0") to plugins.sbt it gives an error....

eclipse pydev - how to install python modules

python,eclipse,module,pydev
Just working my way through a (very good) book call Test Driven Development using Python. This makes use of Python3.4 by the way. By the way, I am running in a Windows 7 OS. I've got all the stuff working using a simple text editor and running from the command...

Eclipse Selenium Facebook login issue (new page email) driver.findElement(By.id(“email”)).sendKeys(“”); Java

java,eclipse,email,selenium,facebook-login
I am trying to login facebook but there is a problem. I want to write "email" to facebook login page, but it's writing to my website's login page. i don't want to write email to email input of site.com, i want to write email to facebook login input which is...

How to structure my XText terminals? WORDS/SL_STRING/ML_STRING

java,eclipse,eclipse-plugin,dsl,xtext
In my XText DSL, I want to be able to use three different kinds of text terminals. They are all used for adding comments on top of arrows drawn in a UML diagram: terminal WORD: Actor -> Actor: WORD terminal SL_STRINGS: Actor -> Actor: A sequence of words on a...

Tomcat 7 PermGen Space or Failed to Create JVM

java,eclipse,tomcat,tomcat7,permgen
I'm currently searching for any help about this. I'm trying to start a Tomcat 7 server, but I only get PermGen Space exception. I tried to change the XXMaxPermSize value, but when I change it, I get a Pop Up at launch of my Eclipse : "Failed to Create the...

Android Fullscreen codes not working

java,android,eclipse
I am using these lines to get full screen, but the bar for Battery and Antenna is still there. requestWindowFeature(Window.FEATURE_NO_TITLE); getWindow().setFlags( WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN, WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN); I even checked a line mentioned in How to get rid of top fading edge in android full screen mode? When I add that (setTheme(android.R.style.Theme_NoTitleBar_Fullscreen);), screen goes...

Open a properties file from a class in a Dynamic Web Project

java,eclipse,jsp,properties-file
I'm using Eclipse for EE Developer. I need to access to a properties file (db.properties) from a class's method (DBQuery.java). The class is located inside a package inside the src folder. For the properties file i tried almost everything that i could find over the net to make it work,...

Enable JButton after CheckBox is checked

java,eclipse,jbutton,jcheckbox
I have a problem with a Java program,i have enabled a button after selecting JCheckbox,the result must be that the user must check the box and after the button is enabled. how can do it? Thanks....

Renaming file I got this error: !MESSAGE Variable references non-existent resource

python,eclipse,resources,liclipse
I'm making a game in Python (with Pygame) using LiClipse (based on Eclipse). My main file which executes everything is called "prueba.py". I've renamed it to "Main.py" and then trying to run the project I've got this error: !MESSAGE Variable references non-existent resource : ${workspace_loc:MyGame/prueba.py} Is there any file where...

No hello World output for Neo4j

java,eclipse,neo4j
I am just starting out with Neo4j and this is my first stackoverflow question! I tried to run the Hello-World example in Eclipse with the user library of Neo4j. ( https://github.com/neo4j/neo4j/blob/2.2.2/community/embedded-examples/src/main/java/org/neo4j/examples/EmbeddedNeo4j.java) I only changed the DB_PATH='data/graph.db' ( because in my neo4j-server.properties :org.neo4j.server.database.location=data/graph.db) The output I got in the console is:...

Not Able to consume external RestFul web service from Client in Eclipse or from restclient-ui

java,eclipse,web-services,restful-url,rest-client
I am not able to consume RESTful webservice from client. I have written in eclipse, even not able to consume it from restclient-ui, but can access sample RESTful web service which is running in my location web logic server. I am in Corporate/company Network. Getting error Connection Time out exception....

Java eclipse I want to open the form like tab [on hold]

java,eclipse
Java eclipse: I want to open the form as shown below http://i.stack.imgur.com/U0wT5.png...

Eclipse Design Tab detects wrong Java

java,eclipse
When I click on the design tab I get this error: Incompatible Java Versions Eclipse is running under 1.7, but this Java project has a 1.8 Java compliance level, so WindowBuilder will not be able to load classes from this project. Use a lower level of Java for the project,...

How to save a json file locally with dojo toolkit

javascript,android,json,eclipse,dojo
I'm trying to create a JSON file with dojo toolkit that need to be saved into local memory of the phone. The app need to be valid for android and IOS. I'm using ECLIPSE with ADT as a IDE. My principal issue is that normally the file created with dojo...

Eclipse can't recognize my javax.ws.rs.core.Response object

eclipse
I have an object (javax.ws.rs.core.Response), but my IDE can't recognize it. I cleaned and refreshed my project, but still not working. ...

Android Studio incorrect package name

android,eclipse,android-studio,android-gradle,packages
I recently changed the package name of my Android application in the Eclipse IDE. Then, I imported it into Android Studio. However, I noticed when running the app that it said Target device: AVD_for_10_1_WXGA_Tablet [emulator-5556] Uploading file local path: C:\Users\User\StudioProjects\AppName\app\build\outputs\apk\app-debug.apk remote path: /data/local/tmp/com.oldpackage.appname Installing com.oldpackage.appname DEVICE SHELL COMMAND: pm install...

java null pointer exception JMenuBar [duplicate]

java,eclipse,swing,user-interface,nullpointerexception
This question already has an answer here: What is a Null Pointer Exception, and how do I fix it? 12 answers Im stuck today with a java error on an eclipse 3.8 platform. I try to generate a simple MenuBar on a JFrame. The JMenuBar contains the JMenu("Help") and...

Compilation Error on maven

java,eclipse,maven,maven-plugin
Working on maven project. I m trying to build using maven but I m getting the following error! I m working on eclipse using JDK 8. Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) I also tried the above solution, but still I m getting error! [INFO] Scanning for projects... [INFO] [INFO]...

How do I view Android LogCat output from an exported APK running on a physical device?

android,eclipse,logcat
When I run my Android app using the Run -> Run menu option in Eclipse, the app launches on my phone and while it's running I'm able to view the log output in LogCat within Eclipse. When I export my app, copy the .APK onto the phone, install it from...

Eclipse extension point for Open Resource/Open Type dialogs

eclipse,plugins,eclipse-plugin
Is there an extension point where I can customize the search behavior of these dialog boxes? Or am I better off making an extensions that just overrides those hotkeys with dialog boxes that subclass FilteredResourcesSelectionDialog?...

Can I install 2 or more Android SDK when using Eclipse

java,android,eclipse,sdk,versions
I am new to android developments. I am setting up my android development environment using Eclipse. I have a test smart phone with Android version 4.2.2. The automatic installation installed the latest Android SDK version, which is 5.1.1. My questions are: 1. Do I have to install the SDK version...

html form action not working when using eclipse

java,eclipse,jsp,servlets
I am new to JSP and Java Servlet. I was going through this tutorial by Java Brains. In this tutorial get and post method is handled. I wrote my html code under web-content. </head> <body> <form action="http://localhost:8080/SimpleServletProject/hello" method="post"> <input name="userName" /> <input type="submit" /> </form> </body> Following is the hello.java...

one eclipse install not displaying utf8

java,eclipse,svn,utf-8
I have Eclipse installed on an old machine and a new machine. I download from svn repository on old Eclipse, UTF8 character in a java file displays fine. I download onto new Eclipse, UTF8 character displays as "?". I deduce that the file is saved correctly in SVN. I have...

Simple RMI application with client-side exception

java,eclipse,rmi,stub,stubs
I use Java 8 and I created a simple RMI application but I have a client-side exception that I don't understand. Using Eclipse the structure of my application is: ---RMI_project -----bin -------client ----------ImplementazioneMyClassServer_Stub.class ----------InterfacciaMyClassServer.class ----------MainClient.class -------server ----------ImplementazioneMyClassServer.class ----------InterfacciaMyClassServer.class ----------ImplementazioneMyClassServer_Stub.class ----------ImplementazioneMyClassServer_Skel.class...

apply formatter only on edited code - eclipse [duplicate]

java,eclipse,save,formatter
This question already has an answer here: How to turn off the Eclipse code formatter for certain sections of Java code? 10 answers I have implemented a formatter in eclipse for my code, when I try to save the changes it applies formatting on complete file. Is it possible...

How to change Eclipse IDE GUI icons?

eclipse,user-interface,icons
Elipse icons are ugly. Fact! I would like to replace the icons with more flat, monochromatic and minimalist icons, but I can't find documentation on how to change icons from Eclipse's user interface. How could I do this? It's needed to recompile eclipse?...

String returned positive booleans, despite not fulfilling any [closed]

java,eclipse,exception
import java.util.Scanner; public class Driver { public static void main(String[] args) { String userName; boolean good = false; boolean good1 = false; boolean good2 = false; boolean good3 = false; do{ Scanner scan = new Scanner(System.in); System.out.print("Please enter username: "); userName=scan.next(); try { checkForUpper(userName); good = true; } catch (MustHaveUpperCaseException...

IntelliJ Sync Eclipse files - Where is this setting saved?

java,eclipse,intellij-idea,ide
In IntelliJ there is the option of linking IntelliJ-files with Eclipse-files. So that changes to dependencies make IntelliJ readjust .project-files and the other way around. This setting is chosen when importing the project into IntelliJ. Now, i wonder: Where is this setting saved and is it possible that i can...

Accessing files inside a jar file

java,eclipse
I've been programming a simple webserver in Java, and though it works in Eclipse, I can't export it to a jar. I'm trying to package some files along with the binaries, and I know that I have to use InputStream to read from within the jar, but every time it...

UISpec4J tests in Eclipse are not found

java,eclipse,user-interface,testing,uispec4j
I am trying to run tests using the UISpec4J library, but Eclipse says it can not find them. I have tried restarting Eclipse, cleaning the project, etc. The class gives no errors and I have followed the examples given on the website. package com.health.gui; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test;...

Meaning of connectionTimeout in tomcat

java,eclipse,tomcat
What does that parameter mean for tomcat. It was declared in server.xml as follows: <Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443"/> So, I tried to change it <Connector connectionTimeout="2" port="8080" protocol="HTTP/1.1" redirectPort="8443"/> and didn't notice any effect. I expected that each page the load takes for more than 2 milliseconds would produce...

IntelliJ - use imported modules as dependencies like maven projects in Eclipse

eclipse,scala,maven,intellij-idea,sbt
I've been asking myself this question for a couple of years but never really found the solution. I used to work with eclipse (on maven java projects). I could import a project -let's call it 'proj-A'- and if one of proj-A's dependencies was found in the workspace with the same...

Calling Perl script from Java (JAX-WS in Eclipse)

java,eclipse,perl,jax-ws
I have a JAX-WS webservice that receives a string as parameter, calls a Perl script, and returns the string converted to upper case. It is running on Tomcat 8 (localhost on Eclipse). When I type from the console: curl -X POST --data "mystring=HelloWorld" http://localhost:8080/MyServices/api/generatePath Everything works except for the Perl...

ADT not updated in eclipse

java,android,eclipse
I using Eclipse for build an Android project, when I open Eclipse, this error displayed: For solve this problem, I downloaded last version of ADT (23.0.6) and install that in Eclipse from folowing : Help>install new software But this error displayed : The operation cannot be completed. See the details....

Importing Spring MVC Project Manually to Eclipse

java,eclipse,spring,spring-mvc
I have a little problem. I had googled for this problem and I haven't found any solution related. My problem is, my office internet using proxy that banned me to download zip file. I need Spring MVC Project template in Spring Tool Suite (STS). So I downloaded the zip file...

WebDriver Selenium browse file Java

java,eclipse,junit,webdriver
Can't browse file using webdriver. driver.manage().timeouts().implicitlyWait(3, TimeUnit.SECONDS); driver.findElement(By.id("1434461513889_57_7_input.file")).sendKeys("C:\\PDF_V1_COL88810_6L_Frangipani_TL_Fr_P1211089.pdf"); Have this error: NoSuchElementException: Unnable to locate element: {"method":"id","selector":"BatchUploadPlugin_57_fileupload"} HTML code...

Close module in android studio

android,eclipse,android-studio
in eclipse there is simple option to close or open project. How can I do it in android studio to close and open module without import it and delete each time?

Why does Eclipse reference a 1.4 JRE?

java,eclipse
When attempting to create a new Java Project, eclipse is telling me that the workspace is using a 1.4 JRE (see screenshot). Any ideas why it might be saying this? I don't even have a 1.4 JRE installed on my machine. I'm using GGTS 3.5.1 on Juno 3.8.2. My GGTS.ini...

Match string in XText regardless of upper/lower case

java,eclipse,pattern-matching,dsl,xtext
I want to create a rule in XText that matches to a string, but does not care in what case the string is. For example, I want it to match against both "DUCK", "DucK" and "duck". Is there a more simple way of doing it than covering all cases, like:...

How to access controls(views)in tabs from another one in android?

android,eclipse,android-fragments,android-tabs,oncreate
i'm working on application in eclipse that have 5 tab and i have spent much time for that but now i have a big problem : when one of tabs is activated the next tab and prev tab is loading too and onCreated() method is called but i don't need...

Eclipse CDT shows … not resolved errors for ARM neon intrinsics, but produces the binary

c++,eclipse,arm,neon
I develop ARM-Neon based embedded software for Cortex A8 and A9 processors. I use Eclipse CDT Luna for development environment. I opened a project and added #include "arm_neon.h" at the beginning of my main code, and the following flags to both C++ compiler and linker miscellaneous flags part in project...

First program doesn't work and i have no idea why

android,xml,eclipse
I'm an total beginner in programming from germany. I wanted to create a program where you can calculate the costs of gas while driving somewhere. So i wanted a 'starting page', a 'calculating page' and a toast that gives the result. i have two activities. I'm not sure why my...

java.lang.ClassNotFoundException: com.mysql.jdbc.Driver [Eclipse, Tomcat]

java,mysql,eclipse,tomcat,jdbc
I know that's an over-asked question, but still I can't get this thing right. I'm running a web application on Eclipse who has to interact with a mysql database. It all runs on a tomcat 7.0.27 server on localhost. As much as I try to add my my mysql-connector-java-5.1.21-bin.jar to...

Spring Roo Shell in Eclipse: Could not create sts.roo.ui.rooShellView

eclipse,spring-roo,spring-tool-suite
IDE: springsource-tool-suite-3.6.4.RELEASE-e4.4.2 / eclipse-4.4.2 with sts-3.6.4.201503051146-RELEASE IDE Plugin: Spring IDE Roo Support v3.6.4.201503051146-RELEASE (via Eclipse Marketplace) Maven project configuration for Eclipse AJDT v0.14.0.201302011330 (via http://dist.springsource.org/release/AJDT/configurator/) Spring Roo: spring-roo-1.3.1.RELEASE / spring-roo-2.0.0.M1 Reproduce Step: import project created by Spring-Roo into eclipse right click project choose "Spring Tools" click "Open Roo Shell"...

Eclipse Layout: static instead of relative values?

android,eclipse,layout
I have a layout with two Buttons. One button is in the Center of the left half, and the other button is in the Center of the right side. But I use relative values (left="60dp" etc.). How can I have the same result with static values? Because I don't want...

Using an external java library in OSGI bundle

java,eclipse,osgi,dependency-management,osgi-bundle
I want to use this java library [1]enj-library in my OSGI bundle that will be executed under KURA eclipse platform. I compiled the library as jar and then I created a new plugin project under eclipse "Plug-in from existing JAR archive" then I tried to add it to my bundle,...

How do you create a custom project type (from my plugin) without opening Eclipse?

java,eclipse,maven,eclipse-plugin
I have created a plugin for Eclipse. With the help of this plugin, I am creating a new type of project, let's say XTypeProject. The creation of this XTypeProject is similar to any other type of project you create in Eclipse. File -> New -> YourProjectType I just want to...

FXML file won't load even when file path is correct

java,eclipse,javafx
I am trying to load an FXML file: URL url = getClass().getClassLoader().getResource("/frontEnd/fxml/ModeScreen.fxml"); try { this.value = FXMLLoader.load(url); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } But when I run, I get: NullPointerException: Location is required the path to my fxml file is: src/frontEnd/fxml/ModeScreen.fxml and the path...

Java: unhandled exception

java,eclipse,exception,exception-handling,try-catch
I would like to handle an exception but the Eclipse editor is giving me tips which I'm not understanding. This is the method's code: public Collection<String> listOfFriends(String codePerson) throws NoSuchCodeException { Collection<String> s = new LinkedList<>(); try { people.get(codePerson).getFriendsCodes().forEach( code -> s.add(getPerson(code))); } catch (Exception e) { e.printStackTrace(); } return...

What wrong with my code in this case causing “Program has unexpectedly stopped”? [duplicate]

java,android,eclipse
This question already has an answer here: Unfortunately MyApp has stopped. How can I solve this? 6 answers Here I am trying to practice using Spinner both in XML and JAVA. Specificially, I made a program which showing Toast about tea, style, flava, topping chosen. I did check with...

Dx trouble writing output: already prepared… - Error in console

java,android,eclipse,e-commerce,braintree
braintree-api-1.6.1-full.jar android:minSdkVersion="14" android:targetSdkVersion="18" I need to implement braintree inside my android app which has no issues, but as I copy the braintree jar file, into my projects libs folder and import the necessary classes, my app crashes. Full error message in console: Dx trouble writing output: already prepared [2015-06-18...

Opening frame that is under the JavaFX program category

eclipse,video,javafx,jframe,mp4
Most of program is using JFrames throughout the application for all the different windows that can appear. However, I have to play an instructional video for the user inside a JFrame. I couldn't find a way to do this, so I had to make a JavaFX program. Is there a...

Search for exact word or phrase in Flash Builder's “Search” tool?

regex,eclipse,flex,flex4,flash-builder
How do I search for an exact match to a phrase or word in Flash Builder's search tool? For example, in my project I have a class with a function named "removeEvent". If I search on it, I get all instances where "removeEventListener" is used and of course that is...

Is there a way to compile Objective-C in windows with eclipse without launching the MSYS terminal

objective-c,eclipse
I want to compile objective-c from eclipse with foundation.h support. I can do it with GNUStep inside the MSYS shell, but I want to do it directly from eclipse Makefile without launching the Shell is is possible? As default XCode and a MAC machine is the right solution, But it...

Remote debugging tomcat with OpenShift

eclipse,tomcat,openshift,remote-debugging
I am using openshift for my tomcat webapp. I am able to run the app but unable to debug it. As openshift starts tomcat in debug mode, I was expecting I'll be able to debug. Host: $OPENSHIFT_JBOSSEWS_IP Value of this is 127.5.20.129 for me which I got from command: rhc...

Showing previous searches in PyCharm

eclipse,full-text-search,pycharm
Eclipse allows viewing one's previous searches in one's search history even going so far as to show the exact state in which one left a previous search. For example, if one removed (i.e. excluded) a search result from a previous search, that previous search is shown without that search result...

The local variable may not have been initialized error

java,eclipse
i have fixed it now, but it still shows me 0 after i input my first numbers. it shows me correct on vikt but not in pris. :S package Brev; import static javax.swing.JOptionPane.*; public class Uppgift1 { public static void main(String[] arg) { String indata = showInputDialog("Hur mycket väger ditt...

Java Server Pages, Java iOS and Codename One

java,ios,eclipse,xcode
Let it be known that I am an ASP.NET C# developer. A client of mine has brought me a Java iOS app, checkout the file structure and files: The webapps folder contains: And the iOS folder contains an Xcode project: There is an iOS app that you can download from...

BIRT Report Client or Server Side Filtering?

eclipse,birt
I have worked extensively to hide portions of my BIRT report and even have it integrated with Active Directory; however, I am unsure if BIRT filters the results on the server side (secure) or the client side (not secure). I know that the SQL is executed on the server side...

Getting SSLHandshakeException in java

java,eclipse,ssl,https,digital-certificate
I ma getting SSL Hand Shake error in eclipse while calling https restful web service from simple java stub but, can access this URL from browser after importing Client Digital Certificate to browser which was shared by service provider. Hiding End point URL for security purpose. Please help me, i...

do-while loop in android app

android,eclipse,do-while
I'm about to program my first app. I would like to use a do-while loop. I want that a button calculates something out of edittexts. After That I want to ask the user if he or she wants to calculate something again. I think a do-while-loop would be great, also...

Is there something wrong with my eclipse calculator?

eclipse
public class TaxReturn { private double rate1= 0.10; private double rate2=0.25; private double single_limit = 32000; private double married_limit = 64000; private double income; private int status; public static int married=2; public static int single=1; public TaxReturn(double inc, int stat){ double income = inc; int status=stat; } public double getTaxi(){...

How to avoid calling 'onCreated()' method of near tabs when i switch to some tabs?

android,eclipse,tabs,fragmentpageradapter
i'm working on application in eclipse that have 5 tab and i have spent much time for that but now i have a big problem : when one of tabs is activated the next tab and prev tab is loading too and onCreated() method is called but i don't need...

How to force team members to comment using eclipse plugin or something else

eclipse,jenkins,eclipse-plugin,coding-style,build-automation
Currently, I am working in a new project and it was difficult for me to understand since there is no comment. I wonder if it is possible to force team members(including me) to add more comments. I would like to automate this ject in jenkins later if possible.

Aptana error: parsing data for android-22 failed

java,android,eclipse,adt,aptana3
After bringing the versions of JRE/JDK/ADT to the same (at least compatible) level, I still encounter the above mentioned error in Aptana Studio 3. Java and JDK are 1.7. During startup Aptana tries to rebuild and stops with this error message. Update: After "Android SDK: Resolving Error Markers" Aptana status...

JSF facets not available in Eclipse

java,eclipse,jsf,facets
So I am watching a tutorial about how to configure JSF in eclipse. I understand that you click file -> new -> Dynamic Web Project. And then it gives you a few options. The Target Runtime will be (for me) Apache Tomcat version 8, and dynamic web module version will...