Invalid Handle Exception!

1308 byte By Kolo_Rahla at 2007-10-1 22:41:11
Background: I have a SQL database created and maintained via MS Access 2003. I use JDBC to connect and interact with this database. So far my program has been able to do everything from querying a table to inserting new rows to deleting others, but has had no luck with updating rows either ...

NoClassDefFoundError

847 byte By Infuciusa at 2007-10-1 22:44:45
Running Linux Debian Live Knoppix CDMade basic hello world program.class Hello { public static void main(String[] args) { System.out.println("Hello World!"); }}Compiled it with the javac command: javac Hello.javaWhich made an Hello.class in the same dirI then try : java Hello.classThats ...

java error in ei !

5304 byte By 4212200a at 2007-10-1 22:44:59
hi...i had an error in enternet explorer at the java .the error is :Java Plug-in 1.5.0_04Using JRE version 1.5.0_04 Java HotSpot(TM) Client VMUser home directory = C:\Documents and Settings\adminnetwork: Loading user-defined proxy configuration ...network: Done.network: Loading proxy ...

Bean create & use

3032 byte By el_Pakoa at 2007-10-1 22:45:50
Hi All,I have problem with a jsp page which use a bean! Perhaps I get wrong when I compile the bean file "Login.java" or I place "Login.class" in wrong place! Can you tell me where I must place compiled file in TOMCAT folder?The error displayed ...

Correct Sequence for a File

465 byte By rooikopa at 2007-10-1 22:46:14
Hey me first postUhm ya im doing my school project and i use this file path "C:\Documents and Settings\William Ryan\My Documents\School\Comp\Project\Aston_Martin_V12_%20Vanquish-001.jpg" and in the "Ready to Program" i use to code it comes up with this error "Error: The value of this "String" ...

EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x0

9431 byte By DOUGLAS_JavaHelpa at 2007-10-1 22:56:19
I'm receiving the following exception and would like to understand what is the cause.An unexpected exception has been detected in native code outside the VM.Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x0Function=[Unknown.]Library=(N/A)NOTE: We are unable to ...

I have a suggestion: Java should have JSDN instead of JDOC

116 byte By kaihua1a at 2007-10-1 22:56:20
For C/C++ We have MSDN. Why Java has not JSDN?I suggest. Sun should also develop JSDN instead of JDoc.

Java Spring Problem

13430 byte By DeepanTa at 2007-10-1 23:09:58
I'm new to the Spring Framework, and was trying out a tutorial to get started. The details of that tutorial is here: http://www.springframework.org/docs/MVC-step-by-step/Spring-MVC-step-by-step-Part-1.htmlI've gotten through the first part up till the point where he says to use the 'list' ...

java.lang.ClassCastException

1641 byte By BazZa at 2007-10-1 23:17:38
Hello, i'm writing a conduit for synchronizing a SQL database (from our own application) with the Palm handheld. I'm writing this one with Java and the JSync suite from the CDK 4.0.3. I'm writing the conduit from the Sample addressbook conduit: "addrcond.java" (with the same methods etc.) ...

Java Applet

468 byte By christianunixa at 2007-10-1 23:19:21
I created an applet named Converter.class. When the compiler successfully finishe compiling, it also created Converter$1.class and Converter$2.class. Why are those two classes created? what are they? and within my computer Converter.class successfully runs, but when I upload Converter.class to ...

how can my j2me application talk to ERP system

92 byte By acceltreea at 2007-10-1 23:22:01
how can my j2me application talk to ERP system?thanks in advance..harsh

Adding an exclude tag to the Standard doclet

1057 byte By phuenefea at 2007-10-1 23:26:35
Hello, I have looked over the javadoc documentation quite a bit and realized that there is no easy way to exclude classes and methods with a custom tag such as @exclude, but still use the standard doclet without modifying the doclets source. I have started to do this by making a copy of the ...

Problems using java comm API on Solaris

