3097 byte By
drake01a at 2007-10-2 0:20:51
Can anyone help? when I run the code below, I end up with a NullPointerException. I figured is because I am trying to do outputstream.write(cmdstring.getBytes()); on line 46.I need help figuring out why it gives me an exception. ThanksDrake01import java.util.*;import javax.comm.*;import ...
Please tell me how to resolve this exception ASAP. I have a cloumn by name text in the database, why doesnt it consider it?Unexpected Application Error Occurred.javax.servlet.jsp.JspException: columnName text not found in search results list at ...
3079 byte By
drake01a at 2007-10-2 0:21:09
Can anyone help? when I run the code below, I end up with a NullPointerException. I figured is because I am trying to dooutputstream.write(cmdstring.getBytes()); on line 46.I need help figuring out why it gives me an exception. ThanksDrake01import java.util.*;import javax.comm.*;import ...
About 3 times a day, all my browsers close, and this error mssg is then placed on my desktop. I have uninstalled Java 2 times, it seems I have no clue what I am doing. If anyone can provide me information (a fix, would be great) it would be greatly appriciated. Thanks.. Michael(as in log file ...
OUR COMPUTER SYSTEM SEEMS TO HAVE A 'BUG' - ON A GIVEN DAY, THE COMPUTER SCREEN LOOSES OUR WORK, AND THEN I FIND THIS MESSAGE, DISPLAYED IN A WORDFILE, WITHIN AN ICON. HERE IS THE MESSAGE: PLEASE ASSIST WITH INFORMATION. THANK YOU MUCH.MRS. D. BOGGS,WANDO WOODS BAPTIST ...
This is how my code looks like.It does'nt give me any error but I dont see the output from batch file which is suposed to be a simple redirection of dir command...package mypackage1;import java.io.File;public class RunBatch { public RunBatch() {try{Runtime rt = Runtime.getRuntime();String cmd ...
4816 byte By
drake01a at 2007-10-2 0:22:05
Hello!I have been able to open the COM1 port and (i think ) write to it. However I don't quite understand how to receive data from the connected device (when it sends data). I have looked at the simpleread code, but don't understand some of its content. It had certain variables about sizes ...
4830 byte By
drake01a at 2007-10-2 0:22:06
Hello!I have been able to open the COM1 port and (i think ) write to it. However I don't quite understand how to receive data from the connected device (when it sends data). I have looked at the simpleread code, but don't understand some of its content. It had certain variables about sizes ...
4831 byte By
drake01a at 2007-10-2 0:22:07
Hello!I have been able to open the COM1 port and (i think ) write to it. However I don't quite understand how to receive data from the connected device (when it sends data). I have looked at the simpleread code, but don't understand some of its content. It had certain variables about sizes ...
14209 byte By
Mwinaaaa at 2007-10-2 0:25:34
the browsers on the computer can't run java pages anymore for some strange reason and the following log turns up on the desktop.... help please..euforx@gmail.com## An unexpected error has been detected by HotSpot Virtual Machine:## EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d6c1f6c, ...
Getting "applet dominoactionbar notinited" error,
i have just reinstalled java...after it being corrupted, followed all instructions to the letter and guess what i have this lovely error java.lang.nullpointerexception.please does anyone know how to fix this? i have no idea ive spent hours trawling the net, removing java installing java ...
830 byte By
Mr_Mixa at 2007-10-2 0:30:14
I am trying to learn inheritance but i can't seem to get it. Can someone please tell me why the following code doesn't work.Jim.java contains:abstract public class Jim{protected int number;public abstract int chat();}Joe.java contains:public class Joe extends Jim{public int chat(){number = ...
Hi All,The intention is to get rid of the cases, when OutOfMemoryError exception on Tomcat 5.0.28. The exception is thrown after some period of running (from several hours to days, depends on the load/usage model). We have several EJBs, created by servlets, which in turn called by the client. ...
I downloaded two files. One is j2sdk1.4.2_09, the other is j2me_wireless_toolkit-1_0_4_02. When I created a java file in test editor and wanted to complie it in J2sdk. A Error message is displayed " javax.microedition.midlet" does not exist. I found no microedition java package in it. How to ...
I'm trying to make some very simple applets. I thought I compiled them using the command prompt: javac -source 1.1 *.javaHowever now the same computer does not recognize 1.1 as a valid source. It does recognize 1.2 as a valid source but I need a version before 1.2 as I can view the applets ...
HiI'm trying to compile a piece of code but the compiler gives me an error :package javax.microedition.midlet does not exist; import javax.microedition.midlet.*However, I have already downloaded j2me wireless toolkit-1_0_4_02 and jdk1.4.2
1480 byte By
ketchara at 2007-10-2 0:40:47
HiI have written an Applet which was working fine initiallly with JRE 1.4.Then I tried the same with JRE 5.0.It gives some error....Again when I tried with 1.4 it threw following error....Can anyone explain what is it all about.Thank you...java.lang.UnsupportedClassVersionError: ...
Hi. I'm new to Java. I have a custom class in a package and my main class is in the default unnamed package. Whenever I compile my main class, it doesn't recognize my class, although I've imported the package. After some poking around, I was able to figure out that I need to have the .java ...
Im making a program for my AP Computer Science in school and when i downloaded TxT pad at home and i installed the jdk-1_5_0_04-nb-4_1-win update, the same one we used at school it gives me a problem. Everything compiles fine and when i got to run the application is get the error: Exception in ...
300 byte By
vatsjaia at 2007-10-2 0:48:53
Respected all Java Gurusi am new prof. giving a hand to java. i wrote a very basic prog. it is successfull complied but when i run it i reciver a error sayingException in Java.lang.NoClassDefFound. Please help me to sort out this problem. i will be thankful. ...
does anyone know how to disable the <html:checkbox ? it should be disabled based on some conditionthanks>
This program is one I am writing, not finished yet. I use bluej, and it has the little broken thing in the class box in the main screen. There are no syntactical errors, so it compiles fine. But this error thing is ANNOYING! Any help?import java.util.Random;//Import Random Number ...
319 byte By
eerihela at 2007-10-2 0:58:10
Ok, short question that I hope you can help me with. Is it possible to force the compilation to fail if I a deprecated API is used. Why? Well, we are a large number of developers and sometimes people use a method or class that has been deprecated because they are either lazy or can't find the ...
Hello,I have got below error when i have run web application with JSP,Servlet,beans:I have used Tomacat 4.1, 5.0 and 5.9.No change ?I am using j2sdk1.4.2_03 and j2re1.4.2_03.This is the complete project i want to run in my PC when i extract .war file and run on my PC it's generate below error ...
HiI have 2 tables for eg: table a and table b with the same column name UOM...When i want to display my results on a jsp page using getColumn() then how can i differentiate between the two. I mean to get Table a column i wrote String a_var = getColumn("UOM");but then for table b how shud i get ...
HI IM having this java script error eveytime i go to a website i would like to either restore it and repair it somehow i need this fixed i try installing java dont work i dont want to use system restore right now its the default java script within windows i need fixed can someone plz tell me of ...
2767 byte By
Jlovea at 2007-10-2 1:00:59
I'm new to Java. honestly most of the time i have no idea what i'm doing. I'm suppose to do a prog. about dice throwing simulation. I'm getting the following errors that i do not understand:DiceSimulation232.java:59: unreachable statement DiceSimulation232 DiceSimulation232 = new ...
6789 byte By
drake01a at 2007-10-2 1:07:46
Hi everyone I have this piece of code that i am using to open COM1, write, and read from it. Well the problem is I doubt if it actually writes to the port because when i run the program, it opens the port but there is no information to read at the port. I tested the port on hyperterminal and it ...
Error information: mg/mlStart server side stack trace:java.lang.NumberFormatException: mg/mlat java.lang.Integer.parseInt(Integer.java:409)at java.lang.Integer.parseInt(Integer.java:458)at ...
6754 byte By
drake01a at 2007-10-2 1:08:07
Hi everyoneI have this piece of code that i am using to open COM1, write, and read from it.Well the problem is I doubt if it actually writes to the port because when i run the program, it opens the port but there is no information to read at the port. I tested the port on hyperterminal and it ...
Start server side stack trace:java.util.NoSuchElementExceptionat java.util.StringTokenizer.nextToken(StringTokenizer.java:230)how to resolve this?my code is:string soem = st.nextToken();
860 byte By
majstera at 2007-10-2 1:10:16
Hello,I have allways used Jbuilder to compile and run programs but I would like to run from the command line. I have jdk1.5.0_04 and jre1.5.0_04 installed. Whenever I type java or javac at the command line, I get:Microsoft Windows XP [Version 5.1.2600](C) Copyright 1985-2001 Microsoft ...
Hi there,I'm working with a big project that usually takes 45 min to compile which is a long time. I've noticed that the processor load most of the times is only at 50%. So it should be possible to speed this up, right? Does someone have some hints?thanks in advance,Janjava 1.4.2win xp3ghz ...
helloI am compiling simple jsp page which contains a package and i am calling that package in jsp . While in that java file i am using jdbc connection with remote server that ia postgre server. While i am checkling that java code it works fine then i am copied that package to ...
Hi, I'm a student in Holland, and we just got java and we have to make a camera security system. We have got a CTP unit which is attached to the USB port, but uses a virtual comport (COM10). The CTP is programmed in Pbasic, and that works. We got a .java program for our security system, but it ...
how to print the values present in a List to output console?i mean system.out.println( ? );i want to know what values does a list has in order to debugeg: if i haveList pctList ;how system.out.println( what this shud be? );thanks
953 byte By
ketchara at 2007-10-2 1:22:15
HiI am writing an application which takes a stream and converts it into an image with some manipuation on it.( zooming out the image.)I have set the zooming to 90% initially.But it throws the following errorjava.lang.OutOfMemoryErrorI want to catch this Exception,reduce the zoom size and do the ...
730 byte By
FateJHa at 2007-10-2 1:23:19
I'm kind of new to Java, but not to programming. This problem confuses me, not because I don't understand what's wrong but because the computer contradicts the obvious solution.I just installed JDK 5.0 that came with J2EE 1.4. A bit of advice from a number of people helped remind me how to ...
I cannot install Java at all on my PC. I knew my Java wasn't working, when I went to edit an EBay auction and none of the Java programs would work, so I had to put the auction in manually. I also cannot print from my AOL, play games, click on the delete link on Yahoo! email, and a few other ...
i'm new to using java so any help is usefullthe files are in the same directory, they are all named correctly. do i have to compile the java class file first or can i just point to it using a html as i am doing?this is the error message:load: class Scribble.class not ...
How do i fix this? It happends when I'm login in to my netbank account and it says I am about to download a certificate. Can anyone help me?
Hi all,Initially posted this in another forum section; hopefully I have it in the correct forum now, if not please advise.I抦 a local help desk tech here at a call center and we have a group of users with an annoying problem. It seems to affect users who are tasked with performing a certain ...
368 byte By
Lorza at 2007-10-2 1:32:11
[i]Hi new here and never used Java before having to do it as part of my course. I got told to come to this site and download JSE 1.4.2 and then go and download from DrJava the problem I'm having is that i keep getting error msg saying no compiler. Could some one please explain how I go about ...
Hi,I have written a project.it has three packagess model,view,controller.i.e we have folders like C:\exercise1\model\view\controller.and a main file C:\exercise1\mortgagecalculator.when i run the project in eclispe workspace it runs fine but when i run this at command prompt it gives me error ...
581 byte By
wizar10a at 2007-10-2 1:33:50
um im working on a simple project where i have to re-assign values to variableprogram goes as suchpublic class Excecrise_2{ public static void main ( String[] args ) { double X = 4.0; double Equation = (3*X -8*X + 4); System.out.println("At X: = " + X ); System.out.println("the value is: = " + ...
3790 byte By
Soaida at 2007-10-2 1:36:39
Recently i deployed an application to our jboss server and have been getting this error.exception ...
501 byte By
nardza at 2007-10-2 1:36:54
Hey pplTrying to use a List Iterator with a linked list.LinkedList knowledgeBase = new LinkedList();ListIterator iter = new knowledgeBase.ListIterator();and when i try to compileIEPL.java:147: package knowledgeBase does not existListIterator iter = new knowledgeBase.ListIterator(); ^I know the ...
how to print StringTokenizer or Iterator objects to console window using System.out.println() command?eg: StringTokenizer st = new StringTokenizer(arraylist, delimiter);system.out.println(st);when i directly put it in system.out statement like above it prints ...
7394 byte By
Vancea at 2007-10-2 1:39:13
Windows XP home SP2JRESE 1.5.0_05-b05Hello everyone,I tried searching for help on this "cannot find symbol" error, but sun keeps redirecting me to forums when I try to view a page other than the first on searches, so I'm sorry if this is answered elsewhere. (I couldn't look beyond the first ...