Can anyone help me with this? I just bought a new computer with Windows ME installed. However, I cannot get jdk 1.2.1 to work. The installation process runs smoothly, but whenever I try to run the compiler or open the class path, the following error messages ...
488 byte By
sincos at 2007-9-26 1:20:47
Hi everyone,I got into a problem with the compilation of the example given at http://developer.java.sun.com/developer/technicalArticles/wireless/midpgetstart/index.html 'FirstMIDlet.java'I have 'j2mewtk' but when trying to compile the example I get errors for the compiler can not see the ...
Hello All,I have generated a parser with javacc. It takes the input now from command line. This seems impractical to give huge java files to it through command line. I want to know how can we give it a file containing java code like we give through fstream etc.waiting for your reply.Best ...
1086 byte By
LeaH at 2007-9-26 1:24:00
Hi!We, two desperate students, tried to compile our sources which lies in the same directory. But there where two classes which we couldn't access (cannot resolve symbol error). Then we tried to set all classes in one package, but there where some miraculous ...
I just wanted to know if i have to, or if i can compile all java-files from a package, at the same time, or if i can compile first one file, and then the next. I ask, because till now i only tried java-applets with 1 .java-file...but now i am doing a bigger project, but i just don't get it to ...
Hello Friends,I have downloaded JTAPI which was a zip folder...in this I found all the java files ...there was no jar file ...& when I imported it in my java file...the compiler said 'cannot resolve symbol' ,class not found etc...please help me why it is happening....Ashish ...
HiIs there any special consideration for a Java Programto work under UNIX.My problem is as follows,I have a Java program say "JavaProg.java". I create its class file under Windows-NT i.e."JavaProg.class" after compiling the java code usingthe command "javac JavaProg.java".Everythings perfect ...
Hi, I am using JBuilder3, I think it is Educational version or something like that. Does anyone know if it is possible to run javadoc from within JBuilder? If so, how? Thanks a lot.
HiI have some problem executing class file under UNIX. I have a directory under UNIX,/home/user1wherein I have placed a class file say "JavaProg.class"I execute "java JavaProg" from the above directoryand it generates the desired output. Now, I have another directory,/home/user2wherein I again ...
Is there any utility which validate Java program for proper Javadoc tags ?I appreciate all kind of help .Thanks-- Yogesh
206 byte By
Viltris at 2007-9-26 2:02:49
Does anyone know where I can get a Native Code Compiler (to compile into EXEs) that is free, supports Java 2, and creates EXEs that do not require installation of the JDK or JRE?Thanks.
552 byte By
Maccabee at 2007-9-26 2:09:16
To anyone, 3 days ago, JAVAC.EXE stopped working. Now I get the following error message:==========================================C:\\jdk1.3.1\bin>javacCan't find bundle for base name com.sun.tools.javac.v8.resources.javac, locale en_UScom.sun.tools.javac.v8.resources.javac_en_USFatal ...
329 byte By
balajee2 at 2007-9-26 2:14:17
HiI have a java program which imports a package from a jar file . This jar file resides in the same directory as that of java file and i had set the classpath to jar file also .when i try to compile , it is giving me 'package not found' .Can anybody help me out of this .Balajee ...
635 byte By
dfanuk at 2007-9-26 2:19:01
HiI am writing a Java servlet in EditPlus and am wondering how to include the servlet.jar file so that EditPlus knows where the javax.servlet.*, etc classes are. I suppose this is an EditPlus specific question so sorry about that but I didn't know who else to ask other than EditPlus themselves ...
Hi,I sent the following mail to the Sun guys.I am thinking of using the {@link ... } tags as a workaround. Instead of the normal semantics of{@link package.class#member label}, I plan to use it as:{@link type_of_tag text_body_of_tag}e.g.,{@link code// Some example code can be put hereVector v = ...
2208 byte By
bacchia at 2007-9-26 2:36:49
the problem is:my source file:.the .class file:../src/comunicazioni/*.class.../src/events/*.class.../src/eccezioni/*.class.../src/interfacciaSIL/*.class.../src/main_applicativo/*.class when I do: javadoc -verbose -sourcepath ./src/ -d ./doc/ -classpath .:com:$CLASSPATH comunicazioni eccezioni ...
Hi Can somebody help me to use the DocCheck utility.I need to check that all the java files have the required javadoc tags and they are correct.I have downloaded the zip file and I have been giving the following commandsc:\javadoc -doclet com.sun.tools.doclets.doccheck.DocCheck -docletpath ...
When I generate my javadocs, then view in a browser, the title just says "Generated Documentation (untitled)." I need to put my company name and the name of the API here. I know I could change the <title> tag post-process, but I'd rather make a change that works automtically each time ...
821 byte By
jtk9 at 2007-9-26 2:42:24
Hi,I have a short project...basically, I have a HashMap with several words in it. I also have a input html file with some text in it.My project is that I have to make a new file...which has the same contents has the input file, BUT if any of the words from the Map shows up in the inputfile, I ...
79 byte By
billpark at 2007-9-26 2:44:19
Is it faster than javac?Or it can make better code?
I installed JDK 1.4 into my system and set the paths and everything was fine, but there's just one problem. When I am in MS-DOS Prompt and wanted a listings of my present working directory, it only shows me xxx.jav without the 'a'. The file suppose to be xxx.java but it only shows xxx.jav ...
I'm having trouble using javadoc with my packages. At the command line, in the directory of the files in my package, I run the command 'javadoc searcher' where searcher is the name of my package. I get the error "No package, class, or source file found named searcher". Now, I'm not too ...
1730 byte By
mdoar at 2007-9-26 2:59:24
(Also sent to javadoc-tool@sun.com)When dealing with multiple releases, it is often very useful to be able to document exactly what has changed in the public API between different releases. A useful tool to do this could be built using the existing Javadoc doclet architecture.I envision ...
1557 byte By
3libras at 2007-9-26 3:09:43
HiI was trying to build an app using JBuilder personal. It would build and run fine. Then i realised that i could not use the api from jdk1.4 as JBuilder would only work with jdk1.3.So, i moved the project from JBuilder to Forte thinking that Forte would allow me to use the jdk1.4 api. After ...
340 byte By
TimI at 2007-9-26 3:16:58
How can I generate a JDK 1.0 style header file with v1.2.2 javah?The -old flag does'nt work even thought it is displayed in the javah help args. Is there another version of javah out there with support for -old JDK 1.0 style header files?Rumor has it that v1.2 javah supports this feature but ...
490 byte By
3libras at 2007-9-26 3:18:48
Hi , sorry if these question has been asked before. I've been looking but havent found a link that answers my questions.Can i make my java app link and load 3rd party Win32 dlls & libs? I do not have access to their source code, so i cannot 'java'fy them in any way. I'd like to have the ...
Hi thereDoes anyone know if it is possible to configure Netbeans to use MifDoclet instead of the standard Doclet? I would like to be able to generate PDF output directly from Netbeans on some occasions.any help is appreciated.thanksRosemary O'Connor
Hi, I have a folder named package. Inside package, there are many folders which are created dynamically. How can I create javadocs for the java files in these folders with just one javadoc command? Currently, I am using c:\package>javadoc *.* (This works only if the java files are in the ...
881 byte By
posuna at 2007-9-26 3:21:48
Hi all,I seem to have a problem with the specifier class.It claims it recognises patterns like:s1*s2* -- starts with s1, contains s2However, that doesn't seem to work. To test it, I'vecompiled the following very simple thingy:import com.sun.tools.doclets.util.*;public class kk { public static ...
439 byte By
tanigu at 2007-9-26 3:22:51
How can we create "Field Summary" HTML document for "public final static int" variables?This question is probably same as the below question. http://forums.java.sun.com/thread.jsp?forum=41&thread=72832p.s.The below document indicates CENTER, NORTH, ...How an we achieve it to document "public ...
374 byte By
26017 at 2007-9-26 3:28:58
Hy all!I have a problem writing a batch file under Win 98. Can anyone of you tell me what is the sign under 98 for "^". Under NT its used to jump into the next row.example (which doesn t work): javadoc @filelist.txt-d docs ^-use ^-overview overview.html ^-package ^-version ^-author ^ ...
Can anyone recommend a good, preferrably, free Java JIT for use on Windows?Thanks in advance.
Hi to the forumi got a problem with the installation cd that was preparedAn hyper link to an installation was given like<a href="\almsetup\setup.bat"><strong>CLICKHERE</strong></a>the bat file contains@ECHO OFFjava.exe StartFramePAUSEand both the html , the class and the ...
I have downloaded j2re and installed it according to the instructions.I also have jdk1.3 on my PC. Ihave set the classpath for jdk1.3 . When I try to compile any java file, the error given is as folows:"Can't find registry keyjavasoft\JavaRuntimeEnvironment\current versionError:Can't find ...
Hello experts,I have an error occur when compiling my project....ProjectRelated.java:15: package common_db does not existimport common_db.*;^1 errorwhat should I do? regards,kurt
482 byte By
rbiresch at 2007-9-26 3:54:01
I've read a view posts regarding this problem but none with SDK1.3.1 or with this type of twist.I'm having a problem executing the ExampleProgram using:javac ExampleProgram.javajava ExampleProgram...and I get...Exception in thread "main" java.lang.NoClassDefFoundError: ExampleProgramHowever, ...
Hello,everyoneHow to stop a Application using the command "javaw" on Windows Platform?Thank you in advance.zhongboqing
When compiling a java program, i get the following message: "class XXX is pubilc, should be declared in a file named XXX.java". The file is stored in a jar file and the classpath settings are correct. Any ideas?
279 byte By
lkrell at 2007-9-26 4:06:23
Hey all-I found a manual way to format H2s. Has anyone found a auto-gen way to do it? The CSS isn't the best way cause you have to change all <h2></h2> tags to <font class=h2></font>. Or am I going about this all wrong?Thanks!
How can i get the documentation of the Package sun.net.ftp ?
278 byte By
vladshtr at 2007-9-26 4:09:13
Hello,I have folder com\name_of_company\...In this folder are all packages that I want to document with JavaDoc.Is there any way to do this recoursively. I mean something like:javadoc -<some_option> comThank you in advance.
701 byte By
nzguru at 2007-9-26 4:26:15
I've just upgraded to 1.3.1 SDK on Windows 2000.I now get very strange messages during the compile.e.g. for the source :/** * The HelloWorldApp class implements an application that * displays "Hello World!" to the standard output. */public class HelloWorldApp {public static void main(String[] ...
480 byte By
JirMac at 2007-9-26 4:29:30
I have installed both SDK and runtime environment few weeks ago and tried to compile/run some example programs.Today, when I tried to create a program of my own, an error message 'Exception in thread "main" java.lang.NoClassDefFoundError: xxxx/class' pops up.I thought it's an error in my new ...
496 byte By
Harki at 2007-9-26 4:33:26
Hello Guru's,I am using Forte for Java release 2.0 build 1160, and Java SDK 1.3.1.When I try to compile a project in Forte I get the following error :"fastjavac: java source files must have a .java suffix C:\Program"I have looked at the source files and they do hav .java suffix!If this is not ...
399 byte By
KP1 at 2007-9-26 4:36:57
I have copied our source directory structure for Packages to my hard drive and now need to compile all the source code. There are hundreds of folders! Is there a command I can give that will search through the folders, compile what it finds and leave the class in the same folder as the source ...
322 byte By
Sarka at 2007-9-26 4:44:59
I want to do a reference to another class by @see MyClass. But if I use full name (e.g. cz.abc.something.MyClass), in generated java documentation, there is no reference, just a text. If I use a name only (MyClass) there is no reference as well. What are the rules for creating these ...
48 byte By
muetzen at 2007-9-26 4:45:29
Is there a DTD for the XMLDoclet?
hello folks, I give foloowing commandjavadoc -d c:\tomcat\xyz -classpath %CLASSPATH% -link http://java.sun.com/products/jdk/1.2/docs/api -link http://server:8080/abc/ com.company.util But it gives me error saying -javadoc: No package, class, or source file found named com.company.util but my ...
Can someone please give me more information on the JavaHelp doclet?I've seen a fleeting reference to it from a JavaOne conference but I can't find any other details.Thank you!Scott
1645 byte By
debin at 2007-9-26 5:06:11
Hi,I have a java source code here (see below) which can compile on any other machine. However, it gives me an error when compiled on my notebook computer. The error is as follows:DetectPrime.java:19: cannot resolve symbolsymbol:method parseInt (java.lang.String)location:class ...