New javadoc extension!!!

628 byte By thomas.behr at 2007-9-27 15:10:06
Hi folks.yDoc 1.0 has been released."What's that", you ask? Well, it's a javadoc extension bundle that let's you:- exclude classes, fields, and methods only by adding a exclusion tag (y.exclude), but allows for sophisticated custom filter criteria also- define custom tags via an XML based ...

Reference to Topic: Doccheck and jdk1.4

3027 byte By FolkertM at 2007-9-27 15:13:45
Hi,I read the topic Topic: Doccheck and jdk1.4, but behind the same error occured with Doccheck for me.My problem is same, look this works well:-classpath \jbproject\TAME\classes-sourcepath \jbproject\TAME\src jp.gr.java_conf.tame.swing.examples.dcBut when i try this:-classpath ...

How To make Java faster?

553 byte By jyahmed at 2007-9-27 15:16:21
I built a program in Java with a database in MS ACCESS.So, I need to use SQL to get the results of my queris from the tables ina MS ACCESS file.But I recognize that the program is very slow especially when there is a loop that exexute a method with a query statment and each time the loop runs, ...

J2SE 1.4 cannot import from JAR files

922 byte By Quantamm at 2007-9-27 15:19:20
Windows 2000J2SE 1.4.0Textpad (IDE)Everytime I attempt to use a package from a JAR file, I get a "package _name_ does not exist" during compilation. If I un-jar the package, then the compilation runs normally.I am putting the JAR files in c:\program files\j2sdk1.4.0\lib and my classpath is set ...

Changing Virtual Machines

148 byte By tochi760918 at 2007-9-27 15:22:54
If one has 2 or more Java Runtime environments on his machine, how can he specify the particular JRE that a specific program will use?

How to get compiler message and standard output message programmitically?

1348 byte By goodmorningsky at 2007-9-27 15:26:14
Hi, Everyone.Thank you for paying attention.This is for my graduate thesis, Please help me I'll appreciate^^;;I want to kind of make java editor written in java, which can compile, show compile error message if necessary and run java program.Question 1.If you see the Java Forte, it compile a ...

javac problems

162 byte By finalf34 at 2007-9-27 15:37:59
i get 33 errors, all the errors say cannot resolve symbol. Here is what i put in. "javac frame1.java" and i am in the current path of the file too.

Newbie Stuck on Compiling - Please Assist

744 byte By noskov at 2007-9-27 15:39:10
Hi there. I appreciate any technological assistance to help me get back on track.I'm a newbie individually learning java on my own using the 'New to Java' tutorials on this site. All of the examples were working until I changed something, but I cannot figure out what the 'something' is. ...

List of classes needed for compile

329 byte By admiralspb at 2007-9-27 15:44:42
Hi,How do I get a list of all classes, that are needed for the compilation of some "HelloWorld.java" source?I want to get quintessential list of classes used for the compilation of this source, even if it includes java.lang.System and java.lang.String.How can I get this?Thnx in advance. ...

MIF Doclet 1.2 Beta 2 is now available

1411 byte By dkramer at 2007-9-27 15:54:59
The 1.2 Beta 2 version of the MIF Doclet was released to the public today. It's been a bit over a year since the previous public release.Here are the top 10 reasons to switch (these are the new features): 1) Works with version 1.4.x of Java 2 SDK 2) Generates a Constant Values page for static ...

customize javadoc resource bundle

767 byte By md1 at 2007-9-27 16:04:20
I am using JDK 1.4 and I want to customize some of the strings in the Standard doclet's resource bundle. I tried modifying a local copy of the standard.properties file and placing it in the classpath but it does not pick up the modified strings. Is there some technical reason why this wont ...

Java 2 Standard Edition and no Javac

361 byte By BillyBobZ at 2007-9-27 16:06:05
I'm new to java, so I just grabbed the latest development kit, 1.4, and installed it. It was going through the tutorial when I discovered I was missing a pretty imporant peice, the compiler. I tried reinstalling, as well as installing 1.4.1, and I still was missing the compiler. Has anyone ...

