Windows ME jdk 1.2.1 error

931 byte By chenmeister64 at 2007-9-26 1:14:50
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 ...

Problem with 'import' of 'javax.microedition' when using MIDP

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 ...

How to give java file to javacc

354 byte By naveed_chaudhry at 2007-9-26 1:22:10
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 ...

package compiling problems

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 ...

Compile one by one, or all .java-files at once?

397 byte By Special-K at 2007-9-26 1:28:57
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 ...

Help me on compiling JTAPI package

308 byte By ashishrk25 at 2007-9-26 1:31:54
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 ...

Java under UNIX v/s Windows-NT

2771 byte By Jatin2000 at 2007-9-26 1:33:52
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 ...

Beginner question: JBuilder3

195 byte By bagoballer1 at 2007-9-26 1:34:40
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.

Java under UNIX

1767 byte By Jatin2000 at 2007-9-26 2:00:45
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 ...

How to which validate Java program for proper Javadoc tags

162 byte By kyogesh21 at 2007-9-26 2:00:57
Is there any utility which validate Java program for proper Javadoc tags ?I appreciate all kind of help .Thanks-- Yogesh

Native Code Compiler

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.

JAVAC is NOT working!!! Please HELP!

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 ...

compiling java in HPUNIX

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 ...

How to compile servlet with Edit Plus?

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 ...

Generic Inlined tags

2164 byte By schabungbam at 2007-9-26 2:30:19
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 = ...

USAGE HELP....

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 ...

help needed in using the DocCheck utility

1483 byte By kyogesh21 at 2007-9-26 2:40:14
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 ...

modifying contents of <title> tag

365 byte By dewitt_runner at 2007-9-26 2:41:48
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 ...

Any Suggestions? Check out my problem.

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 ...

What is Ant?

79 byte By billpark at 2007-9-26 2:44:19
Is it faster than javac?Or it can make better code?

Windows 98SE MS-DOS prompt extensions problem

467 byte By madwolfnemesis at 2007-9-26 2:51:08
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 ...

javadoc packages

559 byte By bheimsoth at 2007-9-26 2:54:43
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 ...

A proposed javadiff doclet

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 ...

java.lang.NoClassDefFoundError: src/myproject/myapp (wrong name: myproject/

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 ...

javah -old

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 ...

can a java app link and load an straight win32 dll?

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 ...

MifDoclet with Netbeans

299 byte By rjoconnor at 2007-9-26 3:18:51
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

Create Javadocs

516 byte By chelleong at 2007-9-26 3:19:15
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 ...

Specifier class, does it work?

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 ...

How to javadoc "public final static int"?

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 ...

Batch file under Win 98

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 ^ ...

Just-In-Time Compiler

114 byte By shusseina at 2007-9-26 3:31:07
Can anyone recommend a good, preferrably, free Java JIT for use on Windows?Thanks in advance.

cannot execute a bat file

693 byte By pinjopaul at 2007-9-26 3:35:50
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 ...

compiling problem!!!

405 byte By shilpa1_j1 at 2007-9-26 3:37:41
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 ...

How to import package when compiling?

261 byte By rojaktambi at 2007-9-26 3:50:46
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

SDK1.3.1..."main" java.lang.NoClassDefFoundError: ExampleProgram...again

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, ...

How to stop a Application using the command "javaw" on Windows Platform?

153 byte By zhongboqing790612 at 2007-9-26 3:54:14
Hello,everyoneHow to stop a Application using the command "javaw" on Windows Platform?Thank you in advance.zhongboqing

Compiler errors

225 byte By meek_long at 2007-9-26 4:02:49
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?

Formatting H2s

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 ?

75 byte By daveddone at 2007-9-26 4:06:35
How can i get the documentation of the Package sun.net.ftp ?

How can I document packages recoursively?

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.

Strange compiler message

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[] ...

Exception NoClassDefFoundError

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 ...

Forte compile error java source files must have a .java suffix

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 ...

How to recursively compile?

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 ...

References to another classes

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 ...

DTD for XMLDoclet?

48 byte By muetzen at 2007-9-26 4:45:29
Is there a DTD for the XMLDoclet?

no package found

443 byte By starfish77 at 2007-9-26 4:53:33
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 ...

JavaHelp doclet?

217 byte By wahl_scott at 2007-9-26 4:55:26
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

Funny Error

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 ...