charset and docencoding options

640 byte By dcardera at 2007-9-28 14:25:43
Could someone clarify the meaning of the documentation for -charset and -docencoding? The documentation for -docencoding states "Specifies the encoding of the generated HTML files."Does this mean that if I specify the following:c:> javadoc -docencoding "EUC-JP" mypacakgeJavadoc will ...

How to JavaDoc[tm]

186 byte By devisama at 2007-9-28 14:28:43
Hii need to java doc feature and am first time user of itcan any one say me how to start with it orany tutorials regarding this java doc featurethanks.

Javadoc for LInux: Inavailabaility of source files

814 byte By snodxa at 2007-9-28 14:30:53
Greetings everybody,I currently work on Mandrake Linux 7.2.For the purposes of Java development I frequently need to refer to the j2se 1.3 javadocs.So one fine day I decided to download it. But unfortunately I am getting only a Windows unzippable javadoc.zip version for download which I dont ...

Java Applet Problems

555 byte By Creative210a at 2007-9-28 14:37:30
I have java installed infact I have Java 1.2. Plus I have updated my service pack for OS XP just 10mins ago. Well heres the problem. I was prompted to install java applet at the website I was playing a game at...and I accidently said "NO". Now all my applets are [x]'ed out. This is driving me ...

Problems with memory

312 byte By Juan27a at 2007-9-28 14:39:13
Hi everybody, I am building a GUI using swing, everything is ok, but some times the OutOfMemoryError() occurs. I have 256 Mb in my PC, but in my application I use a lot of components too. Does any body know how can I manage the memory and free the space that is not in use?Thanks in ...

Use Javadoc on WebServices

181 byte By suneja at 2007-9-28 14:44:20
We have made some demos with Apache AXIS.The files are in Java but with extension .jwsHow can Javadoc be used without changing the file name?Regards Sune

Error on Page

298 byte By jdbluea at 2007-9-28 14:45:16
I installed Java on my computer, I was getting the memory could not be read message but I fixed that. However, Java still does not work. It is selected in IE Options, but for some reason whenever I try to click on a button for a Java applet it still gives me an error on the page.

Please help!..redirecting error messages

183 byte By MUGGINS20a at 2007-9-28 14:46:18
I'm developing an application and I wish to redirect all error messages to a separate .txt file. Is this possible?This is very urgent, if anyone can help!Thanks.

Help! JAVA is closing my web browsers

8999 byte By j32953a at 2007-9-28 14:48:17
I recently had to reinstall everything when my C: drive crashed and now, after installing the latest version of JAVA, whenever I go to a site that uses JAVA applets (such as pogo.com) when the web browser tries to open java the entire browser is closed. How do I get JAVA to stop closing my web ...

Help with java.lang.NoSuchMethodError

1840 byte By JavaStudent78a at 2007-9-28 14:50:52
Hello everyone,I am new in these forums, and I really hope that you guys can help me out. Here is the error that I get when I try to compile my code...java.lang.NoSuchMethodError: Equations.Mario(D)Dat RandomSampling.main(RandomSampling.java:92)Exception in thread "main"and here is the ...

HELP I CANT GET JAVA APPLETS TO WORK

312 byte By darren700a at 2007-9-28 14:51:06
i downloaded java 2 runtime enviroment SE v1.4.1_02 and on the site it says if java is working properly you wil see the coffee cup, i did, so i thought that everything would work, but i was wrong, now any site that uses java to open new windows doesnt work.!!!! someone please please help ...

Javadoc/Taglet error

2461 byte By peterg104a at 2007-9-28 14:54:32
I'm trying to start the sample ToDoTaglet working, but javadoc responses with a exeption:javadoc: In doclet class com.sun.tools.doclets.standard.Standard, method starthas thrown an exception java.lang.reflect.InvocationTargetExceptionjava.lang.NoClassDefFoundError: ToDoTaglet (wrong name: ...

create javadoc for java files under development

453 byte By sibijva at 2007-9-28 14:55:33
hii would like to know if there is any method by which i can generate javadoc of java files that are in the process of development. What i do is first create a skeleton java file with just the methods defined along with their javadoc comments and then start implementing the methods. I do a ...