Cannot resolve symbol

631 byte By Phil_B1 at 2007-9-27 16:08:26
Hi,I am using Forte for java (community edition v3) and I'm trying to get a servlet to run which accesses another set of code for running Prolog.The servlet uses a package called amzi.ls - which is ok on its own, but when the two classes contained in are called I get the "cannot resolve ...

Java 1.4 compilation error

545 byte By seanmissin at 2007-9-27 16:16:29
I have installed java 1.4 on a pc running win 98, I have compiled a simple java hello applet. when viewed in IE 5 and 6 the applet fails to display yet displays in Netscape and Opera. A collegues machine was set up with Java 1.4. This compiled a similar applet which resulted in the same error. ...

Unable to create DiveLog.class

283 byte By jtchang1 at 2007-9-27 16:23:19
I have followed the beginning tutorial for DiveLog application. everything compiled fine and all my classes were created except for the DiveLog.class. I have DiveLog.java but not class. All six other java files compiled sucessfully. Does anyone have any idea why. Thanks ahead

compile problem on Linux, please help

1113 byte By damovand at 2007-9-27 16:30:29
I have an application that compiles fine on NT but not on Linux RH 7.2.The application is made up of several packages residing in different directories as shown:/home/myHome/work/appname/lib/src/com/?br>/home/myHome/work/appname/lib/src/servers/?br>Packages under src/com can cross reference ...

Set version and author for each class of a package

505 byte By gscokart at 2007-9-27 16:41:30
I have a package with a set of class, and I would like to define the version when I build my package.Is there an easy solution to include the same version identification in all generated html files.Up to now, the only solition that I have is to make a global replace of the @version tag in all ...

Javadoc --giving link to other classes

238 byte By umarhathab at 2007-9-27 16:46:47
Hi.I am trying to generate javadoc for my application..But When I see the docs.It doesnt have the links for String and other used classes.What should I do to give the linksThanks in advance,A.Umar

How to compile a directory

497 byte By guyw77 at 2007-9-27 16:49:38
Hello,I use windows (98, 2000, XP).I have directory c:\project and inside the directories:c:\project\src -the source filesc:\project\classes - for the class filesc:\project\icons - gifs I use in my programI wrote applet, and I want to compile it with JDK. I have many files in c:\project\src ...

Problem compiling a program

