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
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 ...
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
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 ...
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 ...
92 byte By
maple6 at 2007-9-26 20:28:44
I received this message when I tried to compile the build application example.
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 : ...
Hi,I am trying to do this example which is on EJB and code is also from Sun site: links ...
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 ...
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?
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.
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 ...
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 ...
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
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 ...
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 ...
What is the best way to pull additional information from an external XML file into what looks like the standard JavaDoc HTML?
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 ...
Does anyone know where the JavaDoc 1.4 source code is available for downloading?Thanks
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? ...
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 ...
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 ...
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 ...
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){}} ...
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
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 ...
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: ...
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?
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 ?
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
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
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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!
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: ...
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" ...
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 ...
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 ...