reading from COM1

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 ...

reading from COM1

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 ...

Mozilla & IE shut down when running java pages.

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, ...

Java Error

56 byte By dmitchema at 2007-10-2 0:26:16
Getting "applet dominoactionbar notinited" error,

big java error

439 byte By binky291a at 2007-10-2 0:29:29
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 ...

Inheritance problem

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 = ...

OutOfMemory Errors

981 byte By pjakhotiyaa at 2007-10-2 0:30:33
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. ...

Error while running an Applet

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: ...

Java Runtime Prob.

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. ...

<html:checkbox> disabling based on a condition

125 byte By acetoleveragea at 2007-10-2 0:54:18
does anyone know how to disable the <html:checkbox ? it should be disabled based on some conditionthanks>

Error in Program

6909 byte By gamecockguy28a at 2007-10-2 0:54:19
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 ...

Error (Unsupported major.minor version 49.0) in Servlet - Tomcat 4.1

6690 byte By Neon_Andersona at 2007-10-2 1:00:00
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 ...

getColumn()

425 byte By acetoleveragea at 2007-10-2 1:00:39
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 ...

Java Script Error plz help !!!!!!!!!!!!!!!!

361 byte By inferno-primea at 2007-10-2 1:00:49
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 ...

unreacheable statement error

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 ...

serial write

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 ...

numberformatexception

498 byte By acetoleveragea at 2007-10-2 1:08:03
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 ...

nosuchelementexception

228 byte By acetoleveragea at 2007-10-2 1:08:31
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();

jsp error

733 byte By sandy_pria at 2007-10-2 1:18:20
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 ...

List values to print on console

278 byte By acetoleveragea at 2007-10-2 1:20:21
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

java.lang.OutOfMemoryError

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 ...

Java Won't Run

557 byte By SGraphixa at 2007-10-2 1:24:30
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 ...

Java won't run / can't find file

557 byte By Urban_Spacemana at 2007-10-2 1:25:18
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 ...

Exception: java.lang.NullPointerException

148 byte By mathiaslyloa at 2007-10-2 1:31:42
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?

java.lang.ThreadDeath-rolling browser

9912 byte By Pluginatora at 2007-10-2 1:31:43
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 ...

Help, im new at this

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: = " + ...

NoClassDefFoundError

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 ...

package does not exist?

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 ...

print iterator or stringtokenizer objects to console for checking values

503 byte By acetoleveragea at 2007-10-2 1:38:28
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 ...

"cannot find symbol" error

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 ...

cannot resolve symbol help

