All programs successfully compiled. But then when I want to start them java gives the Exception "NoDefClassFound". I don't know what the problem is. Please help! Thanks!!!
951 byte By
barkle at 2007-9-26 16:19:07
I make a simple jni program ( it just print "Hello World" ) but, when I compile this program I got a LINK errorD:\JavaProjects\HW>cl -I c:\java\jdk1.3.1_01\include -I c:\java\jdk1.3.1_01\include\win32 -I c:\java\jdk1.3.1_01\cinclude -LD helloworldimp.c -Fe hello.dllMicrosoft (R) 32-bit ...
After a few compilation of the following code the changes I made to the java file were only viewed by the appletviewer, not the explorer, the change I have made and is not shown in the explorer is setting the foreground and back round of calPanel label. Please compile the code yourself:import ...
Hi all,I might sound to be really dumb, however, I'm new to java documentation and am trying to figure out a way to include sample code (with indentation and everything) in the documentation to the class.Can someone tell me how? I would really appreciate any input.thanks ...
283 byte By
kiki at 2007-9-26 16:48:46
I'm trying to install the compiler and I've followed the instructions to the letter but I still keep getting the bad command or file name error when I type javac into the MS-DOS screeen. I'm not sure what is happening, does anyone have any advice? Thanks in advance.
383 byte By
wikey at 2007-9-26 16:50:00
Hi all ,I just starting learning J2EE ..and i having this problem when compiling a code when try to import javax.servlet.http.*; Compliler gave me this error Package javax.servlet not found in import.I have install JDK standard edition version jdk1.3.1_01 and JDK Enterprise Edition j2sdkee1.3 ...
303 byte By
jeffroS at 2007-9-26 16:50:07
Compiler is JBuilder5 (the free one)It can't find my main()What do I do.Also, I posted the same message in one of the otherforums before I noticed this one. Sorry! Please forgive me, I promise I'll do better next time!Thankx,Jeffro ...
I have decided to make the switch from Java 1.3 to 1.4, and along with it, I needed to implement new printing procedures. But, alas, these new procedures require classes that are not in java 1.3. Now, it turns out, many of my customers haven't and don't plan to upgrade to the newest jre. And ...
Dear all,I tried to implement two additional tags that should be used to identify required and optional parameters. First I thought this must be easy because it should be only a slight extension to the original @param tag.However, I do not see a possibility to leverage the origninal param tag ...
hi javadocs;how do i specify the background color for both lefthand frames ('all-classes' and 'overview')? i've tried to find the right setting using css but i can't... i've searched through the forums and the docs... also, is there more of a reference online for javadoc stylesheet ...
i cannot compile java programmes.When i type "javac <filename>" in command windows an error message pops up saying "javac.exe encountered a problem,please report this problem to microsoft"Is this problem of windows xp or it is really of javac.exe problem.
382 byte By
Gustavus at 2007-9-26 17:24:53
Hi all,I need to create a new javadoc tag. (I'm using Javadoc 1.3)Do you guys know of any good tutorial? I tried Sun's javadoc tool documentation, but it doesn't show a clear example of how to create a new tag, instead, it just tells us to modify the standard doclet, but doesn't say ...
101 byte By
johna at 2007-9-26 17:24:58
Can I create a table using javadoc? If so, can anyone give me an example?Thanks.
1742 byte By
pharaohh at 2007-9-26 17:25:10
Hi all...I'm so fed up with compiling packages...I'm at my wit's end. I've been trying so many compile combinations with -classpath and -sourcepath and -d my eyes are feeling funny. I've read nearly every decent thing about compiling packages on the Developer Connection and Google, etc, ...
I have installed the JDK 1.3 and succesfully compiled my first Java application (appropriately named HelloWorld.java). However, I'm getting an error when I try to compile my first Applet. Why would I get an error in one instance but not the other? Here's the ...
Hi!I just ran my first compilation. Or so I thought. i got this message and would be soo happy if anyone could help a Java newbie in need:'javac' is not recognized as an internal or external command,operable program or batch file.I have set the PATH and I run Windows 2000. Any ideas, anyone? ...
775 byte By
sapus at 2007-9-26 17:46:27
I'm using JavaDoc 1.3.1_01 with Windows:I have a directory (package) structure A/B/C/D and A/B/C/E with packages C, D & E containing source files. I'd like to use javadoc to generate documentation on these sourcefiles from the 3 packages C, D, & E. How do I go about doing this. My ...
I have installed the JDK 1.3 and succesfully compiled my first Java application (appropriately named HelloWorld.java). I could compile the source file also.But i am getting an error when i am trying to run the program in the applet iam getting an error as"start applet not initialised"and the ...
461 byte By
zooplo at 2007-9-26 17:57:10
I am having problems trying to create a javadoc of multiple packages. I have a directory named source with 6 separate packages: A, B, C, D, E, F.I read the javadoc documentation on multiple packages but it did not help me. From my directory c:\source, I ran javadoc -private A B C D E F, but ...
69 byte By
jack at 2007-9-26 17:57:42
Hi:How to compile some java file to a .EXE file?
599 byte By
mdawg at 2007-9-26 18:05:05
Hey i have a game that i have created and it has like 10 java files and one of them is the main file that i run and compile and it runs the entire game as a GUI. I also i have some images and sounds. What i want to be able to do is put all this in one file as a .exe and all i have to do is just ...
515 byte By
Pansn at 2007-9-26 18:13:18
Heyo all there,im quite new to java and probably its a stupid fault i made. But i wrote a program and used the WindowAdapter class from java.awt.event.*(i hope thats written right). And when i compile it, i get an error i dont understand :testfenster.java:14: cannot resolve symbolsymbol : class ...
388 byte By
jhocko at 2007-9-26 18:18:27
I downloaded and installed the DocCheck doclet and believe I have it running - it loads all my classes and produces warnings. However, the website indicates that a series of HTML files with the results will be produced, and I can't seem to locate them! Can anyone tell me where these are placed ...
737 byte By
sabond at 2007-9-26 18:27:51
I don't know if this is the correct place to call for help - specially since I don't know if my problem falls in Tomcat domain or Java/JSP domain.I have a fairly simple structure of classes -classB creates instance of classA both are part of a package called as util - both the classes compile ...
573 byte By
mpokky at 2007-9-26 18:38:42
Why when I use javac.exe compile the programme,it always reply "Javac:invaild argument:'my filename .java' "I have set the path and class path ,java_home,the class name is also as the same as the file name.Could u tell me why?Thank u!By the way,must useing javac.exe compile the programme be ...
I always have to type to the full /usr/java....javac to compile.... how to fix that.. could u explain in details? thanks a bunch.....
149 byte By
mpokky at 2007-9-26 18:44:32
I have set the classpath but the classes have been packaged,so I can't compile the programme.Do you have some way to solve it ?
hi jd forum -forgive if this is covered elsewhere. i've found references to -include, -exclude, and 'docset', but i can't find these in the documentation at http://java.sun.com/j2se/1.3/docs/tooldocs/win32/javadoc.html (maybe it's for a different version).i want to only include ...
419 byte By
johna997 at 2007-9-26 18:58:14
I have package A, which class A1 that contain method1 and CONSTANT_A.package B, which class B1 that contain method2.In method2, I want to provide a specific link to method1 and constantA. I wrote @see A.A1.method1()@see A.A1.CONSTANT_AIt didn't work. Is there a way to provide a specific link ...
1277 byte By
jasun17 at 2007-9-26 19:06:29
I had recently installed the jdk1.3 (Win ME version). I have no problem with my path variable although I doubt the classpath variable setting, which is given as follows.D:\java\p_java>set classpath=%classpath%;D:\java\jdk1.3.1_02\jre\lib;D:\java\jdk1.3.1_02\lib\where p_java is my java ...
265 byte By
ponli at 2007-9-26 19:16:48
I've been told by a friend that one can make .exe files out of java. I assume this is true because I've seen people distibuting programs that have been written in Java, but all I seem to be able to do is make class files. Anyone know what I can do?
HiI want to have the ability to compile a class file to native code in memory I can call, without need of source codeand even if the class file is changed so you cant decompile it to a java fileM
843 byte By
jeffroS at 2007-9-26 19:24:27
I am using JBuilder3.0 I don't understand theProject properties.Do you have to use this option. If yes, what do you put there. I tried the following...open project propertiesclick on setnavigate to my source file (my main())click on my source fileclick ok when I run it I get the following ...
321 byte By
armjamil at 2007-9-26 19:27:01
I am having strange problems when I am compiling my java files it is naming it strangely.......like I compiled a file called "CountDays.java" and the class file i got was "DayCounter.java" which the name of the previous file I compiled.... it is doing the same thing over n over.... Can anybody ...
Is there a way to see which classes are called by a class using JavaDoc?For example a LineChart class I created calls the classes Line, Label, ...I would like to add this in my documentation as a list of classes that are used by the LineChart.The workaround I use now is explicitly import all ...
I am trying to use 3D-masterSuite for java now. I tried to run a program named "HelloCone.java". In theprogram there are some lines like these:import com.tgs.inventor.* ; import com.tgs.inventor.awt.* ; import com.tgs.inventor.nodes.* ; import com.tgs.mastersuite.graph.* ; import ...
I have been getting this error in every program that I compile. Even if it is a program that used to work. I don't get this problem when I compile, actually. It is when I try to run the .class file. I don't know what happened. The way that I would run Example.class is...java ...
I heard that we have TelnetOutputStream and TelnetInputStream. I could not find it in JDK. Where from I can download it?Thanking in anticipation.Deepa Datar
Hello, I'm using Javadoc to generate the doc of my classes in a filesystem but the links between them (not the ones of Sun) are as follows :file:///E:/Projects/Websphere/spec/manuel%20ejb%20transfo/VeryLatest/Sources/Latest/doc/api/com/axway/xis/ejb/AsynchronousTransformationHome.htmland I ...
730 byte By
efreq at 2007-9-26 19:41:18
Is it possible to use inline tags, either custom or standard, inside custom tags created with taglets?I have been unsucessful in getting this to work. To make it simple I just used the sample ToDoTaglet and UnderlineTaglets provided in the taglet overview on the javadoc page. I tried to ...
1222 byte By
csoundap at 2007-9-26 19:42:25
I am trying to execute javadoc command to get the 3-frame API for the following the packages xxx and xxx.yyyThe directory structure isapisrc-overview.html- xxx-package.html-XXXClass1.java-yyypackage.htmlYYYClass1.javaclasses--xxx-XXXClass1.class-yyyYYYClass1.class The src files have just the ...
406 byte By
olliezzz at 2007-9-26 19:45:11
I'm trying to build the excellent Bruce B. Blackshaw Java FTP aplication under JB5 and have an very uncommon error : "FTPClient.java": Error #: 750 : initialization error: com.borland.compiler.symtab.LoadError: class file has wrong version 48.0the errors occurs before compiling and helps it ...
626 byte By
jre95001 at 2007-9-26 19:48:20
I just downloaded and installed the Java SDK 1.4.0-rc1. I notice that when running Javadoc on my code, the destination directory is incorrectly pre-pended to the linked documentation. For instance, if I enter:javadoc -link D:\Computer\JavaPrograms\docs -d .\docs cse300.a1I receive an error ...
1700 byte By
dhansr at 2007-9-26 19:51:14
I am trying to compile a java servlet in a Win2000 profMy home drive is d:\, because I have another drive c:\, that has Win95.I recently downloaded JDK1.3.1_02 and J2EE1.3.1. I followed the instructions carefully. My env ...
Hi, I'm new to Java, just started programming in my school class, and i installed VisualAge 2.0 for Java at home and i keep getting an exception when trying to compile my java class. I get the following error:java.lang.NoClassDefFoundError: hsa.ConsoleHere is my program://Class:import ...
What is the D switch used for at time of compiling a java code
536 byte By
petitduc at 2007-9-26 20:01:19
Hi all,I'm new in the forum, so let me present myself. I'm a beginner in Java development (and in development in general) and I live in Paris. My question is very basic and I'm sorry if it has been asked before... I couldn't find an FAQ page so I ask. I've made a small application using ...
523 byte By
aijung at 2007-9-26 20:04:49
Hope someone can help me on this.I use the following command to generate documentation.javadoc -d dest_dir -sourcepath src_dir pkgwherepkg is a package which contains my project.I am using this command in a directory other than dest_dir and src_dir. It works fine until I put a file named ...
145 byte By
Flaquita at 2007-9-26 20:07:30
Do somebody knows about a tool that converts from .class to .java?Sombady told me about MOCCA, but I can not find that tool.
486 byte By
mphenry at 2007-9-26 20:12:04
Hi All,I'm trying to spec out the best possible machine for doing java compiles.From what I've read, javac does not support more than 1 processor - is this a limitation of the compiler only being single-threaded?Either way, does anyone know if this is available yet, or planned?Also, is there ...