Java Questions and Answers

Recent IT Questions

1 - 20 of 187
<<PREVIOUS 1|2|3|4|5|6|7|8|9|10 NEXT>>

Java quick sort, reading from a user input file into any array (to be sorted)

Hey, What's up y'all, I am trying to write some code in Java that will read in the numbers from a file (one # on each line of .txt file) put them into an array, and then run quick sort on the array. Eclipse is showing some red that I am having trouble with. My errors are marked with comments, and...

View Answer   |  Nov 5 2009  11:00 PM GMT
Java, Java Array
asked by Benzle

  5 pts.

Should I remove old Java files?

[strong]b[/strong] [strong]I ran a "search" on my hard drive for Java, and up came 35 different downloads some dating back to 1993. What should I keep/ delete? This one dated 1993 npDSJavaPeer.class.[/strong] [strong]Thank you for your time,[/strong] [strong]Connie[/strong] b Software/Hardware...

View Answer   |  Oct 24 2009  10:46 PM GMT
Java, Windows XP
asked by Cgmcnally58

  5 pts.

Plans and Guidelines for a Web Application Project

Hello there fellow users, I have been entrusted with the task of designing and implementing a financial system for a charity foundation where I live. The charity foundation requires its work (addition and retrieval of records, for example) to be done online, using a web app. The app connects to a...

Answer Question   |  Oct 13 2009  1:17 AM GMT
ASP.NET, MySQL, Apache
asked by Voulnet

  5 pts.

USB + JAVA

hello... i need to block a particular usb port where any flash drive is inserted and prompts for a password... developing everything is handy but i could not find a way to block the usb drive.? Software/Hardware used: J2EE/JAVA

View Answer   |  Sep 26 2009  9:06 AM GMT
Java, J2EE, USB port security
asked by Javakks

  5 pts.

Difference between float and double?

float f=1.2f;  double d=1.2;  if(f>d)  {    System.out.println("Welcome");  }   Output: Welcome.  Why float is bigger than double while both have the same 1.2 value? Software/Hardware used: Java

View Answer   |  Sep 25 2009  6:10 AM GMT
Float and double, Java, Java programming
asked by AnandB

  5 pts.

Chrome, firefox, safari browsers

Some of the javascript pop ups are not working in chrome, firefox, safari but it is working fine in IE. Why this is happening? Let me tell you in brief about the problem... I have a user login page then when the welcome page is opening there are some pop ups which are not working..ie if some one...

Answer Question   |  Sep 3 2009  9:28 AM GMT
Web development, JSP Page Design, JavaScript
asked by Advancedjava

  25 pts.

action listener

if i want to declare a button in one class and assign action to it another class, how shall the code be written? the add ActionListener(this) does not to seem to work when the button is declared in one class and action assigned to it another class how shall the code be written? Software/Hardware...

Answer Question   |  Aug 22 2009  6:18 AM GMT
Java, Java programming
asked by Varu87

  5 pts.

Doubt in Short and int data types in java

public class Yikes { public static void go(Long n) {System.out.println("Long ");} public static void go(Short n) {System.out.println("Short ");} public static void go(int n) {System.out.println("int ");} public static void main(String [] args) { short y = 6; long z = 7; go(y); go(z); } } Answer:...

View Answer   |  Aug 18 2009  7:02 AM GMT
Java, Java programming
asked by Suriyans

  5 pts.

Secure Java Servlet

Hi, is there any way to secure the execution of Java Servlets on Lotus Domino 7.x ? I used the Realm document and does not ask for user and password. For Databases it does. It is about Lotus Domino on iSeries machine. Thanks and best regards. Software/Hardware used: Lotus Domino 7 on iSeries 5

View Answer   |  Aug 13 2009  11:37 AM GMT
Java, Servlet, Lotus
asked by 68

  5 pts.

JDBC Connection from JAVA to iSeries DB

I have a simple class that resides on my local drive. I am attempting to connect to iSeries I5V4 environment and do "select" from one of the DB files. When I run my .class file in Rational Application Development I ghet a "class not found" exception. How do I set classpath in RAD? Should my...

asked by Lenny2113

  115 pts.

Get user id in CGI RPG program

Please, kindly advise on this issue I am having. Program is coded in RPG and is a CGI module. I tried to get user-id from program data structure, but this "UserID 254 263", but it shows QTMHHTTP, because this pgr runs on HTTP server. How else can I obtain real user-id of the user who is envoking...

View Answer   |  Aug 12 2009  6:31 PM GMT
RPGLE, Java, CGI
asked by Lenny2113

  115 pts.

.net java and abap

Hi I have two years of dotnet development experience . I am trying to move into SAP. Whats the best to opt for in Netweaver i.e Java or ABAP or there are any opportunities for this on dotnet platform. Which should be most promising for future. Googling I came to know Java is giving a backseat to...

View Answer   |  Aug 6 2009  1:26 PM GMT
Java, .NET, ABAP
asked by Nightangle

  5 pts.

How to access the ID Vault documents using java or c API

Hi all, Based on the new feature(ID vault) implemented in domino 8.5, i would like to access this new feature(idv vault) using java api. Like i want to mark it for inactive in id vault database for a particular user. and how to change the name. Regards, Sankar

Answer Question   |  Aug 3 2009  8:32 AM GMT
Lotus Domino, Lotus Domino 8.5, Java
asked by Sankardomino

  5 pts.

Store .wav file in a oracle db

I want a java program to store a .wav file to be stored in oracle. I know that we use blob, but my problem is I want to know the things to do in between upload and the insert statment used to store in the db

View Answer   |  Aug 2 2009  1:59 PM GMT
Java programming, Java, Oracle Database
asked by Ragas

  60 pts.

What is the command to compile a Java program?

What is the command to compile a Java program? What is the command to run a Java application?

View Answer   |  Jul 19 2009  5:20 PM GMT
Java, Java programming
asked by Juna

  5 pts.

best Java testing tools

j2ee testing tools

View Answer   |  Jul 18 2009  3:57 PM GMT
J2EE, java testing tools, Java
asked by Cvpani

  5 pts.

Apache Maven support for Oracle JDeveloper?

What options are available for Apache Maven integration with Oracle JDeveloper? Moderator Note: This is a submitted question.

View Answer   |  Jul 10 2009  2:16 PM GMT
JDeveloper, Apache Maven, Java
asked by BrentSheets

  6535 pts.

Career switch within IT from java and PM to SAP

I have 12 yrs of IT experience on java technologies and project management. Executed most of the project in the domain of SRM. based on that i want to make career in SAP MM. Could someone tell me how to proceed in this regard.

View Answer   |  Jul 8 2009  4:42 PM GMT
SAP MM, Careers, SAP careers
asked by Rags74

  5 pts.

Java error 25009

Get a error 25009 - unzipping core files failed when downloading Java

View Answer   |  Jul 3 2009  3:22 PM GMT
Java, unzipping core files, Error 25009
asked by Wtfo1947

  5 pts.

Lotus Notes databases runs slower on Mac

Hi, I have a few questions: Can somebody enlighten me why databases on mac runs slower compared to PC? Is there a way to improve speed performance on Mac? What tools can I use to monitor or trace where the performance break since Java Debugging console does work on Mac? Thank you!

asked by Pdxgeek

  55 pts.

1 - 20 of 187
<<PREVIOUS 1|2|3|4|5|6|7|8|9|10 NEXT>>