Hello everyone. I have been trying to get desired output since last 4 days and so far very near to it. I am really stucked in the logic. Please help me or help me in writing proper logic. Open the attached zip file for whole eclipse project. No need to touch any file except **com.designimplementation.elevator.controllers.ElevatorController** So far I am able to get **Average cycles per customer trip: 42.35841100754549** But I must be **Average cycles per customer trip: 30** Please help me asap. Thank in advance.

Member Avatar
Member Avatar
-4 forum 1

HI guys, I'm really new to SVN and today I've installed tortoise as I'm working in windows at the moment and I'm following this tutorial https://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-qs-guide.html. So, I have a java project in Eclipse: I have created a local repository folder on my machine and imported a project in it. I've also created another folder where I've checked out the working copy of my project. Now, in Eclipse don't forget I still have open the original version of the project, what should I do with it? Should I just delete it and load instead the hecked out one? thanks

Member Avatar
Member Avatar
+0 forum 4

Hi, I have 2 projects opened in eclipse,I have added one of them as a maven dependency to the other.When I enable workspace resolution I am getting an error:Missing artifact myprojectname:jar:1.0.0 and when i disable workspace resolution it is showing some member properties of the class related to the project I have added to my dependencies and not showing others!!

Member Avatar
Member Avatar
+0 forum 1

