errr.. NO CLASS FOUND ERROR!!!!

1058 byte By fracture2a at 2007-9-29 2:32:40
I get the following error while trying to run my program from MSDOS shell in WINNT...Please helpException in thread "main" java.lang.NoClassDefFoundError:javax/comm/SerialPortEventListenerat java.lang.ClassLoader.defineClass0(Native Method)at ...

how to set up the -sourcepath in javadoc

1389 byte By 80113956a at 2007-9-29 2:37:22
Hiya,I have used Runtime.exec() to execute javadoc. The problem is with the classpath coz i keep getting "No source files for package pkgnmxxx.clsnamexxx"My doclet class resides in the following folder:f:\projects\dsim\SExecutive\DiscoverClasses.javaand is the part of package called ...

New to JSP and JAVA servlets

444 byte By SlackgurLa at 2007-9-29 2:49:13
Hi, I am required to develop a web-based system that allow users to retrieve genetic information related to specified human diseases. I am unfamiliar with jsp. Is there any successful web-based application that uses JSP and Java servlets in which I can use as reference to guide me throughout my ...

"Bad Installation. Error Invoking Java VM (SysExec) bin\javaw.exe

181 byte By Jwalking2025a at 2007-9-29 2:53:58
I try to run Java Web Start and this pops up "Error Invoking Java VM (SysExec) bin\javaw.exe". If anyone knows how to fix this problem please reply with the answer. Thanks!!!

cannot resolve symbol : class odbc ERROR

1260 byte By vtummetia at 2007-9-29 2:54:38
Hi HelperI am trying to compile a the following and I am getting the errorC:\jdk\websiter>javac MainServlet.javaMainServlet.java:86: cannot resolve symbolsymbol : class odbclocation: package jdbcClass.forName(sun.jdbc.odbc.JdbcOdbcDriver);**************************import ...

How to deal with #ifdef in .java files with javadoc tool?

337 byte By dlxiea at 2007-9-29 2:55:46
My .java file included some '#ifdef' & '#endif' sentence. So when I used javadoc tool to generate the .html files, error happened. Can anyone give me some indication how to resolve the problem, provided that the source code can not be changed because it was written by others. Waiting ...

NullPointerException when scanning files on C:\

443 byte By query_guya at 2007-9-29 3:03:10
I am scanning all the files on the C:\ drive and when the scan comes to the end of the hard drive it finds the directory:C:\System Volume Informationwhich is neither hidden nor can it be seen when I enable viewing of hidden files.Anyway, when it comes to this directory and tries to read its ...

IOException--CreateProcess--Win32Process!!!!

963 byte By solemusitua at 2007-9-29 3:07:49
Hi every body.Does someone know the meaning of this error?java.io.IOException: CreateProcess: prueba error=2at java.lang.Win32Process.create(Native Method)at java.lang.Win32Process.<init>(Win32Process.java:63)at java.lang.Runtime.execInternal(Native Method)at ...

Servlet Error

1258 byte By Zulfi100a at 2007-9-29 3:10:59
Hi,I am trying to run Servlet prog for the 1st time but its giving me following error:HTTP Status 404-/Servlets/BraThe requested resource(/servlets/Brat) is not available.I have installed the Brat.java file in the following folder :e:\e-data\tomcat40\examples\servletsIf I try o run JSP file ...

package

473 byte By nr_thegreata at 2007-9-29 3:14:53
I have this "Example.java" file in which I have the package stmt at the first line of the code package MyPack;class Example{.....}I compile this file from the current directory.the Example.class is also being placed in the current directory The directory MyPack is not created by me, not it is ...

Compilation errors

