We can convert the java class file into source file using jad. Is there any solution to restrict this conversion (java class file into source file).
280 byte By
jansoera at 2007-9-27 10:27:19
While creating the javadocs I encounter a small problem. Every where I used a String, I get a java.lang.String instead of a String ( I know it is a java.lang.String but I don't want to see it), can anyone tell me which option I have to add to remove the unnecessary code.
Hi, all,I methodically added comments to all of my Java files and then ran them through JavaDoc, but the output HTML files do not contain any of my comments. Does anyone know why this might be occuring? Thanks in advance for any help anyone can provide.Here is an example of one of my comments ...
Hi All, I have started looking into a system which has no documentation comments and uses JavaBeans and JSPs. There is no written documentation explaining about these classes, JSPs. Now, I tried doing this by taking .java files of classes and from cache / _jsp folder on the server folders I ...
622 byte By
baljeja at 2007-9-27 10:33:22
Hi,I have a problem compiling files that uses the 'package'-statement:I have 2 files ClassA.java and ClassB.java. ClassA uses objects of type ClassB. When I compile ClassA.java the compiler also automatically compiles ClassB.java. No problem so far.But when I add "package mypackage" to ...
Redhat v7.3Installed J2SKD1.4.0_01 from RPM'sI can compile the 'basic' programs that do not use the 'import' variables.Upon attempting to compile anything (Swing/AWT) etc. from anything other than from my local dir I get an error.src.java:lin_no:error:Cannot find class "ClassName" [JLS ...
I want to document all of the packages in my company's project. I saw in the javadoc tutorial that it is possible to specify each package explicitly. The problem with this is that developers are periodically creating new packages. Is there any way I can specify all the packages below a certain ...
Hi,I'm working with Together ControlCenter 6 and JDK 1.3.1 and I want to create JavaDoc for my sources. In Forte For Java there is this "AutoComment tool" which checks the existing comments and gives a window to easily type in the JavaDoc for the classes.Does anybody know if something similar ...
Hi,What I am going to ask isn't a feature of standard Java so pls pay a little attention.Declaring char arrays is painful in Java and extremely easy in C/C++, e.g.In Java:char name[] = {'F','a','i','s','a','l'};In C/C++:char name[] = "Faisal";What I want to do is to do the same in ...
224 byte By
i022098a at 2007-9-27 10:49:30
Hii am looking for a tool that can be use for editing the javadoc in the .java files. it should edit constructors, methods and fields.if you know such tool please send me a link.Regardsy.l.
Hello,I'm an absolute beginner. I work in the Windows 2000 Professional environment. I downloaded J2SDK1.4.0_01 but I cannot run HelloWorldApp. After typing javac HelloWorldApp.javain the command line I only get another prompt (after delay of some secs).I downloaded and installed the program ...
Hi I created a class called HTMLPageReader in file HTMLPageReader.javaand a class called Browser that uses this class with the command: import HTMLPageReader;at the top of the Browser.java file.Everytime I compile I get this error:Browser.java:12 '.' expectedimport HTMLPageREader;1 errorwith ...
Hello All,I read all of the current posts on this subject and am wondering what the best way to implement this is. I remember reading that this should be easier with 1.4 ... but I haven't seen details about how to implement this in 1.4. The information from this forum suggests that you should ...
929 byte By
ababieca at 2007-9-27 11:10:19
Ever since I upgraded my win2k 256MB machine from 1.2.2 to 1.3.1_03, I've noticed a lag every time I compile and run my java programs. It's almost as if the lag is introduced when java or javac starts and I can't really tell if performance is any better or worse after that. To test this out, ...
454 byte By
peacheya at 2007-9-27 11:11:05
I'm trying to run JDK 1.1.8 on Windows 2000, but every time I try to run javac.exe I get an Application Error that states the following:The instruction at "0x10000c507" referenced memory at "0x00000000". The memory could not be "read".JDK 1.3.1 is installed on my machine as well, but I can't ...
3990 byte By
ksalmona at 2007-9-27 11:16:48
I'm been trying out the recent JDK1.4.1 beta in order to use Javadoc with the fixes to the regressions in @inheritDoc. But there are still some problems...Here's part of the official description for "Algorithm for Inheriting Method Descriptions":1. Look in each directly implemented (or ...
200 byte By
Zennena at 2007-9-27 11:19:18
Hi,I'd like to use a compiler directive like C or V basic.I don't know if there's in java. If there is, can you give mean example how to use it.Thanks in advance,
My Javadoc wishlist:For fields and short get/set methods, prologue comments are cumbersome and ugly. I wish I could use inline comments instead. Unfortunately, the latter are not supported by Javadoc. Any plans to support them?E.g., instead of /** Path-list su for iteration retrace */ int kPLSI ...
My Javadoc wishlist:Many of my methods use class fields as hidden parameters. The use of these parameters is, as I understand it, one of the advantages of using a class -- one can treat the class as a "common area" and thus avoid the overhead of redundant parameter passing.I'd like to be able ...
I have source files encoded as UTF8 which compile and run fine, however JavaDoc is not happy about it. I've used:javadoc -encoding "UTF8" -charset "UTF8" -docencoding "UTF8" myPackageWhat's the correct way?
352 byte By
pohgka at 2007-9-27 11:41:14
I'm new to Java and trying to learn Java. I was overwhelmed by the information provided in Java.sun.com when I first visited the website. After searching and reading the website for the last few days. I still have problem understanding the different between J2SE v1.4.0_01 and Java Plug-in? Is ...
998 byte By
acassa at 2007-9-27 11:47:27
I am having a problem using the com.sun.tools.javadoc.Main.execute(String [] args) invocation using 1.4.0.01 on redhat linux. I can run javadoc from the command line with the following command-line options:javadoc -sourcepath <src path> -docletpath <docletpath> -doclet ...
I haven't got javac on my system even though I installed the software recommended on the "your first cup of java" page.
123 byte By
sbahala at 2007-9-27 11:47:59
I am not getting the package list in JavaDoc. Any special switch I need to use to turn it on.TIASanjay
Hello,I've got a problem when I try to compile a Java-source in a shell-script.I use the bash under Suse Linux 7.3 and Java SDK 1.3 from Sun.When I write /usr/lib/jdk1.3/bin/javac Hello.javaon the command line, everything is fine.When I create a script 'compile.sh' with one line # Script ...
296 byte By
khensona at 2007-9-27 12:15:12
When I execute my JAR file i receive the following error: Exception in thread "main" java.lang.NoClassDefFoundError: DivelogHowever when I use javac -classpath filename.java and java -classpath filename everything works fine:Why is this happening?Thanks.
oke,I want to learn java, so I got a book from wich i can learn java.The first assignment in the book was to create a simple program.So I follow the instructions...I typ over the text, and save the file as HelloDan.java(I know the text is right spelled, I checked on the books site)than I go to ...
204 byte By
ymidta at 2007-9-27 12:27:02
I can see how to exclude packages, but not individual files (I'm using Ant). Is there a way? I tried deleting those classfiles before javadoc, but it seems to find them in my jar...-- David
Hello everybody!Does anyone of you know, how to compile a java file to a single windows executable (*.exe)? Is that possible?What programes do I need, and what is needed on the computer on which to run the *.exe ?CUNetzmeister2k
Hi Guys,Here's a question. I have to generate an API for abt. 3 tables as of now but gonna xtend more in future. I have never done this work before. Did a small research and found that we cud do using Javadoc. Can anyone help me out more in detail.Appreciate all your help highly in this.Many ...
You know how using StringBuffer instead of concatentating strings is given as a tip in every optimization manual? I was just wondering if anyone know if the compiler now does this for us, or plans to. It seems to make sense to me, since string concatentation is so common. If it is not in the ...
186 byte By
guurka at 2007-9-27 13:04:15
I would like to compile and run java source at runtime. Similar to placing a script interpreter into a C++ project.I'm sure this is easy. I just don't know where to look.
Could anybody E-mail me the file "javac.exe". If you could that would be a real help as I haven't yet obtained it. E-mail it to me by visiting my site at www.toml.8m.com and clicking on the E-Mail link at the bottom of the page please.Thanks.
916 byte By
shWu80a at 2007-9-27 13:04:49
Hi there,I've done a networked program using JDK 1.3.1 and it worksproperly. However, that was when it's running under DOSmode manually. (C:\jdk1.3.1\bin\java "something") And I'mtrying to compile my program to a stand alone executable(.exe) file that can be run in any machine (same ...
I am geting this error when I enter the "java" command: "Error: could not open `C:\Program Files\Java\j2re1.4.0_01\lib\i386\jvm.cfg'"I have configured the PATH variable (Windows 2000) and "javac" works. I cannot, however, get my programs to run because of the error every time I type "java". ...
hi, how to communicate socketclient in vb and socket server in java usingwinsock component.please help me . thankukavithakavithag@junglemate.com
494 byte By
stsun at 2007-9-27 13:42:25
Hi, all,I have some package in my project, with which I have a java help jar file as classpath, when I run my project, I need the jh.jar file in directory /jar/jh.jar. Now, I bundled all my class packages into a jar file, my.jar, together with the /jar directory. When i run my jar file with ...
Hi I am using JDK 1.4 to compile my source code which is compatable with JDK 1.3.1. The source code was compiling fine . But when i use the JDK 1.4 i am getting the following comilation error in the following code snippet.*****************************************//// Automatically-generated ...
202 byte By
j2ee8s8 at 2007-9-27 13:47:33
when i have c:\samples\provid.class in WIN2000c;\>java samples.provid Exception in thread "main" java.lang.NoClassDefFoundError: samples/providHow can I resole it?
236 byte By
rlcannon at 2007-9-27 13:51:06
I'm working with code that I didn't write myself, but which already has Javadoc-style comments. When I generate the javadoc the leading asterisks are not removed. Is this a problem with the way that lines are terminated?
I had it working previously, but now whenever I run javac, it will just sit there, and lock up my command window. I've tried waiting, and it doesn't do a thing. I've tried uninstalling the SDK, then reinstalling, but that doesn't seem to work. I've tried running just "javac", without ...
1037 byte By
vince_49 at 2007-9-27 14:01:38
I try to launch the javadoc tool from my application with the execute method :public static int execute(java.lang.String programName, java.io.PrintWriter errWriter, java.io.PrintWriter warnWriter, java.io.PrintWriter noticeWriter, java.lang.String defaultDocletClassName, java.lang.String[] ...
732 byte By
java_NY at 2007-9-27 14:04:20
Hi I am using JDK 1.4 to compile my source code which is compatable with JDK 1.3.1. The source code was compiling fine . But when i use the JDK 1.4 i am getting the following comilation error.After initializing ORB when I am using "connect" method. When I try to compile this It ...
68 byte By
lkevin1 at 2007-9-27 14:09:31
Non't found JDK for Free BSD ..Please help ...
427 byte By
plnr at 2007-9-27 14:12:27
i want to send a form to particular person ,where that particular person have selected in the form,if the particular person has logged-in in the Window NT4.0, then he should receive the message like, u hava a msg from so and so person etc.that message may have to send by ms dos command : net ...
235 byte By
rigollei at 2007-9-27 14:15:44
Hello,I have generated my javadoc, I would like to document the overview about the packages as http://java.sun.com/j2se/1.4/docs/api/overview-summary.htmlHow I put the text?thanks in advanceisa
The Javadoc Tool Reference Page, describing the -useoption, says:"Given class C, things that use class C would include subclasses of C, fields declared as C, methods that return C, and methods and constructors with parameters of type C."I remember this statement being true once upon a ...
I have only class files. Is it possible to generate the java API using the javadoc.If yes, pls tell me how can i do?
566 byte By
VonnX at 2007-9-27 14:54:50
Hi I am having problems with setting up my path variable. It seems when I type in "set" the variable for PATH seems to be referencing the correct location (C:\jdk1.1.8\bin),but I am still having problems when I try to compile a simple program. I want to know how I specify the PATH variable so ...
Subject: An overriding anomaly In the example below,1. m2 and m3 declared in C do not override m2 and m3 declared in A? Why not?2. The private modifier of method m3 declared in C does not cause a compiler error. Why not?3. The return type int of method m2 declared C does not cause a compiler ...