jar option cf0

154 byte By littleg at 2007-9-26 20:12:46
...\bin\jar cf0 ....can someone explain me the jar option -cfo? cf means creating, but what is the "0"?TanksGerd

1.4 errors

1260 byte By jre95001 at 2007-9-26 20:17:26
Using Javadoc from the SDK1.4 rc-1, I run into a problem when trying to create documentation on a directory that exists twice in my classpath. As an example:CLASSPATH=.;D:\Computer\JavaProgramsIf I go to directory D:\Computer\JavaPrograms and run javadoc:javadoc -d .\docs jtools.exceptionI get ...

Using SIB to document JSP Pages

231 byte By damian99 at 2007-9-26 20:22:20
I'm testing SIB tool to document JSP but I obtain the field Description always empty.What kind of code do I have to write into JSP code to obtain that field?ThanksDamian Reyesreyes@ati.es

-windowtitle <text> in javadoc

638 byte By csoundap at 2007-9-26 20:23:48
I am executing the following javadoc through a servlet.javadoc -windowtitle "xxx yyy" -d <abs target path> -sourcepath <abs sourcepath> pkg1 pkg2It gives the following error:javadoc: No package, class, or source file found named yyy"But when I don't have any space between xxx and ...

how to read the package made by myself

1446 byte By alvin620805 at 2007-9-26 20:26:16
hi,i got some compiling problems, the result of compiling is below....C:\javatest\a123>javac PClass.javaC:\javatest\a123>javac pro0501.javaC:\javatest\a123>java pro0501Exception in thread "main" java.lang.NoClassDefFoundError: javatest/a123/PClassat pro0501.main(pro0501.java:13)is that ...

JVM for j2se not found

92 byte By maple6 at 2007-9-26 20:28:44
I received this message when I tried to compile the build application example.

Cannot Resolve Symbol when compiling

2169 byte By ssaf at 2007-9-26 20:30:39
I have created a very small class in a directoy called c:\hottub as follows:package hottub;import java.awt.*;import java.awt.event.*;public class GenInfo{public GenInfo(){}} A class is created call GenInfo.class no problem.My classpath is:c:\java\steve;C:\java\binBut I am compiling like ...

compiling the action function

