159 byte By
jpeknik at 2007-9-27 3:46:18
Hi, where can I find API docs for packages sun.tools.* and com.sun.tools.* ?I've searched java.sun.com website, founded nothink about it.
459 byte By
Mordan at 2007-9-27 3:48:41
I would like to see a tag for the complexity of a method. For example the String method "concat" is increasingly slower when strings get bigger.People should try to include the complexity of their method, that would help a lot.If anyone who works on implementing the Java API sees this message, ...
344 byte By
sloanb at 2007-9-27 3:52:12
I've been reading the Core Java 2 Volume 1 book and it mentioned the ability to compile code natively to the operating system. I am very interested in this to build a fast application to run in for say windowXP etc.. etc. Can anybody lead me in the right direction for JIT and what its about ...
435 byte By
vincnet1 at 2007-9-27 4:11:07
The error message is this:"hello$MenuPanel.java:8 class hello$MenuPanel is public, should be declared in a file named hello$MenuPanel.java"So, the class and the filename are the same, incl. upper/lower case. That would be the default solution to problems like this.The only problem I can come up ...
Today I downloaded jdk1.4 to start evaluating it, and I quickly found that the dockcheck utility does not work with jdk1.4. This is absolutley horrible as I use doccheck to check every single class anyone writes in our company. Are there any plans to make it work with jdk1.4?Here is the output ...
367 byte By
schofiel at 2007-9-27 4:29:20
I'm attempting to run an ANT build target from within Forte 3.0. The target is attempting to run Javadoc on my source tree, and always fails with Javadoc error = 2.Any ideas? I cannot locate an explicit error list to even find the meaning of the error code, so even a pointer to an error code ...
625 byte By
miztas at 2007-9-27 4:29:24
When im trying to compile my .java file I get the following errors:Browser.java:8: cannot resolve symbolsymbol : class awt location: class javaimport java.awt.*;^Browser.java:9: cannot resolve symbolsymbol : class awt location: class javaimport java.awt.event.*;^Browser.java:10: cannot resolve ...
843 byte By
dushy13 at 2007-9-27 4:33:52
Hi,I was trying to port my project to 1.4 from 1.2.2. When i tried to compile a class which has one non public top level class along with another public top level class, i got the following errorRLModelGroupHandler.java:30: class MyInteger is defined in RLContext.java. Because it is used ...
459 byte By
adaraa at 2007-9-27 4:47:07
I'm trying to change from v1.3 to v1.4, but I'm having difficulties compiling in 1.4. Whenever I try, I get the following error message:c:\Java>javac MyProgram.javaRegistry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion'has value '1.4' but '1.3' is required.Error: ...
Has anyone heard any estimate on when the source code for JavaDoc 1.4 will be available?
Helllo everybody,I'm searching for a (free) Java IDE running on LINUX Debian 2.2 distribution. My PC has only 96 MB RAM. If you know an IDE which can be used for private use only in such a configuration it would be nice if you give me a hint. ThanksWerner
My program depends upon library classes written by someone else. These are distributed in a zip file containing only the .java files. I want to include that zip file in my javac sourcepath so that the classes will be compiled into the same place as the class files from the code I have ...
275 byte By
J0329a at 2007-9-27 5:07:37
Having problems with a simple program HelloWorld, everytime I compile and then run the program and I don't see it working. I thought it probably woiuld be the classpath. I am using the Window xp. please give me simple instruction on the above.Johanna CHristian
I am not a JavaDoc expert, and I'm having a problem with the doc-files feature. I read that you can place a sub-directory named "doc-files" in your source code directory. The purpose of this sub-directory is to hold additional (supplemental) files for your JavaDoc comments in your source code ...
I found the API documentation, and try to use it.But where to download the com.sum.javadoc package ? ( source code ? )Thanks.
I have Redhat 7.2, I've installed jdk1.3.3_01. When I try to compile I get the error can't find libjava.so. My .bash_profile file reads as follows# .bash_profile# Get the aliases and functionsif [ -f ~/.bashrc ]; then. ~/.bashrcfi# User specific environment and startup ...
I've been messing with JavaDoc for hours, and I'm not getting far with it. When I look at the J2SDK API, there is lots documented in the JavaDoc. However, when I make my javadoc comments and generate my javadocs, there are things missing. Some stuff works, but not others. For example, I can ...
Hi,how can I compile a java application to a binary code (on Linux , Windows and Sun Solaris Operational Systems) ?Thank you, Marcos Martins.
543 byte By
MWAHEEDa at 2007-9-27 5:33:02
Hello, i'm new to java. i installed jdk 1.3, then created Hello.javaafter that i compiled it by doing javac c:\java\MyProgs\Hello.javait opened Hello.java as text. then i created html like <applet code = Helloheight = 200width = 200>This Page requires a java-capable ...
I am brand new to Java, the kit, and everything inside it. After downloading and installing the software, I thought I would try some of the examples first before attempting to write one of my own applets. For this reference I went to: c:\j2sdk1.4.0\demo\applets\blink and clicked on the ...
Is it possible to generate Javadoc style HTML from a JAR containing only .class files ? Obviously I won't get comments, but having the basic API reference to work from would be most useful.I realise I could run javap against each class in order to generate stub source code, then run javadoc ...
Hello,I think there is a bug in Javadoc concerning nested classes ClassDoc records extracted through the doclet API.In particular, ClassDoc records are correct if the container class is directly specified on the command line as a .java file or part of a package (i.e. the source is available), ...
I have just started reading about the XML DOM which I intend to use in some way.I am trying to run a java file (DomEcho01.java from the java sun site) and it won't compile for me.There seems to be problems with using the javax.xml.parsers package.Why is this? Is there something stupidly small ...
371 byte By
comicma at 2007-9-27 5:58:11
We recently upgraded to Java 1.4 from 1.3 and we cannot get our javadocs to come out correctly anymore. We keep receiving warnings that state duplicate class: for every class file. I have seen a few posts of other people having the same problem, but none of them had any resolutions. Is this a ...
my problem is that I am using jbuilder 4 professional to compile/run my code.However I want to use the XML DOM but jbuilder does not appear to support the necessary packages for use with XML.How can I get round this.Can I compile instead from the command line - I am using JDK1.4 which supports ...
I created 'class a' and try to import it to 'class b' using the statement "import a;".class a and b are in the same directory (say c:\mypro) under win98When I try to compile it using javac.exe it gives me an error like:b.java:1: '.' expectedimport a;^I tried setting the classpath (set ...
I just installed SDK 1.4 with Windows XP Prof.I set the PATH to: C:\j2sdk1.4.0\binI set the CLASSPATH to:C:\j2sdk1.4.0\jre\lib\rt.jar;C:\j2sdk1.4.0\lib\tools.jarWhen I compile a simple HelloWorld, the compiler works, but when I add a class in the same directory and try and compile it pukes. ...
I keep getting an interface expected error whilst trying to compile a class:LinkAnalyser.java:6: interface expected herepublic class LinkAnalyser implements Analyser {even though I've checked my classpath to include the right path.talk about infuriating.
I Lost my all java source file during system crash.But i have all class files.I want to get source files ie all .java files from that class.Is there any way to get my source from complied classs.Help me!!
Hello Java Experts. I'm trying to use the java.util.LinkedList services however MS Visual J++ states that this classis undefined. My program compiles on sun compiler and on JBuilder too, but not on Visual J++. What should i do to make it run on J++ too. Thank You for your help.Alon, Israel. ...
I get a compiler error trying to directly assign the value 2 to the 32nd power (4294967296) to a long as shown in "CASE 1". Note that I can indirectly assign this value to a long as shown in "CASE 2" below.CASE 1:public class Test{ public static void main (String[] args) {long testValue = ...
I'm using ObjectStore with my application. I just upgraded to 1.4 from 1.3 and am getting the following error Error: Unable to locate class java.lang.Objectwhen I execute the batch file osjcfp under ObjectStore.I set the classpath but still get this error. What am I missing? ...
532 byte By
aranna at 2007-9-27 6:24:37
If I have a javadoc something like the following:<code>/** Some special method with lots of rules defined in a list.* <ul>* <li>first rule in list* <li>second rule in list* <li> etc* <ul>*/</code>Is there a way to tell Javadoc that the first line only ...
447 byte By
MWAHEEDa at 2007-9-27 6:36:27
Hello, i'm creating Employee Browser Applet i have 4 importsimport java.applet.*;import java.awt.*;import java.awt.event.*;import java.sql.*;then in public class EmpBrowser i have TextField theStatus = TextFileld(64);JDBC02 theDB = new JDBC02(theStatus);and its giving me 2 errors about JDBC02, ...
I need program which can recognize JavaBean class properties and events and create documentation in the kind: each method with keyword "propertiy" or "event"
334 byte By
aym_7a at 2007-9-27 6:42:02
I have jdk1.3.1 and I need the XML packages, when I click on the download button for the packages, IE download window pops up, and I can't use getright since it's a button, so can anyone give me a direct link the packages file?The download is big (10MB) and my connection is slow so I have to ...
To the Experts of Java:I need your help. I have just downloaded JDK 1.3.1_03 and have installed it in [c:\JRE\1.3.1_03]. I have then deleted the downloaded files to save some disk space.After installing this, I added a path in the Autoexec.bat , the following displayes the whole path [SET ...
Hey I have relly the slighest idea of how to install Java Vm on to my linux machine, im tried to figure it out but to no avail, so please instuctions in stupid peoples terms would help :-)!
Hi there,Can anyone tell me how to inherit the javadoc comments from interfaces in the standard Java library please?I have an implementation of javax.naming.Context and wanted the comments from the original interface to appear in my javadoc.I added src.zip from the sdk to the -sourcepathAny ...
1st question:I am using JDK 1.3.1_03 on Win2K Server. When I have compiled the java applications, I try to use "java <application name>" to run the programme, but an error message "Error occurred during initialization of VMjava/lang/NoClassDefFoundError: java/lang/Object" come up on the ...
Javadoc 1.4.0 fails with the message "javadoc: No packages or classes specified" if there is only one java source file in the sourcepath. Even if I add more .java files, Javadoc continues to ignore the file whose name comes first alphabetically.I am running J2SDK 1.4.0 under ...
I'm seeing the strangest thing. When I try to compile with javac, I now get tons of debug output that looks like this:count = 0, total = 110count = 0, total = 37count = 0, total = 149count = 0, total = 73count = 0, total = 8count = 0, total = 213count = 0, total = 43Additionally, javac no ...
How to get rid of the command window onces the .bat file has been executed?Thanks
376 byte By
rom399a at 2007-9-27 7:27:18
When i try and run the appletviewer HelloWorldApplet. From the same directory i have the applet in i get "I/O exception while reading: J:\HelloWorld (The system cannot find the file specified)"drive j:\ is a mapped drive on my system, Can't see why that should be a problem..Running Win2000k ...
I just upgraded from 1.3.1 to 1.4. Running javadoc on my package worked fine with with 1.3.1 but I get "duplicate class" warnings with 1.4. I am sure that I have no duplicate classes. Each of my .java files contains a single top-level class except for 2 files, which contain multiple non-public ...
344 byte By
tolsama at 2007-9-27 7:33:50
Hello eveybodyI'm trying to compile a .java wich extends java.util.HashMap.The problem is that this class is not found, when i compile.So i'd like to add it in my jdk : How to do that ?Should i use a .jar file ?Note:my JDK is JDK1.1.8My mail: tols@libertysurf.frMany thanks tols, ...
286 byte By
jonsofa at 2007-9-27 7:37:50
I have set SET CLASSPATH=.;C:\progra~1\j2sdk1.4.0\lib\tools.jarto my autoexec.batWhen i am interpretering the class file i recieve the error belowException in thread "main" java.lang.NoClassDefFoundError: HelloWorldApp/classWhat is the problem?
Hi, in Sun java source code, use the "@(#)" to indecate the filename, why use this symbol?e.g. in java.lang.String /* * @(#)String.java1.150 01/12/03 * * Copyright 2002 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. ...
89 byte By
dattarda at 2007-9-27 7:39:15
Should I document (using javadoc tags) getters and setters of a JavaBean ?D
All of the tags work, except the @param tag. example:@param a String that specifies ...doc.bat:c:\jdk1.4\bin\javadoc -d html -sourcepath d:\ com.pipi -publicIt's just not there in the docs. The other tags, like @see and @return, work!I'm using javadoc 1.4Anybody for an ...