DocCheck comments on deprecated methods

305 byte By broekstg at 2007-9-27 19:19:05
I am using the DocCheck utility to check the comments in my java packages, classes and methods. Methods that are deprecated have a @deprecated tag in the method comment, but DocCheck then complains about missing @params, etc. Is there any way that I can suppress the checking of deprecated ...

Loading look and feel

511 byte By linderp1 at 2007-9-27 19:19:15
Hi,Moved recently to a Pentium 4 with JRE 1.4 I encounter troubles running a java application that was developped to be used with a 1.1.x version.In the 1.4 version, the JRE.EXE is now replaced by JAVA.EXE. When I start my application I get the following error message:"Error loading look and ...

[XDoclet] Many-To-Many Relationship

845 byte By Suppaman at 2007-9-27 19:19:49
Hello.I have a little problem.Imagine that you have a class named A.A' extends A and A" extends A.Now, you have a class named B.There's a many-to-many relationship between A' and B (A' to B) and a many-to-many relationship between A" and B (A" to B).Giving A is the superclass of A' and A", ...

automatic @version tag generation

468 byte By codrinb at 2007-9-27 19:21:12
The "How to Write Doc Comments for the JavadocTM Tool" document( http://java.sun.com/j2se/javadoc/writingdoccomments/index.html)talks about taking the version from the version control system at check out, using something like this:@version %I%, %G%Is this an automatic operation or is supposed to ...

java.io.FileNotFoundException with javadoc 1.3.1 on OS X 10.2

1175 byte By paulrslgs at 2007-9-27 19:22:14
javadoc 1.3.1 on Mac OS X v 10.2All,I've been regularly generating updated javadoc for our project, but when I tried to do so today, I got the following exception:Loading source files for package com.mycompany.mypackage...java.io.FileNotFoundExceptionat ...

Running Java in CICS TS 1.3

672 byte By MelicanT at 2007-9-27 19:23:30
Need a little help trying to make the HelloWorld application (got the following output):SYSPTWM:/usr/lpp/cicsmnt/samples/dfjcics: >make -DMAKESTARTUP=/samples/startup.mk HelloWorld.mak jvm`HelloWorld.mak' is up to dateMaking java bytecode samples for use in JVMRunning HelloWorld.mak javac ...

can't view downloaded java objects

419 byte By beanzrulz at 2007-9-27 19:33:17
i downloaded a java4gl object down to my computer andtried running it and i got this error msgException:java.lang.NoClassDefFoundError: gl4java/awt/GLAnimCanvasException:java.lang.NoClassDefFoundError: gl4java/awt/GLAnimCanvasi've installed the necessary java se stuff but it still appearscould ...

All SDK files crash when started (errors generated and closed by windows)

350 byte By xggthisnewgg at 2007-9-27 19:36:08
Every time I try to start a java program in SDK 1.4 through windows or through dos, it gives me an error approximate to:Javac.exe has created erros and will be closed by windows.An error log has been created.This happens EVERY time, and I was wondering if there was a way to fix it ><I'm ...

about "Could not found mainclass.Program will exit!"...

629 byte By yangshaoliang at 2007-9-27 19:39:03
about "Could not found mainclass.Program will exit!"...My package is "cn.com.ch2000.yangsl"The main class is BJInfo.classMy MANIFEST.MF setting as follows: Manifest-Version: 1.0 Created-By: 1.4.0_01 (Sun Microsystems Inc.) Main-Class: cn.com.ch2000.yangsl.BJInfo I exec jar.exe as follows:jar ...

"package javax.servlet does not exist" Help me

309 byte By RGiskard at 2007-9-27 19:40:11
I've installed Tomcat4.0 on my Windows 98, to try some examlesI i download ready class files it works but if i try to compile the source with the jdk1.3 here is the error message"23: package javax.servlet does not existimport javax.servlet.*;"HelpRiccardo from ...

How to add an URI link to an external webiste/document

563 byte By d93mn at 2007-9-27 19:40:51
Hi ya'll,I use JDK 1.3.1_04 and tried this:@see <a href=" http://www.imc.org/pdi/vcard-21.txt">VCard 2.1</a> for more information regarding vCard v2.1.but it generates a warning when I run "ant javadoc", something about missing the last ">" which I find strange. I've tried ...

please help!!!!

248 byte By aliebls at 2007-9-27 19:51:20
thanks for readinganytime i try to do something with applet i get a errorthe error is a box and inside the box is a red square, a green circle, and a blue triangle. what is the problem and how do i fix it. please give me a hand

include constant String values in javadoc?

439 byte By RWuensch at 2007-9-27 19:53:37
I just got tired of search/replace in JavaDoc parts and asked myself if the following is possible:(I use JSP Syntax for the part that I don't know if it's posible)public static String insert = "this ist the insert";/** * Display here: <%=insert%> */Any ...

Easy/obvious place to insert filter class into the output stream?

2854 byte By jskubick at 2007-9-27 19:55:22
Does the doclet mechanism have any obvious place to insert a filter class that has nothing to do with structural parsing -- ONLY the final generated HTML output? Obviously such a function could simply be run on the final output after it's generated, but I'd prefer to avoid requiring an extra ...

Error numbers

280 byte By laqa at 2007-9-27 19:57:11
Hi, just a simple question, When an error or exception stack comes, like : at java.lang.Runtime.exec(Runtime.java:551)How can we have access to the details (java:551) ? Is it a line of java.exe or what does it mean? Thanks, Luis.

javac Problems on Linux

669 byte By wrmillar at 2007-9-27 20:06:33
I have recently installed jdk1.3.1_01 on suSe Linux 8.0 Having problems when a program refers to another class file in the same directory, itcan't find it. e.g.I am revising an old uni project to create a Vector styled Stack, VectorStack implements the Stack interface.Stack.java, Stack.class, ...

Invalid Descriptor Index Solution

914 byte By borntwice80 at 2007-9-27 20:06:46
Java Programmers,I just wanted to share a problem with you and my answer to the problem in hope that it saves you time. It took me about an hour to figure out what was going on. The problem and answer is below. PROBLEM:--This error keeps occuring whenever I try to access data from a ...

Bad Class File Error... What am i doing wrong?

2219 byte By map64 at 2007-9-27 20:10:15
Hi, I am trying to run a 'Hello World' program which came with the FreeTTS package from links from the java.sun.com website, and am not able to compile the program. I get the error:FreeTTSHelloWorld.java:4: cannot accesscl.com.sun.speech.freetts.audio.Voicebad class file: ...

Security Permission errors with ImageIcon, Please Help!

1071 byte By RedViking at 2007-9-27 20:12:23
I have an applet that uses some ImageIcons. When I had the .GIF files stored on my computer, I got a security error because an applet cannot look at the user's hard drive. Then I tried to make a policy file that let gave the applet permission to look at my hard drive (that was a huge pain in ...

jdk 1.4.1 compile can't find javax package

258 byte By iiedwards at 2007-9-27 20:13:46
I wonder if i need to reinstall the j2ee after i installed the new 1.4.1? i have a compile error when running through the j2ee tutorial and it seems the javax package can't be found for the ejb package. Do i need to reinstall or is there an easy fix?

NoClassDefFoundError

1181 byte By dilipvenugopal at 2007-9-27 20:15:19
Hi all,Iam using a typical pattern which has a JSP calling a servlet and the servlet at run time calls certain Handler classes which are mapped in an XML file. Now i have kept the Servlet and the Handler classes in the same war file and deployed into the app server. This Handler class will look ...

Just Curious: Unidentified Inner Class Test$1.class

1904 byte By luvr1961 at 2007-9-27 20:17:17
When I compile the following code:public class Test{public static void main ( java.lang.String [ ]args ) {java.util.TreeSet treeset = new java.util.TreeSet ( new TestComparator ( ) ) ; }//**************************************************************************//**//* Private Static Inner ...

Java.io.IOException: The handle is invalid

1500 byte By BenLearningJava at 2007-9-27 20:35:27
I recently had to format my PC after data corruption, andwhe I reinstalled the Java SDK I found that certain programswould no longer run after compiling. The problems seems tobe something to do with the input/output. I've tried reinstalling Java without any luck. The error is this:Is the boat ...

DocCheck output could be improved when no errors occur

658 byte By broekstg at 2007-9-27 20:36:25
I am using DocCheck and find the output very useful if errors or warnings occur, but not very useful when there are no errors or warnings. In the latter case, the Executive Summary explains the table columns where there is no table, the Package Summary gives a note about the Minor Errors table ...

What does illegal escape character error means?

7611 byte By blur19 at 2007-9-27 20:36:33
I wrote the SQL statements to save tables in database to a text file but there's error which i do not understand. Here is my code:import java.sql.*;public class SaveData{private Connection transConn;protected ResultSet ...

newbie needs help

188 byte By ljb2148 at 2007-9-27 20:40:53
hey guys--i get this message "the procedure entry point_JVM_supportscx8@0 could not be located in the dynamic link library jvm.dll.-what is it and how can i get it corrected? thanks

How can I Deal with this 2 errors?

538 byte By IvanEmmanuel at 2007-9-27 20:42:16
I'm so desperated I can't even run the HelloWorldApp, because it has this error in the interpreter (I compiled it and Zero erros):Exception in thread "main" java.lang.NoClassDefFoundErrosand in other program I have this Exception in thread "main" java.lang.NoSuchMethodError: detail.number () ...

When Compile it says: Error: Cannot Read: test.java

200 byte By jkarr1 at 2007-9-27 20:42:22
When ever i compile anything on msdos promp( windows Me) it says ErrorCannot Read: Test.javai have set the classpath and path and am using sdk 1.4.0_02.How could I fix this

breakiterator error

641 byte By jgag at 2007-9-27 20:48:55
I am very new to Javadoc, and have just taken over a machine with JDK140 installed. Each time I generate my javadoc, I get a bunch of warnings of the following type:warning - The first sentence is interpreted to be: [javadoc] This sentence is different from what would be generated using ...

WinXP and Win2k/98

315 byte By neko79 at 2007-9-27 20:51:30
I have successfully compiled my program on window XP but when i try tocompile the same program in either win2k and win87, it doesn't compileand gives me the error of "cannot resolve symbol".I am using the same java SDK on all the machines.So what have i done ...

the question for ColoredCellTableExample's Compling

701 byte By sf8222 at 2007-9-27 20:52:01
In Website http://www2.gol.com/users/tame/swing/examples/JTableExamples4.html There is a sample which is ColoredCellTableExample, but I can't pass the compiling, so I can get the result. I can compile as follow successly:CellAttribute.javaColoredCell.javaTextColorChooser.java but when I tried ...

class is not public according to compiler, but is according to source

446 byte By tarzanprogrammer at 2007-9-27 20:52:03
I am getting this funny message under forte4 ce where classes that are public are said not to be and can't be accessed outside of the package.for instance, com/ora/jsp/sql/value/BytesValue.java [3:24] com.ora.jsp.sql.Value is not public in com.ora.jsp.sql.ValueI assure you that Value is a ...

forte 4j mounting

655 byte By tarzanprogrammer at 2007-9-27 20:52:18
I have a filesytem mounted at C:\Program Files\Apache Tomcat 4.0\webapps\ROOT\WEB-INF\Classesand then in Classes I have my package com.ora...ext...When I compile, classes get turned into Root.com.ora....ect.Is this something that is designed. Can't I compile classes there. Even if I move it to ...

compiling hell forte adventures

927 byte By tarzanprogrammer at 2007-9-27 20:52:59
I have two classes in the same directory c:\com\com\ora\jsp...One uses the other.I compiled the first using a command line.I tried the second and got the errorcom/ora/jsp/sql/Value.java [21:46] cannot access com.ora.jsp.sql.UnsupportedConversionExceptionbad class file: ...

Javadoc Error

3236 byte By Gumpngreen at 2007-9-27 20:54:48
Running Javadoc on my project from Forte 4. This is the first time I've used Javadoc on a large project and I am clueless on what to do; I didn't even expect that it was possible for Javadoc to have fatal errors. This is the error I get:Loading source file ...

Syntax error with directory creation code

4153 byte By Zulfi100 at 2007-9-27 20:54:53
Hi,I am getting error syntax with following code:<HTML><HEAD><Title> Make a post </title></Head><Body><%@ page language="java" import="java.sql.* , java.util.Calendar, java.io.*" %><%Boolean value = (Boolean)session.getAttribute("LOGINVALUE");if ...

Please help a newbie compile!

835 byte By aimers at 2007-9-27 20:56:41
I learned how to code in C++ and will freely admit that I know next to nothing about Java and the times I have used it have been on a lab machine at the university I attend, so it is all set up on ready to go. I'm clueless on how to set it up on my own PC but nonetheless I'm trying. I ...

Indentifiers?!!?( clueless)?!?

54 byte By Black_Prince at 2007-9-27 20:57:49
does any body know what an identifier error is?

Redirecting System.out to a textfield

144 byte By weelink at 2007-9-27 20:59:38
I want the output created by System.out (especially error messages) redirected to a textfield in stead of the console. How can I do this?

numberOfMenu's is Undefined?

493 byte By mareklof at 2007-9-27 21:05:13
I built a site with 2 includes. One dropdown menu, and one dropdown menu at the top of the page. The menu's work perfectly when seperate. They even work combined in a page. But then I get the "Done, but with errors" sentence, I take a look at it, and it gives me "numberOfMenu's is Undefined". ...

Class xy not found in import.

1504 byte By Markus Nohr at 2007-9-27 21:06:49
Hi,I want to generate the documentation with the JavaDoc of J2SDK 1.3.1_02.I get the message "Class com.ibm.eNetwork.HOD.HIFramework not found in import." only by external JAR-Filesthe JAR-Files are ...

Help me!

494 byte By Tina_winter at 2007-9-27 21:09:38
I write a java file using googleapi. It workes in JCreator and is compiled successfully in DOS-mode, but it can't run in DOS-Mode(Exception in thread "main" java.lang.NoClassDefFoundError: com/google/soap/search/GoogleSearchFault). In fact, there are also other three classes in ...

Very Strang occurance of: java.lang.NoClassDefFoundError

989 byte By lgdouglas at 2007-9-27 21:10:56
MY ERROR; Exception in thread "main" java.lang.NoClassDefFoundErrorI am on a WIN 2k Server.I have compiled and used the java file, portListener, on this same box.I have run the code at the command line in the past with java portListenerNOW, I went to install this little ditty on the production ...

Object that returns rootDoc object

285 byte By toomsie64 at 2007-9-27 21:13:40
I want to create a simple wrapper class reads has a getRootDoc method without having to use javadoc doclet at the command line. The wrapper class I want to create should be just like any normal class. could you email me if you come up with an answer gerald-d@gerald-d.com

Connecting to a compiler

535 byte By widge at 2007-9-27 21:15:15
I am currently starting to design a system that reads in a file containing a user name and identification and a java program. the program is compiled and the results along with the user name and identification are stored in a database. I am only in the feasibility stage but i am trying to get ...

compile error in win-ME

220 byte By dnagesh at 2007-9-27 21:30:51
i jus installed jdk1.2 on my windows me system but when i compile the program .. it gives me an error.. "javac has caused an error in msvcrt.dll.. will close now" can someone tell me the solution for this... Thanx

Viewing the *.class and applet.class

443 byte By brigdar at 2007-9-27 21:31:02
First of all: I use Java on Windows 98 (path c:\jdk1.1.8\bin\java and c:\jdk1.1.8\bin\appletview).My problems are:1. I cann't view my *.class files. When I try to open HalloWorld.class with c:\jdk1.1.8\java I just only see the command window of DOS for a while and then nothing.2. When *.class ...

DocCheck text control options don't work !

273 byte By leeroy at 2007-9-27 21:31:23
Hi Java People, I'm using doccheck in a french context and i would be glad to change the text generated by doccheck. I've tried the -getTxt -setTxt options but without any result ! Does anybody succeed in using thes options ? thanks in advance

Problems with Parameters

984 byte By tony.thompson at 2007-9-27 21:37:32
I am using an Ant script to compile javadocs for a bunch of source files. If I have a method declared like this:import x.y.MyClass;...public void myMethod( MyClass p1 );The javadoc generated for this method looks something like this, if I use the 1.4.1 javadoc:public void myMethod( x.y.MyClass ...

Detecting Tools.jar

199 byte By mickoo at 2007-9-27 21:38:15
I need to make sure that the Tools.jar is in the Classpath of the Clients machine as I am using classes from suns package. Can do this before the exception is thrown while my applicaton loads?