I am trying to index a website using the HouseSpider applet. My platform is Windows 2000. I have created the recommended policy file in my home directory - Documents and Settings/Administrator - (and I've tried it in a couple of otherplaces, too). There are no aliases in my keystore file.The ...
202 byte By
dmcphila at 2007-9-29 17:00:47
When trying to compile a program I get the error message "Couldn't start compiler: error5". I am using j2sdk1.4.1_05, Sun JDK and Windows 2000. Any help to fix this would be greatly appreciated
Hi, all.My manager gave me a task.I'll give an internal training of our colleagues next week.Who can give me some advices about that lesson?The title is "Java Exception Handling".Including the base principle of Java Exception, the exception handling in Java and how to abstain the ...
224 byte By
joeccha at 2007-9-29 17:05:17
Dear all, How can I add the description of a java class in its API such as the Java official API which gives a breif description about the classes before going through the API of them?Regards,Joe
1675 byte By
ketaj27a at 2007-9-29 17:12:14
I'm very new to JavaDoc and am trying to document a full package of classes. These classes are not contained in a jar file.The following structure exists starting at C:\WSAD\tc_1\tc_1\om:om.co Class A - object & source Class B - object & sourceom.co.allocsea Class C - object & ...
Hello,My project includes two packages com.me.internal and com.me.external. I would like to generate the api docs for these two packages into separate directories. However, I would like the @link in the internal packages to still work and point to the directory where the external docs are? Is ...
i make this method:public static double CalculatCharge(int x){if(x=3){return 2;}else if (x>3 && x<24){return 2+x*0.5;}else{ return 10;}but when i compile it an error appear:--Configuration: MyProgs - j2sdk1.4.2 <Default>--C:\Documents and Settings\F A M I L ...
2750 byte By
pjs2003a at 2007-9-29 17:24:28
I am testing out a small program to send short emails to various addresses and everything seems right except that I get this error when trying to run the program:Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactoryat ...
388 byte By
aak891a at 2007-9-29 17:25:52
Hello, I am a student attempting to complete a GUI Currency Converter. My applet will not initialize. I have read through some of the Applet initialization errors but am having some trouble understanding where to proceed. My code is rather large, about 400 lines, so I won't post the thing. I ...
1225 byte By
JerodRBa at 2007-9-29 17:29:02
Hello.I've been working on a project for a while now, that deals with displaying a set of JPGs from a server, then swapping those images with new images, and displaying those. However, I just came across an exception error that I have never got before and have no clue where to start looking. ...
When I try to open java console plug-in, I get this error message:Microsoft Visual C++ Runtime LibraryAssertion Failed!Program: c:program files\Java\J2rei.4.2_01\bin\Java.exeLine 418expression:fuse count==0I get the choices to retry, cancel, and ignore.Does anyone know how to fix this?Thank You ...
I'm getting the error: java.io.IOException: The handle is invalidat java.io.FileInputStream.readBytes(Native Method)at java.io.FileInputStream.read(FileInputStream.java:191)at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:406)at ...
332 byte By
glstulla at 2007-9-29 17:39:51
Please help me with resolving some java errors i have. I have an on going problem with an windows 2000 machine running IE 6.0 SP1.Error: loading java applet failed. also at the bottom i get applet entry applet notinited.I get a red X where something else should be and get nothing else.blank ...
336 byte By
ug333a at 2007-9-29 17:44:10
I just started using {@inheritDoc}. I love what it can do, but it seems to be behaving oddly. When I use {@inheritDoc} in the main description of a method, the @params are always being copied from the super's doc, even if I have my own documentation on them. Is this the way it is supposed to ...
278 byte By
iCeRusHa at 2007-9-29 17:45:57
WHY does it say "ClassDefNotFoundError"? I have tried the PATH and CLASSPATH configuring process... no luck :-(PLLLLLLLLLLLEEEEEEEEEAAAAAAAASSSSSSEEEEEEEE help!u can get me oon MSN: icerush_@hotmail.com or ICQ: 262029099Thnx in advanceiCeRusH
630 byte By
kwantm1a at 2007-9-29 17:50:11
hi,Iam writing some exception hadling for an application. The application is designed as follows.Some a servlet recieved request, through reflection the correct sessionbean and function in that sessionbean are called. Then in the sessionbean a couple of beans are executed.When an exception ...
I have a bean class, which accesses a data access object interface and the concrete class that implements that interface; therefore, I have a statement like:EditorDAO ed = new MySQLEditorDAO();There is a static method in this bean class. I got a compilation saying that the instance with the ...
Hi everyone,I'm not sure if anyone can help me out, but it'd be much appreciated, I'm trying write a thread that is always accepting an object and relays it to another method to perform an action, however after the first object is relayed it seems ready to accept another object but always ...
218 byte By
dkroneba at 2007-9-29 18:07:33
Greetings,Is the javadoc source code available for the javadoc program? We have a study that we would like to do with the source code. Is it part of the GNU General Public License?Dennis Kronebusch
1793 byte By
glstulla at 2007-9-29 18:09:58
when opening an internal web page to view travel area off the company'sintranet web page, the internet explore has an red X on the top left hand corner with a blank area where there should be an image. errors are as listedJava(TM) Plug-in: Version 1.4.2_01Using JRE version 1.4.2_01 Java ...
Hi, currently i am making a very simple jsp:-<%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*,com.*" errorPage="" %><html><head><title>Untitled Document</title><meta http-equiv="Content-Type" content="text/html; ...
I have a bean. The bean has only one property. I populate the bean from fetching data from the database. Because more than one record should be picked up from the database (the data table is created by me, there should be a number of records to be picked up), I add bean(s) to an ArrayList. ...
419 byte By
BoKToRa at 2007-9-29 18:12:17
Hi all,I'm trying to create a 'javadoc' with SinJDoc, because the javadoc of jdk 1.4 can't recognize the Generics I use. Now I've downloaded the jar file and the api's, but I can't find a user manual where I can find the parameters, or how to use the main-classes.Can anyone help me where ...
396 byte By
Dan722a at 2007-9-29 18:14:58
Hi! I have java.lang.OutOfMemoryError in the following code:byte [] array;int freemem= Runtime.getRuntime().freeMemory()-300; //returns 290000array=new byte[freemem];// error! can assign only about 120000- why?While running in emulator everythig is Ok, but a real device (motorola 722i) throws ...
Hello!I am new to making applets and am not sure how to get them to work properly over the network. When I try to run my applet, it fails and I get the following exception in the java console. Any ideas on what to do?Thanksjava.security.AccessControlException: access denied ...
I get this a lot, is it any way to go around it? Not by altering the code since it's not my code but some hack to my java/browser config. I'm using Mozilla Firebird 0.7.Java(TM) Plug-in: Version 1.4.1_02Anv齨der JRE-version 1.4.1_02 Java HotSpot(TM) Client VMAnv齨darens hemkatalog = ...
java.lang.ArrayIndexOutOfBoundsException: 564> at com.sun.tools.javac.v8.parser.Scanner.scanIdent(Scanner.java:500)> at com.sun.tools.javac.v8.parser.Scanner.nextToken(Scanner.java:1110)> at com.sun.tools.javac.v8.parser.Parser.skip(Parser.java:176)> at ...
Exception in thread "main" java.lang.NoClassDefFoundError: i am a newbie to Java.I have win2k. & using Textpad as an editor to java.But when i try to run thecode below..i get the following error message-->Exception in thread "main" java.lang.NoClassDefFoundError: sqrt Code : import ...
I upgraded from Netscape browser 6.01 to 6.1 a few days ago and I now find that Java does not work with it on my PC, although it is OK with MS Internet Explorer. I have a java clock which I have been using for testing.I have checked and and rechecked that it is enabled in Advanced and it is, ...
It would be great if we had a Java DOM - complete (or almost complete) representation of Java source plus some helper classless for serialization. If only we could parse the class get the DOM manipulate it and serialize it back to file without loss of info! It would open great possibilities for ...
I have a client application running JDK 1.3.1_07. On the server, I have a JDK 1.4.1_03. When an exception occurs on the server an exception is thrown. When the client receives this exception, JDK1.3 doesn't understand the exception and shows the following error message:Problem finding error ...
517 byte By
MitraKa at 2007-9-29 18:54:37
Hi ,I have a JAR file called batchapp.jar. This executes perfectly when I double click on it. But when I use the Windows XP scheduler to schedule to run this jar application, it gives me a error window titled "Java Virtual Machine Launcher" and the error displayed in the window says "Could not ...
hi, i need ur help...i've encountered java.lang.nullpointerexception prob but i dunno y it happened...da scenario here is i'm trying to link "customerRequest.java" with "dbConnect.java"customerRequest.java==================================================================================public ...
Hi,Is there a tool that facilitates commenting in .java files ? I dont need a tool to generate javadocs. I need a tool that exposes me the methods in java file and I can just type in the actual description.Please suggest.TIA.
274 byte By
kunukna at 2007-9-29 19:08:34
I made a simple applet thingnow i get that error when i try it,i have read about it but i dont understand it http://java.sun.com/j2se/1.4.1/docs/api/java/lang/IllegalAccessException.htmlanyone who can give an explanation in newbie termsthx.
When building a few components I had previously linked to http://java.sun.com/j2ee/sdk_1.3/techdocs/apiNow the javadoc task in my ant build for these components is having the following error:javadoc: Error fetching URL: http://java.sun.com/j2ee/sdk_1.3/techdocs/api/package-listIndeed, the ...
482 byte By
eyegonea at 2007-9-29 19:13:32
I am trying to do something like this:/*** {@inheritDoc}* <p/>* <b>Note:</b> This method also does the* following other cool things....*/I'm sure that you can see the problem. The javadoc tool doesn't pay any attention to the period in the inherited comments, so everything ...
101 byte By
pinki75a at 2007-9-29 19:24:25
HelloWhat is the format of writing java Psuedo code within the Java doc ?Thanks
3460 byte By
sumit05a at 2007-9-29 19:26:00
Hi, I am getting a really weird error..I have an Iterator on a HashSet; the access to the HashSet objects is only via synchronized methods ..thus according to me..they should not be accessible to other threads while one thread has locked them..even in this situation it is throwing a ...
I am on here, because I don't know where else to go. I had this message show up on my desktop as a text document. Please let me know if this is ok, or what. Also, I need this in laymans terms. I saw some threads on here relativly close to the message I got, but I have no idea what you are ...
203 byte By
bontza at 2007-9-29 19:37:14
Hi, I am usign javadoc on j2me API. i am not getting any field summary for my classes. Is it like javadoc doesnot provide this function or can u suggest me any solution ?many thanks.
378 byte By
kzmna at 2007-9-29 19:43:11
Please help me, I am still new to Java and when I try to compile this test program I got out of my book I keep getting the message cannot read file, 1 error found.public class Add16And23 {public static void main (String[ ] args){int sum;sum = 16 + 23;System.out.println ("The sum of 16 and 23 is ...
HelloPlease help me , J have very much messagess at this:2003-12-19 17:04:57 java.util.prefs.FileSystemPreferences checkLockFile0ErrorCodeWARNING: Could not lock System prefs.Unix error code 4.2003-12-19 17:04:57 java.util.prefs.FileSystemPreferences syncWorldWARNING: Couldn't flush system ...
I'm having some difficulties with a custom doclet. I've simply subclassed some of the standard doclet classes to do some custom html output (basically wrapping the output in the headers/footers/navigation of our department intranet). I want to use the standard doclet's configuration and a ...
Hi,I have this problem with my program. It prompt that "parseDouble(java.lang.String) in java.lang.Double cannot be applied to (int). How do I solve it? Pls help.import java.io.*;import java.text.*;class StudentMarks{public static void main(String[] args) throws IOException{int stuNo, ...
Hi everyone, i created an hexagon object.When i create 2 or 3 instances of it the class works fine:hexagone H,D,F;H=new hexagone();D=new hexagone();F=new hexagone();H.method(blabla)D.method(blabla)F.method(blabla)All this work fineMeanwhile, if I try to create a matrix like this:hexagone H[ ][ ...
127 byte By
luzhuoa at 2007-9-29 20:04:42
Is there javadoc tool can exclude certain public method from being documented?I need it run in ant.Thanks.
900 byte By
fedetxfa at 2007-9-29 20:09:15
I have been changing my aproach towards exception handling with experiencie and hours of coding badly.I'd love to hear of anything worth reading about how to use, design and throw exception in java.All I find is the obvious pointing not to throw exceptions to alter the control flow, and some ...
248 byte By
chad25a at 2007-9-29 20:10:24
Hey! Can anyone help me be able to figure out how to increase my stack size. I am working with recursive sorting algorithms and cannot sort beyond 1000 items because of the recursive calls.Thank to anyone that can help me. Chad
I'm trying to document a package called mojeGrafy. The sourcefiles are located in C:\Applications\mojeGrafy\ *.java. For all sourcefiles the first line is package mojeGrafy;. The javadoc command I'm using from the "root" (C:\>) directory is: javadoc -d C:\Applications\mojeGrafy\docs ...