Problem with database

586 byte By brunoheliusa at 2007-9-28 14:56:37
Anyone can say if there is any problem in this code?In the java there is no problem, but in the console says that : "the column name idsecao not found"public int getMaxId(){int max = 0; try{ stmt = conn.createStatement(); //connect the statement to the connection SQL ="select max(idsecao) ...

Exception in thread "main" java.lang.NoSuchMethodError: main

1160 byte By doremi1a at 2007-9-28 14:57:46
Hi all,I get the above error msg during runtime. Need to get this fixed urgently. Can you pls kindly give me some advise how to solve the problem? Thanks alot//import aber.util.*;import aber.util.TextInputReader;import aber.util.TextIOException;class Customer{private String name;private String ...

variable might not have been initialized

2433 byte By HaggisMana at 2007-9-28 14:59:58
My apologies if this is posted in the wrong forum, it seemed the most suitable one. I am new to Java and cannot correct this problem I have been having ie. "variable riceType might not have been initialized". As far as I can tell the switch statement isnt reading riceType character correctly. I ...

Socket Error: Address in Use

1101 byte By edster3a at 2007-9-28 15:08:22
Hello. I am opening a Socket connection to a router which is acting as a terminal server (by connecting to a particular port and IP, a serial port can be accessed through a TCP/IP network). I am reading am writing to a GPS receiver on the other end.The Socket opens fine. I close it with ...

The mistery of the double insertion!!!

4520 byte By brunoheliusa at 2007-9-28 15:14:25
I can磘 understand why my code sometimes inserts two rows in the database with the same information.See my code:<%! Connection conn;Statement stmt;Statement stmt2;Statement stmt3;String url = "jdbc:postgresql://localhost/trf";String assunto = " ";String titulo = " ";String subTitulo = " ";int ...

Forte javadoc output location mystery

223 byte By MartinRineharta at 2007-9-28 15:14:54
I generate javadoc from Sun ONE Studio. Running a search I found MyClass.HTML in 5 different places, only one of which was where I really wanted it. How can I tell it where to put my javadoc?Thanks in advance.

trouble with <table>

349 byte By chfaurea at 2007-9-28 15:16:00
I'm trying to use the <table xxx=yyy> <tr xxx=yyy> <th xxx=yyy> <td xxx=yyy>.In each summary "package for class" or "methods" the /tags are not properly done. The produced javadoc become unusable.How can i format my class/interface and method comment without alteration ...

@version tags and CVS

109 byte By toddela at 2007-9-28 15:16:58
how does one set up CVS to auto generate version information for code that contains @version %I% tags?

No package, class, or source file found named...

573 byte By dmonnierfra at 2007-9-28 15:17:22
I use the JDK 1.3 and I need to generate the documentation of all the packages of my application. So, I made some batchs for generate the documentation of the wanted packages.Content of the batch :javadoc -d "D:\API" -author -version -private com.project.toolboxThe directory where are my ...

Socket alive after program exit

215 byte By elsabernya at 2007-9-28 15:30:12
The java socket connection remains alive when the the program exits abrubtly. No exception is thrown at the listening socket side. Since timeout is set, InterruptedIOException is thrown at timeout intervals.

java.net.ConnectException : connection refused

3218 byte By arundhatima at 2007-9-28 15:30:19
developing a chat application. i dont have a network to work with so i'm testing it on a standalone pc with window xp. can someone explain to me what i should do to sort this out.here are the errorsC:\Documents and Settings\arundhati\Desktop\project\project3\javafiles>java ...

Error while loading an applet

786 byte By sheila_cheza at 2007-9-28 15:31:25
HiI have created a Swing applet - "IPManagerApplet", and it runs perfectly well in the local machine's browser (IE5). But when I try to run it from a different machine in the network, it gives a Class not found error. The error message i got from java console is:Error loading class: ...

have problem with java cannot chat in chat room

833 byte By raider1038a at 2007-9-28 15:38:52
hi i am having a very difficult time chatting in www.raiders.com/chat room. this has being going on for 6 months now. or maybe more.what happens is when i log in my user name then hit enter it goes to chat room but on top it says connecting to whatever address it is for chat room. at the bottom ...

Help with Javac

355 byte By Puckme32a at 2007-9-28 15:47:09
I have just instaled java sdk 1.4.0_03. When I try to compile my .java file with javac, I get the message:"Exception in thread "main" java.lang.NoClassDefFoundError: con/sun/tools/javac/main".I have been trying to find out whats wroung for about a day now. I would be glad if anyone could tell ...

JVM stopped printing stack traces... :(

1130 byte By Ditchdiggera at 2007-9-28 15:50:45
Earlier today I was messing around with trying to re-direct Standard Output to a file, but now that I've commented out that section of code and have it going to the console again it isn't printing stack traces! Instead of something like:C:\> java AlarmClockThe current time is 5:00 ...

Setup problem

300 byte By mrsnoddya at 2007-9-28 15:52:15
Hello everyone, I am just trying run a java program and I'm getting the error:Exception in thread "main" java.lang.NoClassDefFoundError: convertthe program name is convert.I don't know if anyone can help me, but any suggestions would greatly be ...

Catch exception

273 byte By AGustafssona at 2007-9-28 15:58:53
This is proberly a really basic question but...I have a javacode that throws a nullpointerexception if a variable is not set. I want to system print out all errors except the nullpointerexception. I quess I can磘 use "catch(Exception ex ){" then.Andreas

catching InterruptedException in Logger methods

1480 byte By tnakagoma at 2007-9-28 16:08:32
Hi!I am writing a multi-threaded application and one of the threads controls other thread's life. When interrupting a thread from the controller thread using the interrupt() method, and if the interrupted thread is in a Logger method, I cannot catch InterruptedException using try/catch block ...

Javac is missing from jdk/bin directory

314 byte By bfogelmana at 2007-9-28 16:11:24
I have tried to download J2RE 1.4.0 off the Sun Microsystems site several times. Each time javac.exe is missing in jdk/bin directory. COuld someone please advise me what should I do to fix this problem?By the way, I am running Windows XP on an IBM Thinkpad model ...

illegal start of expression

2347 byte By brutus1234a at 2007-9-28 16:17:58
Hello,sorry for my sloppy English, but I'm from Holland :pThis program is returning 2 errors when I compile it in Jbuilder :package h11opdracht2;// Bert-Jan Diedering// test jezelf opdracht nummero 2 van hoofdstuk 11// gemaakt : maandag 24 maart 2003import java.awt.*;import ...

Connection reset by peer

829 byte By to_harpreetsingha at 2007-9-28 16:26:00
hi all,recently i start getting this error of connection reset by peer.i m using jrun3.1 as application server, iis as web server, ms sql 2000 as database server all in one machinewhen i use this machine as server and access it from a client(another machine) for fetching results which are more ...

noob: can you force a class file to compile?

868 byte By warth0ga at 2007-9-28 16:31:39
I am working on a website system that has a ton of class files. The original developer is gone, and I am soewhat familiar with java, but have never actually created class files. ( I have a wide programming background in CF, PHP, Perl, VB, Javascript, HTML, DHTML, ETC)Anyway, I have the original ...

AccessControlException when running an applet.

309 byte By YBGourrya at 2007-9-28 16:32:14
When running the program I made, an applet, on a different computer, without re-compiling the class files, I get an AccessControlException, pointing to the line: "Timer timer = new Timer();" Please help, I can't figure out how to get my applets to run on any other computers without ...

@throws vs @exception

418 byte By antcasqa at 2007-9-28 16:42:12
Hi!I came across some code that uses "@exception" and I tought that the right way was "@throws".Does any one knows what is the diference between these 2 tags?@throws@exceptionI read in a book that "they are the same" but if that's the case why 2 ways of doing the same?If someone knows when to ...

linkoffline link not built correctly

1429 byte By fmh1a at 2007-9-28 16:49:44
We are running Javadoc through a shell script and trying to link to a copy of the JDK on one of our servers. We don't allow proxy Internet connections on the server where we run Javadoc, so we are using linkoffline to generate the links. Here's what was passed on a given run:javadoc ...

Unexpected error

187 byte By tssprograma at 2007-9-28 16:53:18
I hava facing the unexpected error while running the program. How to create or write the Exception to handle any kind of the error that occur while program is running.Thanks

HELP!! NoSuchMethodError Desperate

883 byte By drstokesa at 2007-9-28 16:55:37
I am getting the error:java.lang.NoSuchMethodError: GetUsername.<init>(Ljava/net/Socket;LMyObjects;)VThe line causing it is:new GetUsername(conn.accept(), theobjects).start();The GetUsername Class is defined as:public class GetUsername extends Thread {private Socket theClient = ...

java.lang.ArrayIndexOutOfBoundsException: No such child: #

1765 byte By p_graesslea at 2007-9-28 16:55:39
I am getting an java.lang.ArrayIndexOutOfBoundsException: No such child: # (where # is a number usually 0, 5, or 10). The program runs fine, and this error does not seem to cause any problems; however, I would like to either know if there is a patch for this error or if someone knows a work ...

Bogus NoClassDefFoundError in 1.4.1

1640 byte By notwronga at 2007-9-28 17:00:00
Hi,I have recently been working on upgrading a project from using JDK 1.22 to 1.4.1. I am encountering a strange situation where a NoClassDefFoundError for a class in a different package is consistently generated whenever I try to run a certain component, but the class in question is there. I ...

applets help

2477 byte By evilz35a at 2007-9-28 17:07:28
am doing a simple hotel boooking system shown below. i am having trouble writing 2 of my methods. the listrooms method and the addclient method, can anyone help. the add client method should read the text field and store the name in the specified location of a array which i have set up, but if ...

Problem with compiling Class using package.

641 byte By rashmiaria at 2007-9-28 17:21:35
I have created Card.java and package mypackage;is the first statement in the file before import. I have also created the myPackage directory and copied the Card.Class file there. But when I compile the Deck class I get the follo error.I have a constructor in Card.java tooC:\java>javac ...

Three options for Exceptions ... opinions?

2923 byte By kducklinga at 2007-9-28 17:22:47
I've got a method login() which has many reasons why it might fail. As I see it I've got three options, and I'm interested in opinions on them, or any additional options ...1) public void login(String userName, String password) throws ApplicationException, LoginException, ...

Cannot Resolve Symbol?

1043 byte By neveraflaw05a at 2007-9-28 17:27:49
I am working my way through the Java tutorial and I am up to the ClickMe applet. I download the code into the bin directory of java. I also created the ClickMe.html file and included that in the directory. I am using TextPad to compile .java files. When I compile Spot.java, Spot.class is ...

Out of memory help

210 byte By scifoa at 2007-9-28 17:32:20
Hi i encounter a lot af out of memory erors , i'm using a lot of int , double en Strings in my application , are there some tips to release memory of trace where everything runs badTiaSven

class file contains wrong class

536 byte By rashmiaria at 2007-9-28 17:41:10
I have a problem with package. I have done the followingcopied the Deck.class & Card.class into mypackage. I have imported mypackage.* in Hand.java.when I compile I get the below error.D:\Java>javac Hand.javaHand.java:14: cannot access Cardbad class file: ...

help with HelloWorldApp

357 byte By conorfitza at 2007-9-28 17:44:24
// i have HelloWorldApp prog on the c diskthen i entered the commandC:\> .\j2sdk1.4.2\bin\javac HelloWorldApp.java//no problems//then i enteredC:\> c:\ javac HelloWorldApp.java//class is created//then i enteredc:\ java HeyWorld//no errors but no output could you please ...

error at my calculator application

1803 byte By KaiKuppela at 2007-9-28 17:48:16
this is what I have so far, and i keep getting the errors (which i posted down the bottom, can someone help me out?:-public class Calculator{public static void main(String[] args){String another = "y"; while(another.equalsIgnoreCase("y")) { System.out.println("Enter 1st number: "); int number1 ...