I am using Eclipse, java8 I am trying to connect access database with eclipse but it is not working. I first created data source in "ODBC Data Source Administrator(32-bits)" for windows and than I added the jar file (mysql-connector-java-5.1.35-bin) But I am getting an error: ClassNotFoundException: sun.jdbc.odbc.JdbcOdbcDriver java.lang.ClassNotFoundException: sun.jdbc.odbc.JdbcOdbcDriver at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at ex01.main(ex01.java:34) SQLException: No suitable driver found for jdbc:odbc:J2EE_Database public class ex01 { public static void main(String[] args) { String url = "jdbc:odbc:J2EE_Database"; Connection …

Member Avatar
Member Avatar
+0 forum 2

Hello everyone! As some of you may know, Eclipse Luna appears to be broken for users of Kali Linux. There is a simple fix for that > Assuming that you have installed Eclipse Luna locate eclipse.ini `sudo nano eclipse.ini` add the following 2 lines before `--launcher.appendVmargs` --launcher.GTK_version 2 press `ctrl + x` then press `y` and finally press `Enter` That should fix it and you should be able to run eclipse. Now, next thing to do is we want to include Eclipse in Applications Menu for easier access or for dock users(like me on xfce) we can dock Eclipse. `sudo …

Member Avatar
Member Avatar
+2 forum 1

Below is the code i am using to create dropdown using listfields.In this i am able to create dropdown with hardcoded data binded to listfields with no Problem,but when i bind data from webservice when i clicked on horizontalfield(dropdown),first it shows the null pointer exception(White screen),by clicking middle button of simulator i am able to go back to dropdown design screen, where datas get binded in listfields.My question is why it shows null pointer exception even when the datas are binded to listfield. int index = -1; Object choice[]; Vector Sales = new Vector(); Vector SalesID=new Vector(); String SalesData; ListField …

Member Avatar
+0 forum 0

I have a problem with Eclipse when i try to start emulator it says: Starting emulator for AVD 'Nexus_5_API_21_x86' emulator: ERROR: x86 emulation currently requires hardware acceleration! Please ensure Intel HAXM is properly installed and usable. CPU acceleration status: HAX kernel module is not installed! I tried to instal HAXM but it says my cpy (P4) does not support it but emulator used to work before i uninstalled Eclipse before. Any ideas? cheers

Member Avatar
Member Avatar
+0 forum 1

I am using Eclipse helios and Android 4.1.2 i have followed the following documentation https://docs.google.com/document/pub?id=19nQzvKP-CVLd7_VrpwnHfl-AE9fjbJySowONZZtNHzw and done the coding exactly as described in tutorial.when i run my app on emulator it shows "This app wont run unless you update google play services" but on real device which is sony xperia which has google play services updated version it crahses with "App has stopped working".Any help is appreciated. This is my manifest <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.emeterfinalapp" android:versionCode="1" android:versionName="1.0" > <uses-sdk android:minSdkVersion="11" android:targetSdkVersion="16" /> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> <uses-permission android:name="android.permission.ACCESS_CORSE_LOCATION" /> <uses-feature android:glEsVersion="0x00020000" android:required="true"/> <permission android:name="com.example.emeterfinalapp.permission.MAPS_RECEIVE" android:protectionLevel="signature"/> <uses-permission …

Member Avatar
Member Avatar
+0 forum 10

Hi to all of you! I'm using Eclipse Luna 4.4.1 for Mac. I have made a project for a Java seminar I am attending.My project consisits of several classes that runned perfectly fine...until today.That is , when I opened one of my classes and made some changes I started getting a "Run as ant build" window. Now, none of my classes is running, not even when I undid all my changes. Could you please help me as to what the problem is? Thank you in advance! This is the code that I wrote. Originally, I had the color and model …

Member Avatar
Member Avatar
+0 forum 3

how to get the declared value from other java file and use it to another java file? like I want to show the user's real name using the textView when he/she successfuly login, from the main activity to the welcome page. example "Welcome User". I have tried this but it's not working: `Cursor cursor = dataBase.select("SELECT real_name FROM " + TABLE_NAME + " WHERE u_id = '" + COLUMN_NAME1 + "';");` please help this the code of my homepage.java: package com.example.howtos; import android.os.Bundle; import android.app.Activity; import android.content.Intent; import android.database.Cursor; //import android.database.Cursor; import android.view.View; import android.widget.Button; import android.widget.TextView; import android.widget.Toast; public …

Member Avatar
+0 forum 0

I have just started looking into vim, and It seems very cool indeed ! However, I am not sure whether I should use it for everything or if I should use an ide with a vim plugin. I am interested in learning libgdx/android and google glass stuff. So which would be the better tool for developing with, eclipse or vim. I don't yet know what plugins exist for vim yet, but if you use vim for your java development then can you please tell me which plugins you enjoy, and if you use eclipse over vim can you state why …

Member Avatar
Member Avatar
+0 forum 27

I recently moved both my eclipse and Android folder into the same location. I didn't know that this would mess up eclipse. My themes are gone and eclipse can no longer locate the Android SDK. I've looked for ways to fix this online but most of the answers involve reinstalling the SDK from eclipse. My Android folder is ~5 Gigs and I'm not going to begin the whole process all over again. Now, I could move both folders back to their original locations but I don't want to have to deal with the security popup whenever I open up eclipse. …

Member Avatar
Member Avatar
+0 forum 2

Eclipse throws an error whenever I start it up (see attachment). Any help is greatly appreciated.

Member Avatar
Member Avatar
+0 forum 1

Well, the title says it all. Imagine that I have HelloWorld.java , I want to create an executable jar from it. I know that if I use IDE such as eclipse I can create it there but how can you create it without that?

Member Avatar
Member Avatar
+0 forum 2

I have designed the jasper report in iReport and integrated it with jasper server. It works perfectly. But I am facing problem with my next requirment. I need to integrate the same report with my jsp application. I meant I am not getting how to integrate this report in eclipse so that I can access it through one of my jsp pages(By providing the link to the report). Any help will be appreciated. Thanks in advance.

Member Avatar
Member Avatar
+0 forum 1

i am lerning advanced java so while practising the jstl topic i get this error on the eclipse browser... i had deployed the "jstl1-2.jar" then also this error is comming can anyone help me to find out what is the reason behind this HTTP Status 500 - The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application.......

Member Avatar
Member Avatar
+0 forum 2

I m trying insert multiple rows in same database (each row had many fields) on submit but unable to do so. I m successfully able to insert single row but when it comes for multiple rows I got stuck. This is the jsp page where you take an input to dynamically add no of rows. There is no separate submit button for each row instead single submit button to insert all rows. 1.> projmgrsuccessful.jsp <form name="allocate-project-task" action="AddProjectTaskDAO" method="get" enctype="multipart/form-data"> <h4>Another popup</h4> <input type="hidden" name="proj_emp_comt" value=""> <input type="hidden" name="pid" value="<c:out value="${pid}" />"> <label>Enter the no of employee involved in project</label> <input …

Member Avatar
Member Avatar
+0 forum 9

Hello, I am new to android development and this is my first time using eclipse so sorry if this question sounds silly. I have created an android application called IFMApp. I have four xml pages and 4 java classes. My application, is cleaning and building fine and will install to the emulator however when I click the app to open on emulator it outputs the message **Unfortunately IFMApp has stopped**. This is a copy of the console from the last compile. [2014-05-06 13:45:10 - IFMApp] Android Launch! [2014-05-06 13:45:10 - IFMApp] adb is running normally. [2014-05-06 13:45:10 - IFMApp] Performing …

Member Avatar
Member Avatar
+0 forum 1

I used to have turbo c++ but it is outdated now, so the only problem i am having with that is that there was a great help documentation in turbo c++ for the language and i could just browse to any function of c++ and get its details. After turbo c i am not able to get that kind of help anywhere or in any compiler. Can anyone plz tell me where can get that kind of c++ help ?

Member Avatar
Member Avatar
+0 forum 9

I have a question about Mobile App Development, I have learned allot when I kept reading about Mobile App Development Java, I thought at first it would be complex and would be impossible to make apps and a person needed a college degree in order to make apps, I was wrong I mean there are people in this world who are very talented and are good with programming and a born genius, for some people it's not hard to sit in your awesome room and make apps then add them to the Apple store or Google Play android store. Back …

Member Avatar
+0 forum 0

I have program that does OCR conversion using asprise plugin, now i want to save the whole console output to a text file. If somebody can point me in the right direction it would be very helpful. By the way I use Eclipse. Thanks.

Member Avatar
Member Avatar
+0 forum 3

I installed Eclipse IDE along with SDK JDK. When I try to create a new Android project it does not appear in context menu. I uploaded image to show. http://s1.postimg.org/b1n9yag9r/ENP.jpg Also image of installed items in SDK manager http://s15.postimg.org/5g5tg2ue3/ASDKM.jpg I've never developed android and this is first time in any IDE other than Visual Studio 2010. I have no Idea why there is no option to create new Android app, and hoping someone might be able to shed some light on what I might be missing or doing wrong. Appreciate any input.

Member Avatar
Member Avatar
+0 forum 3

I am using NetBeans and I have the MySQL server with SQL db running on my computer. I have a desktop app with embedded db. I would like to find some good info on how to add button functionality to initiate another desktop app. I would like to explore possibilities to initiate the MySQL command window. Is there a good way to add functionality of these applications so to have them available on my main desktop? My interest concern importing the eclipse file that could start the???.jar when the button actions fired. so I would need Java code that I …

Member Avatar
+0 forum 0

Hi, In one of my services in the webservice I have to return an array of objects. I am using Axis1.1 and Tomact6.0 and developing code using eclipse 3.4.1 and JDK5. Here is my sample code This is what my web service has [code=java]public class WebLibSvcs { public List<DocumentInfo> getAllDocuments(BigDecimal workflow_id) { boolean statusWL = WLGlobalVar.getInstance().isDctmWLRun(); logger.info("Status of WebLibrary: " + statusWL); WebLibSvcAction callSVC = new WebLibSvcAction(); List<DocumentInfo> results = new ArrayList<DocumentInfo>(); results = callSVC.getAllDocumentsImpl(workflow_id); return results; } }[/code] Implementation class: [code=java]public class WebLibSvcAction { public List<DocumentInfo> getAllDocumentsImpl(BigDecimal workflow_id) { List<DocumentInfo> result = new ArrayList<DocumentInfo>(); try{ DocumentInfo docInfo = new …

Member Avatar
Member Avatar
+0 forum 3

Hi All, I am new to webservices.I am using eclipse,tomacat6 and axis2. When i was converting a class to webservice upto WSDL creation was done.After that i was getting error like [B] IWAB0014E Unexpected exception occurred.[/B] and details are[CODE]IWAB0014E Unexpected exception occurred. The char '0x0' after 'return code: 502 <HEAD><TITLE>Connection refused</TITLE></HEAD> <BODY BGCOLOR="white" FGCOLOR="black"><H1>Connection refused</H1><HR> <FONT FACE="Helvetica,Arial"><B> Description: Connection refused</B></FONT> <HR> <!-- default "Connection refused" response (502) --> </BODY> ' is not a valid XML character. java.lang.IllegalArgumentException: The char '0x0' after 'return code: 502 <HEAD><TITLE>Connection refused</TITLE></HEAD> <BODY BGCOLOR="white" FGCOLOR="black"><H1>Connection refused</H1><HR> <FONT FACE="Helvetica,Arial"><B> Description: Connection refused</B></FONT> <HR> <!-- default "Connection refused" …

Member Avatar
Member Avatar
+0 forum 3

I don't think I fully understand the concept of looping. Below is what I put into eclipse and the results I get, am I doing something wrong to get the correct results if you could help thanks /* Working with a sentinel value Anderson, Franceschi */ import java.util.Scanner; public class EchoUserInput { public static void main( String [] args ) { final int SENTINEL = -1; int number; Scanner scan = new Scanner( System.in ); // priming read System.out.print( "Enter an integer, or -1 to stop > " ); number = scan.nextInt( ); while ( number != SENTINEL ) { …

Member Avatar
Member Avatar
+0 forum 5

So far I learned how to download the JDK Java Development Kit. Then created a PATH file cause it the training video they said something about sp Java won't mix up directories and so on. So putted the semicolon at the end of the Path File... In Environment Variables. Then downloaded Eclipse and SDK installed the extras plus important versions in the SDK manager so far learned about the emulator were you can feel and test the apps but the emulator is slow but better then nothing. Also copied the SSL code so I could get the Developers Tools etc. …

Member Avatar
Member Avatar
+0 forum 4

How to play mp3 files in java using eclipse?

Member Avatar
Member Avatar
+0 forum 6

I was following along to the following tutorial - [Derek Banas Java tutorial 18 - Threads pt2](http://www.youtube.com/watch?v=G2Xd5avyk_0) and as I decided to go over his tutorial series by following along in notepad++ and compiling with the command line, so that I can experiment and test things I'm unsure about, I figured the problem I encountered must be an error in the my typing. However, after skipping to the second stage, which is when I download his commented source code and read over it in eclipse, I noticed his code was identical. I then opened my code in eclipse and got …

Member Avatar
Member Avatar
+0 forum 5

i am trying to use xerces in ubuntu 13.10, it is instaled, i can see the files in usr folder but i have no luck including it in eclipse cdt, i've found this thread "[Click Here](http://www.daniweb.com/hardware-and-software/linux-and-unix/threads/409769/ubuntu-11.10-xerces-c)" but it is dead and the answer is not clear for me, could anyone help me?

Member Avatar
+0 forum 0

The End.