917 byte By vedppatela at 2007-10-1 23:30:37
Hi, I need help!!! i am working on Solaris machine. My java program was getting compiled but while running is throws following exception.Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: /usr/lib/libSolarisSerialParallel.so: ld.so.1: java: fatal: /usr/lib/libSolarisSerialParallel.so: ...

problem in creating socket

1109 byte By nay0648a at 2007-10-1 23:30:42
Hello everyone:please see this code segment://Test.javaimport java.net.*;public class Test {public static void main(String args[]) throws Exception{Socket s;s=new Socket("www.sina.com.cn",80);System.out.println(s);s=new Socket("202.108.33.21",80);System.out.println(s);}}it works well in red hat ...

The Java applet doesnt show up - instead white window !?

455 byte By ilanOrlova at 2007-10-1 23:32:06
Hello there..I have a mysteries problem.I have a client server program using RMI in Java 1.4 but sometimes before anything shows up, At the point that my java applet show up from the HTML page on 10% of the times I see a white window on the HTML page at the size of the applet and it dead.After ...

Identifire expected error and) expected error

7814 byte By rdsii640a at 2007-10-1 23:32:21
I am extreamly new to java and have what most people(but me) would consider a rather simple assignment.I have attempted to write a simple mortgage calculator with a GUI. When I attempted to compile I got the following errorsjava:99 <identifire>expectedpublic void ...

IllegalMonitorStateException? wait() and notify()

415 byte By sunnzneta at 2007-10-1 23:33:02
Can someone tell me what's the deal with wait() and notify() methods? Like how to use them properly? Right now I have two threads, one being the main program and the other should run occationally when I need it... I try to get the second to wait() and second.notify() when I want to to run but ...

runtime error within my java applet here!!