9289 byte By saisoft3 at 2007-9-27 16:57:09
I have a problem compiling this program:here is the code, below the code u will see the errors, thanks for the helpimport javax.swing.*;import java.awt.event.*;import java.awt.*;public class BasicCalc {//Start of Class// Variables for objectsprivate JFrame frame;private JButton zero;private ...

Security Violation when using -link to sun APIs

745 byte By FRandallFarmer at 2007-9-27 17:10:35
I'm interested in a work around for this irritating (but non-critical) bug:When I create application docs that -link to the sun APIs, moving from my Javadoc pages to the sun API pages causes a browser security violation: Line: 13Error: Access is denied.The offending function is:function ...

Compile to *.exe

148 byte By Christophs at 2007-9-27 17:20:46
How can I compile a Java Application to a Platform dependent .EXE File?I know this might seem to make no sense ... - BUT I WANT TO!!!!

error, javac "can't read"

689 byte By bert201 at 2007-9-27 17:26:57
I'm a new to this and created a simple applet just to try this thing out.I created it in notepad, looks like this:import java.awt.Graphics;public class FirstApplet extends java.applet.Applet{public void paint(Graphics g){g.drawLine(0, 0, 200, 200);}}I saved it as "FirstApplet.java" and ...

UTF-8 source files

68 byte By kopanda at 2007-9-27 17:39:05
Is it possible to compile java files encoded in utf-8 format?

Javadoc SDK 1.4.1 packag java

319 byte By mortelo at 2007-9-27 17:42:28
Hi!Does somebody have the same problem like me? I tried to make my own SDK-API, but i got a huge nummbers of errors in the java package. After javadoc loaded the source file of java.util.zip, it shows me that it founds 20 errors and 201 warnings and then it ...

Missing Plus sign

678 byte By Bill_Martin at 2007-9-27 17:48:12
Hi,I have some javadocs comments and in the method description, it says something like " blah blah System Year + 30 blah" but after compiling the docs and viewing them it comes out as " blah blah System Year 30 blah".If I view the generated html file in notepad, the + symbol is there, but it is ...

Compiling with Windows XP

404 byte By lenchkin at 2007-9-27 17:50:36
I've just installed J2SE 1.4.0 and am having problems with the classpath. I've tried setting it as explained in the Help section on the java.sun site, however I still get the error message:'javac' is not recognised as an internal or external command, operational program or batch fileHow ...

Assertions, Compiling With JDeveloper9i

666 byte By uit at 2007-9-27 17:55:34
Does JDeveloper9i (902)/ojc have a problem compiling code with assertions? Compiling: public class Main4 { public static void main(String[] argv) throws Exception { assert false:"ERROR: Assertion failed"; } } Is fine. Compiling: public class Main4 { public static void main(String[] argv) throws ...

Compiling Java code with Japanese characters

157 byte By dushyanthi at 2007-9-27 18:03:38
I have a Java code with some Japanese characters. My compiler doesn't recognise these characters and gives me error messages. Please help me.

Encoding Problems

527 byte By Doener at 2007-9-27 18:16:12
Hi,I have encoding problems with mifdoclet 1.2.My javadoc-comments are in german language,so I need more than ASCII, e.g. ISO-8859-1or UTF8. So I started by adding the properties -locale de_DE -encoding 8859-1But when I open the generated mif-files withAdobe FrameMaker 6 I get the following ...

Javadoc for JSP

121 byte By naca at 2007-9-27 18:28:46
Can you use the Javadoc tool to document JSP's. If not does anyone know what tool to use.ThanksNaca

Javadoc v1.4 with JDK 1.3

118 byte By naca at 2007-9-27 18:28:54
Is there any problems with using Javadoc 1.4 with JDK 1.3.Any input appreciated.Thanksnaca

Are there java compilers who create bytecode "optimized for a specific OS?

900 byte By d022195 at 2007-9-27 18:32:20
Hello compiler experts,In my project some people want to recompile ourserver (EJB!) classes on each server platform. In fact we do not haveany platfrom specific source code. However those people claim that some java compilers do platform specific optimizations (performance ?) during ...

Run javadoc from Java

222 byte By boruvek at 2007-9-27 18:38:44
Hi,I would like to run javadoc tool from my java code..What is the best solution? I don't want to do it like this "Runtime.getRuntime().exec(javadoc...)..."Is there any elegant solution?

runtime error after successfull compilation

2049 byte By Dizzutch at 2007-9-27 18:43:18
Hi,I'm trying to compile programs (small stuff for a class) and it all compiles correctly:[localhost:~/csci101/hw2] jslootbe% javac -verbose -classpath /Library/Java twowords.java[parsing started twowords.java][parsing completed 555ms][loading ...

Some {@link} tags do not seem to generate hyperlinks

3157 byte By rgilbert at 2007-9-27 18:43:21
Hi,I am having some trouble getting some {@link} tags to generate hyperlinks. Specifically, {@link} tags to methods in classes in other packages. I've tried specifying the method arguments, including the fully qualified argument types, but I cannot get the output to generate hyperlinks.In the ...

HELP

368 byte By zombiedude at 2007-9-27 18:43:55
i cant play any java applet games things... yeawhen i try to play a game applet thing, it doesnt show. all that i see in the box is a small rectangle on the top left corner.i dont know whats wrong. this started when i downloaded Java Runtime 2 Envirenment(or something like that).can someone ...

Javadoc HTML document to contain external package information

437 byte By yin4java at 2007-9-27 18:47:40
Hi there:I would like to know how to issue the proper command line to generate a javadoc html document containing external packages. I found the the -group option, can anyone provide some insights to this?I have one java source that use java.sql package, I like to be able to generated the html ...

Problem compiling the tutorial?!?

469 byte By Dazmo at 2007-9-27 18:49:57
Think of how I am feeling: I don't know how to program in Java, I do the tutorials, but they are bugged? Kind of funny =)I come up with these problems when running javac divelog.java from the divelog directory.divelog.java:84: cannot resolve symbolsymbol: class Statisticslocation: class ...

Package name ending with .java

463 byte By henla189 at 2007-9-27 18:49:59
Hi,I have some trouble with a package name ending with "fragments.java". When I use 'packagenames' javadoc complains when it reaches that package.I'm guessing javadoc thinks it's a source file and tries to parse it as such.I have found a workaround by using 'subpackages' instead of ...

-Error: could not open `C:\Program Files\Java\j2re1.4.0_02\lib\i386\jvm.cf

131 byte By nikkir at 2007-9-27 18:55:39
Using the classpath switch (as advised to an earlier topic message) doesn't work for me. Can you help?! Many thanksN

exception problem

817 byte By niallgc at 2007-9-27 18:55:57
I've written a small class to email information to a given address. I had this class implement Runnable as it will run in a multi user environment.I need to throw some exceptions if it fails to send the mail but the compiler won't let me throw these ..... the class declaration looks like ...

API docs - bad rendering - unnecessary scroll bars

1914 byte By DonLind at 2007-9-27 18:57:51
Platform is Windows 2000 and IE6. Fire up just about any javadocs stuff (e.g., the www.sun.com/j2se/1.4/docs/api ) No matter how wide I make the browser window, the horizontal scroll bar remains present, and text is always hidden under the scrollbar. For example, with the javadocs URL mentioned ...

Permission trouble

3871 byte By catorulz at 2007-9-27 19:06:17
I am accessing a web page with java apps in it on a local Win2k webserver. I can access the page just fine through my intranet but not through the internet. I get the following errors in the java console. I have set up my firewall to allow everything through to my webserver so I don't think ...

Simple question

207 byte By amaurydebou at 2007-9-27 19:06:23
Hi to everybody.Does someone know where I can find a documentation about javadoc functionnalities ? (javadoc command, syntax we have to use in our .java files ...)Thank's for any reply.

need help quickly plz

842 byte By mnmmm at 2007-9-27 19:06:59
hi allcan any one tell me how to make this link java.lang.Object active in my APIdocumentation, so the user can put my API docs in JDK docs and link tojava.lang.Object through it.Class Logjava.lang.Object< i nead to make it active link | +--net.fun.srawing.window also, the @author tage ...

I have "cannot resolve symbol", need help, a lot of "?" symbol on my head

5672 byte By kevinn1 at 2007-9-27 19:07:09
I've been writting a picture viewer program to view regular image file and dicom file, the dicom code that I use was from eviewbox (by serge derhy), you can get that code by accessing his site at http://eviewbox.sourceforge.net/. I try to put two files under the directory DicomDecoder into my ...

I have "cannot resolve symbol", need help, a lot of "?" symbol on my head

5672 byte By kevinn1 at 2007-9-27 19:07:10
I've been writting a picture viewer program to view regular image file and dicom file, the dicom code that I use was from eviewbox (by serge derhy), you can get that code by accessing his site at http://eviewbox.sourceforge.net/. I try to put two files under the directory DicomDecoder into my ...

How to reference an inner class with @link?

507 byte By d93mn at 2007-9-27 19:13:42
Hi,Let's assume we have a class Test with an inner class namned InnerTest. If I want to put a @link to a method in InnerTest in another java-file, what do I write?To reference a method in Test, I write:{@link com.company.Test#method}My first thought when referencing the inner class' method ...

Javadoc not working with javax.servlet.* ?

1138 byte By 727144750 at 2007-9-27 19:13:53
Hi everyone,I can't seem to get javadoc working with servlet stuff. I'm using jdk 1.4.0.javadoc -doclet com.sun.tools.doclets.doccheck.DocCheck -docletpath E:\doccheck1.2b1\lib\doccheck.jar -d "E:\Conrad\sb\W2K conversion\OE17 (MOWI)\Documentation\Output" -classlist -sourcepath "E:\OneStop4 ...