993 byte By Zulfi100a at 2007-9-29 3:17:36
Hi,I have go the following program from a book bu is giving me a long list of errors maybe I have no imported the proper package.import java.servlet.*;import java.io.*;public class Brat extends GenericServlet{public void init (ServletConfig sc)throws ServletException{System.out.println("I don ...

Beginner: javadoc question

341 byte By amt35a at 2007-9-29 3:21:01
I have 5 classes in my program that are all in the same folder (not part of a package). When I run 'javadoc *.java' on that folder it loads all of the java files but does not generate a html file for all of them. Why does it generate a html file for some an not the others? And how do I solve ...

ExceptionInInitializerError

550 byte By panikmana at 2007-9-29 3:23:04
Hi,I have developed an application which uses jdk1.4,jai and 2 classes from the jai demo classes. My application only works when I run it from within EditPlus (my editor). If I run it from the command line, I get the following error:Exception in thread "main" ...

Problem running servlets in Tomcat

82 byte By jai723a at 2007-9-29 3:34:49
Can any one help me in how to run servlets in Tomcat1.3.1 or later version?

DocCheck utility (with Ant): How to filter unwanted classes?

1049 byte By htomassoa at 2007-9-29 3:35:05
Greetings,I'm wondering how to filter certain classes in the source folders for the DocCheck utility. (My source folders have all kinds of EJB stub java files generated by the application server deployment tool, that I don't want to be checked.)The "-skipClass" parameter is a very likely ...

-overview Doesn't like me.....

1197 byte By Syraea at 2007-9-29 3:36:46
Well, I've gotten my multitude of errors and warnings with Javadoc down to one....Generating doc\overview-summary.html...javadoc: Error while reading file overview.htmlPah. I am using the tool included with the release version of 1.4.2.Here's the contents of my batch ...

Disable inheritDoc

451 byte By rdifalcoa at 2007-9-29 3:36:53
Since {@inheritDoc} is ABSOLUTELY useless, is there a way to disable it? http://developer.java.sun.com/developer/bugParade/bugs/4812240.htmlWe already have it specified in hundred of files (foolishly thinking it is a good thing to use) and our nightly build often hangs -- note that this is the ...

OutOfMemoryError when using SAX

1011 byte By Suni2003a at 2007-9-29 3:40:29
Hi,I'm getting a OutOfMemoryError when using SAX to parse an XML document. I'm not sure where I have a memory leak, as I am printing out the parsed data as soon as my parser finishes parsing it. What I have done so far:1. Tried increasing the JVM swap memory size to 1GB using the -Xmx1023m ...

java.text.resources.LocaleElements error

598 byte By myheadhurts4ua at 2007-9-29 3:52:23
HiAccessing an application through an IE browser runs fine with plugin J2SE 1.3.1 BUT with J2SE 1.4.1 this error is returned.java.util.MissingResourceException: Can't find bundle for base name java.text.resources.LocaleElements, locale en_USat ...

Another NoClassDefFoundError

1383 byte By manimal3497a at 2007-9-29 3:54:31
I hate to bring this one up again but it is driving me insane. I cannot get this up to even begin to learn Java let alone learn it. I am trying to run a simple test program for a Java class I am trying to start. I have downloaded uninstalled several different versions trying to get this to work ...

Error with invoking a bean using JSP

3804 byte By Zulfi100a at 2007-9-29 3:56:09
Hi,I am getting following excepion:A Servlet Exception Has Occurredorg.apache.jasper.JasperException: Unable to compile class for JSPE:\e-data\tomcat40\bin\..\work\localhost\examples\jsp\SimpleJSPBean_jsp.java:59: Undefined variable or class name: counterout.print( counter.getCounter() );^1 ...

javadoc.org ?

2519 byte By emobusa at 2007-9-29 3:56:29
Hi,I think this is a good forum to get feedback on an idea. Javadoc is clearly one of the factors that has led to the success of Java. I find Javadoc much easier to read and understand that Microsoft documentation.However, it pains me that most of the time you have to download Javadoc in a zip ...

HELP!! [SQLServer 2000 Driver for JDBC]Error establishing socket.

2509 byte By juadagua at 2007-9-29 4:00:14
Hi everyone out there!, I'm about to get crazy with an application I'm developing, it's a Client-Standalone app. and has to connect to a SQLServer, I downloaded the JDBC driver from MS site and when trying to connect to the localhost ("Morpheus" it's the name of the machine) I get this ...

Java VM Crash frequently ? Why ?Help

3661 byte By z28922a at 2007-9-29 4:06:05
An unexpected exception has been detected in native code outside the VM.Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6D2B15BBFunction=[Unknown.]Library=C:\Client\gui\jre\bin\jsound.dllNOTE: We are unable to locate the function name symbol for the errorjust occurred. Please ...

HotSpot Virtual Machine Error

4895 byte By msarfatya at 2007-9-29 4:07:16
Hi all,We run a module that keeps crashing every few hours. We run it on a Linux OS on a PC. Every 5 minutes (configurably) the module, accesses an Oracle database, and run a few operations (select, update ...). I've noticed that the crashing uccors right at those times, but I can't tell if ...

How can I read errors/exceptions from my JAR?

495 byte By huvsa at 2007-9-29 4:09:53
My application is running fine from JBuilder, where I am writing it, but when I go to My Computer and try to run the .jar file, nothing is happenning. Is there a way for me to view the error messages/exceptions that are thrown from the Jar? Can I open a console or something like that?This app ...

javadoc command line options

562 byte By vrb2003a at 2007-9-29 4:10:55
I have a custom doclet which generates xml output instead of the default ouput from javadoc.I am trying to pass custom command line options to my custom doclet class.The following is my javadoc command:javadoc -classpath c:\junit\junit3.8.1\junit.jar;C:\j2sdk1.4.1\lib\tools.jar -doclet ...

a tough exception

1850 byte By Tonni83a at 2007-9-29 4:14:16
Can anybody help me with this exception? It occurs at times but not always...The programe was run by JBuilder8.sun.misc.ServiceConfigurationError: java.nio.charset.spi.CharsetProvider: Provider sun.nio.cs.ext.ExtendedCharsets could not be instantiated: java.lang.InterruptedExceptionat ...

Interrupted system call

423 byte By prasad_dugginenia at 2007-9-29 4:17:19
Can anybody help me with this exception? It does not occur always.I am running J2SE 1.4.1.TYPE:java.io.IOExceptionMESSAGE: Interrupted system callsun.nio.ch.PollArrayWrapper.poll0(Native ...

Double addition

308 byte By mjablaoua at 2007-9-29 4:17:52
I try to do the following, where a and b are Doubles:String c = "1000.00";a = (b + Double.valueOf(c));And i get this error:operator + cannot be applied to java.lang.Double,java.lang.DoublePlease help me I can't find the info on ...

Trying to Javadoc multiple packages beneath one directory

720 byte By Death__Inca at 2007-9-29 4:17:58
Ok, I have a directory structure like this:home/src/datahome/src/filehome/src/guihome/src/nethome/src/projects/myProjecthome/src/securityhome/src/utilsthe way it looks on my hard drive would be:D:\work\java\home\...My "CLASSPATH" is D:\work\java\homewhen I use the Javadoc command from ...

NoClassDefFoundError

622 byte By 89heritagea at 2007-9-29 4:18:21
I am getting this error in a java servlet that I have running. However, the class file it lists is one that is in an import statement of the java servlet. It is looking for java/awt/Color . The servlet code looks like this: import java.awt.Color;I am new to Java programming and my ...

Problems in Packages

526 byte By rahulboraa at 2007-9-29 4:21:51
Hiican anyone help me...i have got 12 errors "cant resolve symbol" when i compliled the program..i have package called langpackand thsi package has 4 classes 1.LanguageDetails2.Databaseclass3.LanguageFunctions4.Servletvclassnow when LanguageFunctions extends Databaseclass..it gives me 12 ...

EXCEPTION_FLT_STACK_CHECK <- Help please!

2720 byte By tarak2a at 2007-9-29 4:24:58
I've got a strange problem. I installed jdk 1.4.1 on a WinXP Pro System and get this error error every time i try to compile any kind of classUnexpected Signal : EXCEPTION_FLT_STACK_CHECK (0xc0000092) occurred at PC=0xC1D152Function=[Unknown.]Library=(N/A)NOTE: We are unable to locate the ...

Ignore certain methods

478 byte By monika_kruga at 2007-9-29 4:25:51
Hi.I want javadoc to ignore some of my methods. The reason is that a lot of my classes have main-methods for testing purposes, they obviously had to be public. I have tried to leave away the javadoc comments above those methods, but that didn't help, they still show up in the javadocs (I guess ...

NoClassDefFoundError

413 byte By bobby_baronea at 2007-9-29 4:36:44
I have a java class file called 123.class sitting under d:\abc. If, at the DOS prompt, I change directory to d:\abc and then issue the command "java 123", then my program runs. But if I change directory to d:\ and then issue the command "java d:\abc\123", then I get the following error: ...

Pls help on this error

499 byte By sheelasama at 2007-9-29 4:37:59
Hi,I am a java beginner. Just I write my first very very small java progrm to display the string " This is my first program " .I compiled successfully. When I run I am getting the following error message G:\jdk1.3>java -classpath c:\jdk1.3\cbt\samples cbt.samples.FirstAppException in thread ...

Unable to see applets

316 byte By ichmea at 2007-9-29 4:43:17
Error message:run: EXCEPTION java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.awt.image)I'm using Java(TM) Plug-in: Version 1.4.1_03Using JRE version 1.4.1_03 Java HotSpot(TM) Client VM on a WinME ...

@threadsafety

403 byte By ranko2a at 2007-9-29 4:46:33
What do you guys think about having a standard way to document thread safety of a class and its methods? Javadoc tool would place all the thread safety information in a standard place, and if there was no @threadsafety tag then it would default to something like "This class and its methods are ...

Urgent help...java.sql.SQLException: ResultSet is closed

3096 byte By zero_zero_zeroa at 2007-9-29 4:47:20
i want to select data from two tables,'orderstest' and 'info' then insert these data to 'dw' table,the system display:java.sql.SQLException: ResultSet is closed.why?thanks firstthe following is the code:-public void fMade() throws SQLException,ClassNotFoundException{try{RInfors = new ...

java.lang.NoClassDefFoundError

1367 byte By 47001fooa at 2007-9-29 4:54:30
New to java, please advice. I am lerning applets and read a book on java. I get this error on a simple applet i am trying to run from the browser. Here is the code.I have a java file called test1.java(all lower case.)The code for test1.java is import java.awt.Graphics;public class test1 extends ...

urgent : strange error in eclipse

768 byte By kstroobaa at 2007-9-29 5:00:37
i am using eclipse for running my java files . Now i have some code like that:// ******************************************************************while(lijn != null){woorden = new StringTokenizer(lijn);//int n = woorden.countTokens();if(!eersteKolom)woorden.nextToken();lijn = ...

error in 1.4.2

385 byte By bodybagza at 2007-9-29 5:04:06
This is really annoying. The following line of code ALWAYS worked:TLSSocket = (SSLSocket)factory.createSocket(U.getHost(), port);It now throws the following exception:java.net.SocketException: Default SSL context init failed: java.io.IOException: java.io.IOException: Host portion is not a valid ...

error with games.com

230 byte By duzuina at 2007-9-29 5:05:57
can someone please help me when trying to access games.com i get this messsagejava.security.AccessControlException: access denied (java.net.SocketPermission play.games.com resolve)currently running windows xp

pdfdoclet tool !!!

127 byte By ablivian23a at 2007-9-29 5:10:03
Has anyone used the pdfdoclet tool before? I can't figure out how to set it to create PDFs from my source files.

How to throw 2 Exceptions,

364 byte By sitomaniaa at 2007-9-29 5:15:36
Hello,I have a problem with a method. I would like to do something like:boolean thisIsATest ( ) throws PepeException,PacoException {...}Is it possible ? I already hava thought in wrapping then into a general exception, but I would like to find out if this is possible.Thanks in advace for your ...

embed graphics in Javadoc?

192 byte By rchrenkoa at 2007-9-29 5:26:18
My documentation would improve immensely if a diagram or graphic could be inserted in the method comment processed and displayed by Javadoc. Is there an existing Javadoc tag to do this?

Doclet classpath

545 byte By pkilovatiya at 2007-9-29 5:27:07
Hi All,I am having a problem with javadoc (suprise, suprise) as follows.I wrote a doclet to generate Java code using custom tags. The doclet uses Xerces to get an XML representation of javadoc tags. When I try to execute the doclet using javadoc, I get java.lang.NoClassDefFoundError: ...

ClassFormatError

6184 byte By slupa at 2007-9-29 5:27:54
I receive the following error during codeexecution:java.lang.ClassFormatError: dk/rastrup/bbapplet/injury/InjuryState (Code attribute is absent in method that is not abstract or native)at java.lang.ClassLoader.defineClass0(Native Method)at ...

Showing packages in javadoc

185 byte By unowena at 2007-9-29 5:33:20
Currently, all I can get is the list of All classes. How can I get it so that it shows the packages so that I can limit the classes view to just one package like in the Java API?