683 byte By deangeloeducateda at 2007-10-1 23:33:44
my applet successfully compiles,but when I run it, it crashes with the following error message:java.lang.NullPointerExceptionat Dairy.init(Dairy.java:211)at sun.applet.AppletPanel.run(Unknown Source)at java.lang.Thread.run(Unknown Source)and below is the part of my sourcecodefor(int ...

Problems with applet - no text in the window

878 byte By habibia at 2007-10-1 23:33:54
Hi!I'm trying to learn some java, and I've just done my first applet. The code looks like this:__import java.awt.*;import java.applet.*;public class MittNamnApplet extends Applet {Font f;public void init() {f = new Font("SansSerif", Font.BOLD, 24);setBackground(Color.pink);}public void pain ...

No source files for package - error

722 byte By queries123a at 2007-10-1 23:38:05
Currently i am running javadoc from the commandline as follows:-javadoc -doclet javadoc.StandardDoc -classpath C:\j2sdk1.4.2_03\lib\tools.jar -sourcepath D:\Data\CVS\Tools\SoapDocGenerator\src sampleI get these warnings :-Loading source files for package sample...javadoc: warning - No source ...

using SerialPort.write()

334 byte By drake01a at 2007-10-1 23:38:59
Hey Guys,I am trying to send a command to a serial port using SerialPort.write("command"). I keep getting an error saying:cannot find symbolsymbol: method write(java.lang.String).I probably have the syntax for the method wrong or maybe there is something else, can anybody help? ...

need help with error please!!

4851 byte By drake01a at 2007-10-1 23:39:58
I am not very good with programming, and need help. I am compiling this code for my project, and I want to find out if the line System.out.println("look here 3); will executeBut the compiler gives me the following error:Main.java:115: <identifier> expected System.out.println("look here ...

Graphical error - clueless

805 byte By Drowa at 2007-10-1 23:44:31
Just started a programming class at univesity which require alot of studies at home.I am however getting a graphical error which is really making it hard for me to study. Something as simple as a JOptionPane.showMessageDialog shows completely blank. I can click the area where the ok button is ...

Javascript call of Java method works on some systems, not others

563 byte By mKenyona at 2007-10-1 23:49:07
I have an applet that I embed in my page with the <APPLET> tag. Then I have javascript that calls a method in the Java .class file. This works on most systems that have java.However, on one system (and possibly others) I get an error saying 'no such method exists'. I tried clearing out ...

javaDoc Conflicts: missing @param tag

341 byte By acetoleveragea at 2007-10-1 23:49:21
I get these sort of Conflicts for all the parameters of all the methods in a particular code file where querying thing is coded in JBuilder6, I tried to resolve it using the Jbuilders Wizards JavaDoc help but unsuccessful. Can anyone pls let me know what more could have gone wrong other than ...

ConcurrentModificationException won't release thread lock?!?!

1516 byte By leigh@@@a at 2007-10-1 23:50:01
Hi all,My program is experiencing intermittent lock when it experienced ConcurrentModificationException and it won't release the thread lockl?!This thread supposedly will only run for 1 min but its been 12 mins already and its not yet releasing the lock. It seems like because ...

java.lang.NoClassDefFoundError

607 byte By Jake_D_Birda at 2007-10-1 23:50:39
I'm having trouble implementing this following code:InitialContext ic = new InitialContext(MyProperties);Object tmpObj = ic.lookup(MyObjectName);MyHome tHome = (MyHome) PortableRemoteObject.narrow(tmpObj, MyHome.class);This runs fine until it reaches the last line at which point I get a ...

error no package system?

340 byte By gtrdude18a at 2007-10-1 23:50:43
any ideas of whats wrong or what im doing wrong? thanksC:\Documents and Settings\Dylan Moore\My Documents>javac app.javaapp.java:4: package system does not existsystem.out.println("I Rule!");^app.java:5: package system does not existsystem.out.println("The World");^2 ...

combinations(long,long) in TestCombinations cannot be applied to (long)

508 byte By MStoloa at 2007-10-1 23:51:45
Hi,I'm trying to write a recursive method that calculates the number of combinations. Here's is my code...I was just wondering why I keep getting the error "combinations(long,long) in TestCombinations cannot be applied to (long)". Any ideas on how to fix it would be greatly appreciated. ...

javax.mail.MessagingException: 553 5.1.8

362 byte By acetoleveragea at 2007-10-1 23:56:49
Error sending email message : Sending failed;nested exception is: javax.mail.MessagingException: 553 5.1.8 <username@host.com>... Domain of sender address <username@host.com>... does not exist.I need help on this please. There's no problem with the properties file , what else can ...

Java Altering System Clock

360 byte By paragonEricBa at 2007-10-1 23:56:50
I am developing on an application that has to put alot of stress on the processor. However, even though I don't do anything with the System time other than querying for it, the time gets modified on the users system. Is there a known bug in Java that will cause the time to change under high ...

NullPointerException in PrintWriter.flush()

2833 byte By vltavaa at 2007-10-1 23:57:24
Hi,I have this code: protected void sendDoc( Element el ){ try{ Source sou = new DOMSource( el ); Writer str = new StringWriter(); Result output = new StreamResult( str ); PrintWriter printOut = new PrintWriter( out, true ); TransformerFactory tf = TransformerFactory.newInstance(); Transformer ...

debugging <identifier> expected

2556 byte By mnkybya at 2007-10-1 23:58:43
i'm doing basic java programming for my computer science clas and I keep getting the <identifier> expected error. I use BlueJ as my IDE. Here is the code; my error comes on line myInscribedRadius = (double) 1 / 2 * sL * (1 / Math.double tan(Math.PI / nS)); :public class Polygon{int ...

SQL ORDER BY

343 byte By acetoleveragea at 2007-10-2 0:02:08
In SQL ORDER BY clause if we want to order the database based on 2 columns then how does the ORDER BY clause know which column is the main priority. For eg:SELECT * FROM table WHERE some_conditions ORDER BY column_1, column_2Then will ORDER BY clause order the records giving column_1 as the ...

Runtime problem , please help,

859 byte By kane0086a at 2007-10-2 0:03:48
public class execInput {public static void main(String Argv[]) {try {String output;String[] cmd ={"c:\\xpdf\\pdftotext.exe", "c:\\pdfFile\\dispatching.pdf"};Process pr = Runtime.getRuntime().exec(cmd);}catch (IOException e) {System.exit(0);}}Above program is run in Ms-DOS : ...

please somebody give the difference b/w equals() and ==

274 byte By kurska at 2007-10-2 0:04:52
hi, Try executing the equals() and == on Strings, they both work the same can any body tell the difference b/w the two. they work the same for strings initialized to some value, but if u pass the string through an object u get different values!!

erroe with java

322 byte By evilananasa at 2007-10-2 0:05:34
i ty to star a javabased programme and i get this error from java console:Live2D.start()Live2D.run()Exception in thread "Thread-46" java.lang.NoClassDefFoundError: Playerat Live2D.run(Live2D.java:74)at java.lang.Thread.run(Unknown Source)i would like to now how to fix ...

Error loading LinuxSerialParallel: java.lang.UnsatisfiedLinkError: no Linux

625 byte By i_hate_commapia at 2007-10-2 0:06:12
Trying to start demo from Sun commapi:$ java SimpleReadError loading LinuxSerialParallel: java.lang.UnsatisfiedLinkError: no LinuxSerialParallel in java.library.pathException in thread "main" java.lang.ExceptionInInitializerErrorat SimpleRead.main(SimpleRead.java:67)Caused by: ...

NoClassDefFoundError

224 byte By Clendaroa at 2007-10-2 0:06:31
I compiled my first .java file and obtained a .class file. When I try to run the .class file I get this NoClassDefFoundError.I saw on the FAQ to set CLASSPATH=, but I got the same result.Can anyone help?

cannot find symbol "console" error

930 byte By cava@aua at 2007-10-2 0:07:22
hi there ~ Here is environment:winXP Projdk1.5.0_04here is part of my code:System.out.print("Enter Bit length\t:");int bitlen = Console.readInt();.........System.out.print("Enter integer to be encrypted :");BigInteger big = new BigInteger(Console.readString());here is the error msg:C:\Program ...

Strange compile error concerning different regex packages

1021 byte By BuddyCasinoa at 2007-10-2 0:11:58
Hi there,I have a really strange problem when trying to build my sources with an ANT script. In Eclipse, this problem does not occur!Here is the output:[javac] ...

java.lang.NoSuchMethodError: main

292 byte By acetoleveragea at 2007-10-2 0:13:12
I get this message java.lang.NoSuchMethodError: mainwhen i try to use the debug feature in JBuilder 6. Is debugging not possible if there is no main method in my application? please suggest me how to use the debugging feature in JBuilder 6 without main method in my code. Thanks

putting links on a web page

123 byte By acetoleveragea at 2007-10-2 0:13:35
Hihow do i put links of other web pages on a particular web page using template: putname conceptthanks

java.lang.OutOfMemoryError: Java heap space

1104 byte By rish_ahaa at 2007-10-2 0:14:55
Whenever I run my program I get this error messagejava.lang.OutOfMemoryError: Java heap spaceI tried using the -Xms and -Xmx options but nothing is happening.... When I typejava -Xms512m -Xmx512mnothing is happening and I get the following messageC:\Program Files\Java\jdk1.5.0_03\bin>java ...

Error...What does this mean

1266 byte By Lovebev1a at 2007-10-2 0:15:18
I am using a software package for placing a menu on a website and when I try to load my page, I always get this error message, Line 29, Char 1, Object Expected; Error. The website is www.stewartscleaningservice.com. I have been trying to solve this error message and I am unable. The menu is ...

nullpointer exception

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

Column name not found

2957 byte By acetoleveragea at 2007-10-2 0:20:52
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 ...

HotSpot Virtual Machine - EXCEPTION_ACCESS_VIOLATION (0xc0000005)

14425 byte By dalemboggs2a at 2007-10-2 0:21:34
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 ...

LOCAL CHURCH COMPUTER 'ON THE BLINK'PLEASE GIVE US ASSISTANCE

14454 byte By dalemboggs2a at 2007-10-2 0:21:41
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 ...

Iam not able to run a simple batch file from within java

983 byte By sridhar_fundooa at 2007-10-2 0:21:52
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 ...