402 byte By billstu at 2007-9-26 20:32:30
While compiling my java class I receive this error MyClassName.java:372: warning: action(java.awt.Event,java.lang.Object) in java.awt.Component has been deprecated public boolean action(Event e, Object arg) {How is this possible, I'm using examples from java in a nutshell 2nd edition. This ...

Cannot compile Java3D

418 byte By Jappie at 2007-9-26 20:35:27
I have a problem when compiling Java3D programs. It seems the classes that come with this API cannot be found by Java. Programs not using Java3D compile fine. Installation went correctly as far as I know, the src file is located in the sdk directory, path is set correctly etc. I also import all ...

Appending documents to an existing document tree.

478 byte By alcazar23 at 2007-9-26 20:38:14
Hello all,I've created a directory that stores the documentation for any classes I create. I've called javadoc to create documents for a package and placed those documents within that directory.I'd like to know how to (at a later time) append additional documents for packages to that ...

how to compare each token of two strings

1373 byte By alvin620805 at 2007-9-26 20:44:40
hi guys,first of all, thank you guys helping me, whoever he is. the problems i had before have beed solved.....now i got another new problem about below source code.import java.util.*;public class t1 {public static void main(String[] args) { String s1,s2;StringTokenizer str1=new ...

no compile with jdk1.4.0

704 byte By ivonne2 at 2007-9-26 20:46:47
I used to compile and run with jdk1.3 and had no problems in compiling any kind of programs, but since I updated java to jdk1.4, I can't even compile the HelloWorld program on MSDOS. It launches this: "COMMAND OR INVALID FILE NAME"..I did everything on path and setpath as I used to do it with ...

Cannot Resolve Symbol Frustrations

1179 byte By ssaf at 2007-9-26 20:56:50
Here is the code:private void populateTabbedPane(){ tabbedPane.addTab("Welcome", null, new HTBegin(), "Welcome to Hot Tub");tabbedPane.addTab("Start", null, new HTStartup(), "Start up Tub");} Here is the error:C:\Java\Steve>javac -d . Hottub.javaHottub.java:44: cannot resolve symbolsymbol : ...

DemoHome.java:22: cannot resolve symbol

2143 byte By kbandlab5 at 2007-9-26 21:14:06
Hi,I am trying to do this example which is on EJB and code is also from Sun site: links ...

How to compile java 2 class ?

474 byte By tolsam at 2007-9-26 21:22:06
Hello, I'm trying to compile FruitMap.java, which code is :public class FruitMap extends java.util.HashMap{}...thanks to :javac FruitMap.java...and i can't succed in that.Is this code suffisant ?!Here's what i obtain from Internet Explorer: "Class java.util.HashMap not found in cast."HashMap ...

Packaging taglets

203 byte By geoffgibbs at 2007-9-26 21:26:37
Under javaDoc 1.3 I created a doclet that handled an extra 5 custom tags.If re-written as taglets for 1.4, is it possible to package them all together to keep the command line short?

docencoding & charset

277 byte By tmat at 2007-9-26 21:31:36
Can somebody explain the use of the following command line options provided by the standard doclet-docencoding-charsetBoth got to do with the character encoding of the generated HTML files. But I am not clear what does what. Thanks in avance.

Web-Palette colors

766 byte By sen_arjun at 2007-9-26 21:31:51
I find that running javadoc in purely default settings generates html with colors that are not web-safe:You are probably aware that Web Palette/web-safe colors are viewable on nearly all color systems and must be made up of combinations of the hex numbers: 00, 33, 66, 99, CC, FF.the 'Light ...

Win32: javac 'cannot read' error when inner classes are involved

563 byte By jehricaholic at 2007-9-26 21:32:12
I believe I'm having a classpath problem whenever I try to compile a .java file which uses inner(sub) .class files in the main .java file. I receive the cannot read filename error.The directory (c:\Java) where the files are located has it's classpath 'hard coded' in the environment ...

Compiling wiv forte

241 byte By haddock666uk at 2007-9-26 21:34:19
OK i compile a simple piece of code like the "hello" program.Says compiled sucessfulyl but in the output window i ahve no output of the word HelloIt justs says finshed compiling.Any ideas ?thxn Haddo

Funny Compiling Error

1173 byte By qmqasim at 2007-9-26 21:37:37
HiI am trying to compile some classes but I get funny sorts of errors. Errors I get are as follows;RemoteServerImpl.java:8: interface expected herepublic class RemoteServerImpl extends UnicastRemoteObject implements RemoteServer ^RemoteServerImpl.java:14: cannot resolve symbolsymbol : class ...

Hello please help me!

578 byte By johnmp at 2007-9-26 21:37:56
Hello everyone,I just bought a laptop and it comes with Windows XP.Then i loaded Java(Jdk1.2.1) and tried to run the compiler javac, and an dialog box appears stating as follows.Microsoft Visual C++ Runtime Library.Runtime error!Program :c:\JDK12~1.1\BIN\Javac.exeabnormal Program ...

Pulling information from an XML document into the JavaDoc HTML

139 byte By cschooler at 2007-9-26 21:40:30
What is the best way to pull additional information from an external XML file into what looks like the standard JavaDoc HTML?

Selective publishing by modifying RootDoc?

750 byte By dmgillha at 2007-9-26 21:41:04
I'm trying to modify the Standard doclet to selectively publish classes, methods, and even tags based on certain criteria (which, if I understand it, is what the @exclude tag will/would offer). I started by modifying all of the HTML output routines in ClassWriter, AbstractSubWriter, etc, but ...

JavaDoc 1.4 Src Download

107 byte By cschooler at 2007-9-26 21:42:03
Does anyone know where the JavaDoc 1.4 source code is available for downloading?Thanks

How to use -encoding option to compile a UTF-8 java source file

343 byte By wangquanyong at 2007-9-26 21:51:55
I used javac -encoding UTF-8 javafile.javato compile the java source file "javafile.java" which is saved by UTF-8. But got errors.Although when I save the file "javafie.java" as ANSI file, and used javac javafile.javaI got success.May I get some helps for compiling the UTF-8 java file? ...

wrapping long @see

490 byte By sen_arjun at 2007-9-26 21:55:28
I have a really long @see parameter.i need to put the following into 80 columns:... * @see aa.bb.cccccc.ddd.eeeeee.ffffff.ggggggg.hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh where the h..h is the class name.i tried wrapping at various points but javadoc keeps giving me warnings.(I know ...

Attaching to Sun's javadoc

386 byte By titojermaine at 2007-9-26 22:03:28
I'm new to creating javadocs, so this is probably an obvious question and I'm just missing it. I noticed that when I create javadocs for my own packages, they show the superclasses methods, fields, etc., but they are static text, and not hyperlinks like Sun's javadoc. Is there any way to get ...

can ne 1 answer this interesting question?

857 byte By v_sanas at 2007-9-26 22:07:52
Hi!if a data member in an instance of a class gets its value changed through an accessor method, how can i track that event and get the information about the change made from another class? does java provide ne inbuilt methods for this? for example, i have an instance of a 'Person' class ...

Is HashMap a special class ?! Can't compile !

481 byte By tolsam at 2007-9-26 22:12:36
Hello, I'm trying to compile FruitMap.java, which code is :public class FruitMap extends java.util.HashMap{}...thanks to : javac FruitMap.java...and i can't succed in that, even if i put a main methodpublic class FruitMap extends java.util.HashMap{public static void main(String[] args){}} ...

javax.servlet.* and javax.servlet.http.* don't exist?

295 byte By JavaSpiky at 2007-9-26 22:13:20
When I compile a class that hase the following import statements:import javax.servlet.*;import javax.servlet.http.*;the compiler says that those packages don't exist, but I'm pretty sure that the do.Does anybody knows what I could do wrong?Nico

why my interface prog can not compile

1149 byte By alvin620805 at 2007-9-26 22:14:22
hi,i wrote the interface source code and the class source code, they are in same path, but when i compile them, it said that C:\javatest\pro0601>javac pro0601.javapro0601.java:1: cannot resolve symbolsymbol : class AreaInterfacelocation: class VClassclass VClass implements AreaInterface ^1 ...

java3D: java.lang.UnsatisfiedLinkError

1103 byte By ul2 at 2007-9-26 22:16:04
Could someone help me with this please.I couldn't find any help at the java suns pages.I have installed java3D. I can compile the program but not execute the program. I am using j2sdk1.4.0 and I get the following error: Exception in thread "main" java.lang.UnsatisfiedLinkError: ...

Bad Command or file Name

155 byte By markreisig at 2007-9-26 22:17:18
I downloaded and installed j2sdk1.4.0. the path is set in autoexec.bat. and it does not find javac - Bad Command or file nameAny help?

wrapper GUI application for javadoc

262 byte By mottym at 2007-9-26 22:19:10
Does anybody knows about a GUI application thatmake easier the usage of the javadoc command (that might be very complicated and long even for a batch file).What do you think the chances of such a commercial?tool ?

How to set path in LINUX

232 byte By MrGoldy at 2007-9-26 22:22:25
hello everyone,this is a funny question but iam new to Linux.Please tell me how can i set path in linux so that i can use java and javac tool from any directory. thanks in advancegoldy

JBuilder Error

251 byte By ArvindC at 2007-9-26 22:25:48
I'm compiling a project in JBuilder, but I keep getting this error:"Frame1.java": Error #: 704 : cannot access directory com\borland\jbcl\layout at line 23, column 1"I have know idea how to fix it... any suggestions

linking to jdk13_docs.jar

416 byte By megaflux at 2007-9-26 22:26:13
Hi,i want to make a Documentation with javadoc. Now I'm having a problem, because I want to have api-documents also linked in my documentation. So my api-documentation is in a file called jdk13_docs.jar.I tryed something like: javadoc -link ...

DocCheck tool

349 byte By arunpers at 2007-9-26 22:37:39
Hi,I am using DocCheck to check the javadoc tags used in the program files. The output produced highlights the various missing tags and errors. But, it does not list if a @author tag is missing. Is there a way I can make DocCheck list missing @author, @version tags also in the report it ...

javadoc: warning - Cannot find class org.w3c.dom.Document

366 byte By hookipa at 2007-9-26 22:42:34
Hi,Generating the documention I have couples of warnings saying that javadoc does not find some classes (like org.w3c.dom.Document, org.xml.sax.SAXException or org.w3c.dom.Node).Is there a path to set or something like that in order to fix the problem? in which jar file can I find these ...

javax.swing.*

372 byte By venu_madhavi at 2007-9-26 22:55:33
I have downloaded jdk1.3and have installed and set the classpath to the bin directory of jdk1.3I am working on win2000 machine.I get the following errors when I compile my awt application. DrawingPad2.java:4: Package javax.swing not found in import.import javax.swing.*;can I get some help on ...

Ok this is weird.....

724 byte By 91004138 at 2007-9-26 22:57:07
I made a GUI for the Javadoc (because I can hehehe).I can run it on a source file called TestProject.java and it works wonderfully.It won't work on any other file. If I change the filename to TestProject2.java (and the corresponding class inside it), it won't run. I don't get any errors, it ...

servlet compilation

1786 byte By adrianlini at 2007-9-26 23:11:46
hello i am trying to compile the code copied below but it gives the following error- package javax.servlet.http not found in import. ....... i have included the following paths in the environment variable in my computer settings. ;C:\jdk1.2.1\bin;C:\jsdk2.0\lib\jsdk.jar could anyone help? lini ...

Stream troubles with com.sun.tools.javac

1417 byte By Sir_Galahad at 2007-9-26 23:20:30
I'm compiling a Java file at runtime with com.sun.tools.javac.Main and want to redirect the output to a file. Redirecting is normally of course no problem, but after using the class mentioned above things get really weird.Please take a look at the code below and read the comments to see what ...

No package, class, or source file found named com.peregrine.arsys.api

1118 byte By ivan_stampovic at 2007-9-26 23:42:07
Hi all,I'm absolutely baffled by this error message (No package, class, or source file found named com.peregrine.arsys.api) when compiling my Javadocs. I'm on my second iteration of doc'*** our Java API. I've already successfully published Java docs! The last time I successfully compiled ...

I can't find javac

172 byte By Chrystelle at 2007-9-26 23:42:33
Hello, I try to compile but it tell me that javac is not a command.I looked in bin and it's not here, where can I download it?thank you!

external link fetching error

378 byte By qwang123 at 2007-9-26 23:49:48
I was trying to link my package to SUN JAVA API using the following command, the error message is as below. Any idea?Command:javadoc -d ~/cvs/pipeline/java/src/doc *.java -link http://java.sun.com/products/jdk/1.2/docs/apiError message:javadoc: Error fetching URL: ...

compiler can't find swing

310 byte By mythominute at 2007-9-26 23:50:03
I'm using jdsk 1.4 under linuxwhen I try to compile a file containing swing components, the compiler gives me an error.I use this line to import JFrame:import javax.swing.JFrame;I get this message from the compiler:Cannot find type "javax/swing/JFrame" ...

Using javac and classpath with Linux

513 byte By robeb at 2007-9-26 23:50:06
My classpath is /usr/java/jdk1.3.1_02/bin (that's the path to jdk1.3.1)but I get a /usr/java/jdk1.3.1_02/bin/i386/native_threads/javac: error while loading shared libraries: libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directoryerror when I try to compile a java ...

NoClassDefFoundError

426 byte By GeorgeCocolas at 2007-9-26 23:50:55
Hi guys.I'm having troubles when i try to compile a java program of my own. I get an error message similar to the subject line above. i.e. "Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/tools/javac/Main" I Have no idea what this means and how to fix it. I have made sure my ...