2901 byte By addona at 2007-10-2 1:39:37
ok im a java newbie and need a bit of helpwhat im trying to do is take input from the user and send that to a class named cube where it takes the inputed value, and calculates the area and permpublic class CubeUser{public static void main (String[] args) throws IOException {BufferedReader input ...

main" java.lang.UnsatisfiedLinkError: findDevice

529 byte By Shree.hva at 2007-10-2 1:41:59
Hi,I am trying to understand how jpcap works and I am using Eclipse IDE to run the Examples. I have included all the jars. when I run the program I am getting the following error. PacketCapture: loading native library jpcap.. okException in thread "main" java.lang.UnsatisfiedLinkError: ...

How can I extract images form other web pages with an applet?

1032 byte By Adi.Ma at 2007-10-2 1:43:57
HelloI have a problemHere is my codeimport java.net.*;import javax.swing.*;import java.awt.image.*;public class Cursbnr extends JApplet{public JLabel EuroValue =new JLabel();public JLabel DolarValue =new JLabel();public JLabel GoldValue =new JLabel();JPanel EuroBar = new JPanel();JPanel ...

Study security related exception handling in Java

437 byte By mythologyrocksa at 2007-10-2 1:44:42
Hi all,I am required to do an indepth study on security-related exception handling in Java, their Pluses and minuses... Can ppl suggest me places where I can get a kick start? Any resource that u know can help me out? I appreciate ur help in this regard...FYI, I am a grad student and I am doing ...

Exception in thread

3437 byte By Miguel231152a at 2007-10-2 1:46:16
I have write the class Aleatorio.java for implements an new method similar to Random and I have declared as follow:package java.util;public class Aleatorio extends Random {public int nextInt( int inferior , int superior ){int i;i=nextInt();i=inferior+(Math.abs(i) % (superior-inferior+1));return ...

Exception in thread "main" java.lang.NoClassDefFoundError

492 byte By LaBombaa at 2007-10-2 1:50:50
Hello,I have some problem when I'm trying to start my java-program. Everything is going just fine until I'm trying to start the program. The error-message I get is:Exception in thread "main" java.lang.NoClassDefFoundErrorI've got my java-files on:c:\Programfiler\Java\jdk1.5.0_04My CLASSPATH: ...

JAVA Error!!!

397 byte By jolejolea at 2007-10-2 1:53:43
hello, my problem is that when i want to open a picture in IE 6 with java 1.5 the window doesn't pop up and it wont opet the picture. this happened even before installing sun java, so i was thinking that installing it will solve the problem but no! and some images in IE doesn't show but there ...

Local Class Not Compatible Exception?

556 byte By Sirylcata at 2007-10-2 1:53:55
Hello.I have a friend who is running a serialized server(EJB)-client(APPLET) program using weblogic. The server is upgraded to new version and thus the server's java runtime version is upgraded to 1.4, though the clients are still using 1.3.The program ran very fine before the server upgraded ...

Running a Program with .jar files on windows

1057 byte By MrLanea at 2007-10-2 1:54:08
HelloI have looked around, but cant get quite the answer I am after here. Please bare in mind that I am normally used to C/C++ so some of my terminology may be off...Basically I have this set of source files and .jar files for a project. I have succuessfully compiled the source files into ...

Exception in thread

632 byte By Miguel231152a at 2007-10-2 1:56:47
I have developed a new method called Aleatorio like than the book Programming java shows but when I try run the application same as learn in that book appears this message :Exception in thread "main" java.lang.SecurityException: Prohibited package name : java.utilI don't understand what happen ...

Undefined variable: this

5151 byte By pocniba at 2007-10-2 1:57:05
When running a swing application I get an undefined variable: this error when attempting to call the method addActionListener(), I can not see why I am getting this error as this is not a variable but rather a reserved wordimport javax.swing.*;import java.awt.*; import java.awt.event.*;public ...

Java Error can't find *jp150040[1].cab*

927 byte By johhnywavea at 2007-10-2 1:59:51
I have a problem. Ever since I uninstalled norton my Java has been screwed up. About two months ago I update to the newest Java. But now my Java doesn't even work! I get that it can't find "jp150040[1].cab" I tried installing it offline and it worked but that Java still doesn't work. Here ...

An unexpected exception has been detected in native code outside the VM

11650 byte By ds20061976a at 2007-10-2 2:01:42
I received the error below when trying to start an application that uses a wrapper over sun.java2d.SunGraphicsEnvironment (that works fine over Linux and Windows).I have not been able to figure out why this is failing.An unexpected exception has been detected in native code outside the ...

Java HTTP Connection Filed -> It's a DNS problem

1333 byte By eTomma at 2007-10-2 2:01:49
Hello all, my first post is for talking about this infamuos error of java.When i try to view a page that use Java for one of it's applet, the applet doesn't work and Java console report among other errors:Caused by: java.io.IOException: open HTTP connection failed.at ...

Package does not exist when compile in Jgrasp 1.8.3

642 byte By squirrelonfirea at 2007-10-2 2:03:25
I have a package called jpb stored in a folder called jpb. The package has two files SimpleIO.java and Convert.java. My program has 1 of the line like this...import jpb.*;...I put the path and classpath in Jgraps pointing to the folder jpb but when I compile the program, it keeps saying the ...

How to catch this exception

1477 byte By Joe_n00ba at 2007-10-2 2:04:17
Hi I have created a simple client server program . In the Client i give the server ip/name and port number in command line... but when i try to run the client on a port on which the server is not running .. the following message is generated....C:\Program Files\Java\jdk1.5.0_02\bin>java ...

com.sun.crypto.provider.RSAChiper is not a subclass of xjava.security.Ciphe

537 byte By marco.sa at 2007-10-2 2:12:51
I have installed Tertio ProvidentThis was developed with java and at the beginning I hve to connect to a server. I was not able to connect. On connection this error occurs:"Could not connect to the Provident Service Activation Server, class configured for Cipher: ...

i CANT GET ON MY POGO GAMES

141 byte By HGravensa at 2007-10-2 2:16:24
I NEED HELP TO GO BACK TO MY POGO GAMES I DID EVERTHING IT TOLD ME TO DO AND I STILL CANT GET ON IT SAYS JAVA NOT FOUND OR NOT WORKING

Static field changes for both instances

398 byte By mugenmidgeta at 2007-10-2 2:16:32
Whenever I construct a new object with a static field or use a set method on any of the instances of that object, the static field will change to the last modification made. In the case of my program, whenever the static String color field is changed to the last modification made. This only ...

Error

2014 byte By myharshdesignera at 2007-10-2 2:16:43
This is the code when i compile it i got Error message.Pl Solve this problme & tell me why i am getting this problemwhich is :-import javax.servlet.*;Dose not existimport javax.servlet.http.*;Dose not existimport java.io.*;import java.util.*;import javax.servlet.*;import ...