I need to write, compile and test Java applets and applications for a Java class I'm taking. I use a Mac, and when I went to download the 1.3 SDK there were only dl's for Windows and Linux.However, most of the screenshots in my textbook are taken from a Mac, so I know it can be done w/o the ...
114 byte By
529661 at 2007-9-26 5:22:13
Hi, I was wondering if there Sun have any plans to introduce a tool for generating javadoc for JSPs?
Hi,We are implementing an SNMPv2c agent using JDMK (Java Dynamic Management Kit).We need help on what Java package to use for retrieving information such as those for interface, tcp, ip group.thanks,S Gopikrishna
261 byte By
529661 at 2007-9-26 5:29:50
Hi, I was wondering if it is necessary for a package.html and doc-file directory for a given package to be in the that package or can it be specified that package.html etc for the given package resides elsewhere (ie,not on the source tree)? Thanks
Well, Ive created a batch file for compiling the .java files from the tutorial. But in one way or another the compiler can t find the j2ee.jar package. Though all paths were set correctly. Here s my batch file. Who can help me out!!!echo The JAVA environment is about to be set...set ...
was not sure how to reference this issue in a title. anyways, i am running a command like thisjavadoc -link http://java.sun.com/j2se/1.4/docs/api/ -sourcepath /home/dir/com/hostname/ com.hostname.A com.hostname.Beverything works great. All core API package classes have links and they work. But ...
418 byte By
DOON at 2007-9-26 5:49:40
I have been trying to take my 1st baby step for 8 monthsMy little test programs don't compile.e.g. "C:\J21work>javac Ellsworth.java" produces"Bad Command or File Name"currently AUTOEXEC,BAT has these addenda:"PATH C:\jdk1.3\bin; %PATH%@SET CLASSPATH=;C:\jjdk1.3\lib\tools.jar; ...
A v simple Q I guess, but can someone tell me why when I do a javadoc I get it looking like this, with a fully qualified class name, and how can I get just eg 'String' output? Unit(java.lang.String dummyNodeName) This is the sort of think I would like to get (taken from Textfield): ...
Hi!I need to generate Javadoc for some (not all) of the classes in one of the packages. So I specified the class names in the batch file (thanks again, Doug!) instead of specifying the package name. Now only the classes in the package have HTMLs, but the package is missing from ...
Hi everyone,I hava a very simple program that compiles but will not execute. The message I receive is as followsjava.lang.SecurityException Prohibited package name:java.lancsI am using jdk1.3.Jdk 1.2 never gave me this problem.Any help would be appreciated.Thanks Al ...
475 byte By
deon at 2007-9-26 6:08:55
Hi Docs,I want to use the MIF doclet to generate PDF files. My problem is that I only have the FrameMaker+SGML version from Adobe. This is version 5.5.2.When I run my examples that comes with the MIF doclet I get the error message: "FrameMaker: Invalid command line option: /progid:dzbatch"Does ...
I got some java files which contains "class$". When I used javac to compile it, it said "class$ is reserved for internal use". Anyone tell me how to compile these files?Thanks a lot!Ben.
214 byte By
skode at 2007-9-26 6:15:51
import corejava.*; ^is the error i loaded java1.2 software in my system, in Java Direcrory. what to do. some one help me with this problem.Thank you in Advance.Skode
372 byte By
wookiee at 2007-9-26 6:23:41
I have a build process that allows me to run builds on subcomponents, however, I build subcomponent A and javadoc it, then build subcomponent B and javadoc it, the index.html is overwritten instead of appended to, and only the subcomponent B javadoc is linked.I would like all the links to ...
587 byte By
regi30 at 2007-9-26 6:27:42
Hi,Could someone please tell me in the plainest english known to man, why when I run the Hello World program from the dos prompt, I get a error :can't read :Hello.java1 errorWhat I've done is typed the exact code into Microsoft Word, saved it under the bin file in my general JDK directory as ...
1024 byte By
dkramer at 2007-9-26 6:28:21
Javadoc 1.4 Beta 2 has been available for a few weeks as part of the Java 2 SDK, Standard Edition, v 1.4.0 Beta 2: http://java.sun.com/j2se/1.4/It has many new features, including (1) the -subpackages option to recursively traverse all subpackages by passing in a single package root, (2) -tag ...
799 byte By
pr1981 at 2007-9-26 6:28:36
Can anyone help me?I have a Windows NT 4.0 machine running JDK 1.2.2 and I have my class path & path set as follows:-set path=c:\jdk1.2.2\bin;%PATH%set classpath=.;C:\pat\ClassesOnce setting these paths (via a Batch file, not Autoexec.bat though), I can run java files that I have ...
387 byte By
SuciuF at 2007-9-26 6:30:20
Hi!1.How can I specify in javadoc that I want a different footer for every package or for every classes?2.how can I told to javadoc that I have external library used in my project (for providing javadoc comments for for these libraries )? I used an ant build file for generating javadoc API ...
136 byte By
chamilap at 2007-9-26 6:31:00
Hi all,Please somebody tell me how to compile a class without the option of decompiling it with a decompiler
191 byte By
myparu at 2007-9-26 6:33:21
When I use javadoc command with -link option, I get "Error fetching url : ..."We use a proxy server, how do I pass the proxy information to the javadoc tool?murali
i'm new to javadoc, and i'm having a huge problem getting it configured. i've spent 2 hours going through javadoc FAQ's, and i can get it to work for one class, but not for my package. could someone please shed some light on this one? i think it's reletively simple, but i'm stressing out ...
Hi,Does Any Body know about a tool that creates JAVADoc [Thired Party tool]
278 byte By
gs03ann at 2007-9-26 6:42:12
There are some tags that our team has decided not to include in our javadocs, but DocCheck will create an error report, stating that these tags are missing. Is there a way to tell (customize) DocCheck to not report errors on a certain tag?Thanks,Alex
132 byte By
noyce1 at 2007-9-26 6:44:25
The program compiles OK. When I run it, I get the error "Exception in thread "main" java.lang.NoSuchMethodError: main"
803 byte By
7knm7 at 2007-9-26 6:50:06
I am attempting to use Javadoc on a Unix machine. I always get this error:java.lang.NoClassDefFoundError: java/util/ArrayListat sun.tools.java.ClassDefinition.<init>(Compiled Code)at sun.tools.javac.SourceClass.<init>(Compiled Code)at ...
444 byte By
captinli at 2007-9-26 6:50:10
Anybody can provide the best Java platform specification?I am thinking an IBM compatible PC which can compile big java file in the very fast speed. This compile platform must be able to save much time of programming. But what kind of CPU, RAM, OS can make this ture? If you are experienced this, ...
565 byte By
rda2 at 2007-9-26 6:52:35
I have 2 questions.:)1.Is it possible to compile jsp files?2.if i am compiling a java class in which should created a database connection i always get the following error:"test/Lieferschein.java [22:1] cannot resolve symbolsymbol : class OracleDriver location: package driver ...
349 byte By
billchan at 2007-9-26 6:54:10
I am using J2ME_CLDC in Linux (RH) machineAfter i have compiled the .java file into .class fileI also want to create the .prc file for palm from .class file.And i meet the error :Error preverifying class Prog2_1Class loading error: Bad major version numberCan anyone help me ?Thank you. ...
1813 byte By
Angell3 at 2007-9-26 7:05:34
this is my error C:\My Documents\Math.java:6: '{' expected.public class Math.java {^1 errorTool completed with exit code 1 this is my code:// Assignment1 Angel Amitrano// J1 ASSN 1import javax.swing.JOptionPane; //import class JOptionPanepublic class Math.java {public static void main ( ...
I'm currently using javadoc 1.3 to generate some documentation. It runs fine, no errors or warnings.When I run Javadoc 1.4 Beta 2 using the same parameters and source files I get three warnings generated by three similar @see tags:warning - Tag @see: Class or Package not found: ...
709 byte By
dong33 at 2007-9-26 7:08:31
HiI use J2ee 1.2.1 & j2ee document 1.2.1 & Windows200I use java examples "examples\Converter"I can compile all class file and make new applicationand EJB But I can't deployment the Application when deploymentprocess.It use messagebox tell me below:There was a deployment ...
426 byte By
SuciuF at 2007-9-26 7:16:33
Hi!I had built the javadoc for a project, using "package.html" (was used a package template from Sun for creating a new package doc comment file). Those html files are placed at packages level.All javadoc is generated fine, except for package-sumarry for the main index page.This not contain the ...
349 byte By
noyce1 at 2007-9-26 7:28:11
Is there an interactive source debugger in Java like there is in Visual Basic? The VB one lets you step through your code a line at a time or set breaks, and lets you see the value of your variables. I am finding learning Java really difficult, in one pgm a piece of code is being skipped and an ...
Hi all,can anybody tell what this entry in a documentation will do when generating the doc-files@version %U%regrads and thanks
349 byte By
jovie at 2007-9-26 7:46:40
Hello ppl Im a newbie when it comes to javadoc stuff or to some extent documentation per se...i tried generating the javadoc for one of my class(i.e Main.java) but i want to know how can i combine second class (i.e Add.java to Main.java) so they'll be in one index page?Looking forward for ur ...
Hi!The documentation says that the -protected option "Shows only protected and public classes and members. This is the default."Is there a way to *not* show the protected methods and fields? I'd like to expose only the public ones.Thanks!Benzi
After I installed JDK 1.3, then set the path for JDK. I tried to run the sample java program and go this message "Exception in thread "main" java.lang.NoClassDefFoundError: Welcome"...I have reinstalled JDK a couple times and still couldn't run the sample programs. Any help or ...
Hi everyone I am having problems compiling my java applications, I had it working up until about a week ago when my computer crashed and I needed to reinstall everything.I am using jdk1.3.1 and j2sdk docs, I am trying to compile a program called quadsolver which is located on the a: drive.I am ...
Hi everyone can anyone tell me what this error means and how I can solve it.Exception in thread "main" java.lang.NoClassDefFoundError: msgsendPress any key to continue . . .I have compiled a program but when I ran the program the error occurs.If it helps my PATH variable is set to : ...
1095 byte By
koem at 2007-9-26 8:23:53
I've got some lines of code like this:public Connection getConnection() throws SQLException{if ((iv_connection == null) || (iv_connection.isClosed())) // !!!!!!!!{iv_connection = connect(iv_DBUser, iv_DBPasswort, iv_DBName);iv_connection.setAutoCommit(false);} return iv_connection;} The ...
How do you redirect the javac output to a file on a Windows computer? I have tried and always get a blank empty file. I dont want to use Forte or another IDE since it likes to mangle my code if I edited the code it originally created.
Hello,Yesterday I posted a question, how can I get my program to run.It was suggested that I set up my classpath to the exact directory that I have my .class files which I did. c:\javafiles\This worked. Before I figured it out I redid my path. Well after running the Saluton program I went back ...
218 byte By
dinco at 2007-9-26 8:31:58
Help. I am a novice who has just installed the JDK1.3 software. When I tried to use appletviewer or javac the DOS window opened then immediately shut before I could see what was going on. Any tips please?
353 byte By
itspike at 2007-9-26 8:38:53
ok, here goes...using JBuilder4 enterprise I have switched a project written using jdk1.3 to use jdk1.4. When I compile i get this warning on many many classes (although project still runs with flag -nomakestable) . I thought jdk1.4 was same as 1.3 with added extras like regex and prefs, so why ...
680 byte By
patw11 at 2007-9-26 8:39:56
I have just started a course in Java so am a complete beginner. Therefore I get stuck on some questions very often. The latest one is "Explain the purpose of an interpreter". I can not seem to find anything on the basic level to answer this - it all seems to complicated at the moment.I have ...
hello everybody,i am working with javadoc1.3 and i need to exclude some files from generating. does anybody know how to do this, without writing each path and file name i want to include.regards
299 byte By
agarvan at 2007-9-26 8:44:08
javadoc supports classes and methods that are public,protected or private. Any classes or methods that have default access are bypassed. The workaround is to make class and methods public that doesn't need to be public. Default package access make a lot of sense in a console program.
1344 byte By
samiusrd at 2007-9-26 8:44:50
I am trying to call a java class to another class but gets the error: "Undefined variable or class name"Both my java files are in the same directory and I am able to compile only one of the program. Wondering what am I missing?The source code is:ServletUtilities.java: (I am able to ...
I have just installed the Win32 SDK 1.3.1 on NT Workstation Service pack 5 and every thing I try and compile and run comes up with the runtime error $ java HelloWorldException in thread "main" java.lang.NoSuchMethodError: mainThe code is in the demo ...
1161 byte By
xolotl at 2007-9-26 8:56:34
I am trying to compile by calling sun.tools.javac.Maindirectly and I get weird errors which do not occur(for the same class) with the command-line javac.Specifically:sun.tools.java.CompilerError: check failedat sun.tools.javac.SourceMember.check(SourceMember.java:400)at ...