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 ...
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 ...
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", ...
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 ...
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 ...
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 ...
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 ...
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!"...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 ...
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 ...
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 ...
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
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 ...
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 ...
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.
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, ...
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 ...
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: ...
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 ...
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?
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 ...
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 ...
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 ...
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 ...
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 ...
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
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 () ...
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
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 ...
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 ...
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 ...
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 ...
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 ...
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: ...
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 ...
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 ...
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 ...
does any body know what an identifier error is?
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?
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". ...
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 ...
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 ...
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 ...
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
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 ...
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
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 ...
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
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 ...
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?