848 byte By
ajholl at 2007-9-26 13:57:47
I am having a problem compiling my 'SimpleProgram.It is saying 'cant read SimpleProgram.java. I have my sourcei in a dir called javasc. My compiler is in jdk1.3.1_01\bin. I can call javac and it comes up ok but cant find the source. If I do a 'set' command on the dos command line, I can see ...
577 byte By
yusufm1 at 2007-9-26 14:14:34
Is there a way to compile in all classes used by a Servlet into it, so that the only file to distribute is the Servlet.This is because I get the error:java.lang.NoClassDefFoundError: java/util/logging/Loggerat adminServlet.(adminServlet.java:10)When trying to use the j2sdk 1.4.0-beta3 "logger" ...
Hi,I have just downloaded the source code for the Java 2 SDK v 1.3Is the documentation for the source code available ? Thanks
516 byte By
IDI at 2007-9-26 14:22:03
My understanding of an interface until now is :It is a contract for classes which implement those.That means the "compiler" checks classes who declarethe implementation of a particular interface :* that the methods of the appropriate interface are implemented and so on ....:But why are those ...
272 byte By
anua11 at 2007-9-26 14:23:50
I just downloaded jdk1.2 on windows me and when i try to compile my code or just run javac.exe fileI get an error saying "javac has caused an error in MSVCRT.DLL.javac will now close.Please let me know solution for this.ThanksAnu
2221 byte By
kashouka at 2007-9-26 14:35:10
Hi,I apologize for posting this question twice, I'm brand new to this forum. My question is both relatedto installation and compiling (I must have done a bad installation?).Here is my problem:I just installed jdk1.1.6 on my computer.The examples work fine but I can't compile.I get 2 different ...
543 byte By
Robgus at 2007-9-26 14:42:21
Is there a way to compile in all classes used by a Servlet into it, so that the only file to distribute is the Servlet.This is because I get the error:java.lang.NoClassDefFoundError: java/util/logging/Loggerat adminServlet.(adminServlet.java:10)When trying to use the j2sdk 1.4.0-beta3 "logger" ...
460 byte By
murphyed at 2007-9-26 14:48:33
Im wondering whats the best version of jdk for a 486 Computer with 12mb. I want to be able to compile simple java programs and run them. Im only learning java so I wont need many of the features in modern java but still want to be writing code that complys with newer versions of java. If you ...
when i compile the code below i get the following errors:java:86: 'catch' without 'try'.catch (Exception e){^java:114: 'try' without 'catch' or 'finally'.the code is as follows:import java.sql.*;import java.io.*;import javax.servlet.*;import javax.servlet.http.*;public class bal ...
709 byte By
XAPHS at 2007-9-26 15:16:46
Suppose that I have a source file Welcome1.java in folder xaris\seminar\examples in hdd e:(ie e:\xaris\seminar\example\Welcome1.java)If I type the following command everything workds perfectly. The command is:c:\>javac -sourcepath e:\xaris\seminar\examples -d e:\xaris\seminar ...
If I compile a package that contains some classes calledxe5e6c2c4c2c4d9f140404040f0f1f0.java, xe5e6c2c4c2c4d9f140404040f0f1f1.java,xe5e6c2c4c2c4d9f140404040f0f1f2.java.........xe5e6c2c4c2c4d9f140404040f0f2f1.javaxe5e6c2c4c2c4d9f140404040f0f2f2.javaand so on....with javac -d.... -classpath.... ...
hello: im installed jdk 1.2.2 now i wanna folow the instruction written in thePDF document.i did everything as it is but when i arrived to the step"compiling the sample applet" i issue the command " javac -g src/com/sun/javacard/samples/helloWorld/*.java"but it doesn't work it give me a ...
838 byte By
zmaster at 2007-9-26 15:23:44
Hi I have the following 2 files which can be compiled under jdk1.3, but fail to work under jdk1.4 beta3. Any idea?<code>//Test.classimport packc.*;public class Test{public int getData(){return 22;}public static void main(String args[]){System.out.println("Test.java");Test tt=new ...
369 byte By
ravivhr at 2007-9-26 15:40:24
I have a GUI application that I would like to distribute as a exe file (no need for jvm installation).My application must run on Solaris 2.7, HP10.20.Is there any tool that creates that kind of exe file?I've read that there are several compilers that create an exe file for Windows but not for ...
1319 byte By
geschan at 2007-9-26 15:41:19
Hello,I have a problem with getting some external classes into my package.To get a better view over the situation I'll show it as an example:the class "Zoo" is in the directory: town/district1/with the follwing content:package town.district1;public class Zoo{Elephant elephant1 = new ...
107 byte By
qfmomen at 2007-9-26 15:54:04
I saw the answer but i am not satisfied with that. pls if anyone know then tell me in detail.
426 byte By
uneeb786 at 2007-9-26 16:03:14
someone plz help me compiling a simple helloworld java 2 microedition program i use the following command C:\jdk1.3\bin>javac -g:none -bootclasspath %SUNJ2MEHOME%\lib\midpapi.zip -bootclasspath %SUNJ2MEHOME%\wtklib\kvem.jar HelloWorld.java and the following error comes alwaysFatal Error: ...
193 byte By
cygnus81 at 2007-9-26 16:08:27
DEar all JAVA USER..is there anyway after compile the *.java filethen converting it by using exe so that no need using java XXX.java prompt to run the program
314 byte By
sr4655 at 2007-9-26 16:08:50
Learning java, I desire to compile several programs in batch fashion using make or ant, Doing this I have a need to review compiler error messages for the programs that were compiled. Anyone know how to redirect compiler output messages to a file? Am using Win 2000 platform. HAPPY HOLIDAYS!! - ...
I've recently downloaded a java decompiler and installed in my computer. I've used it to decompile a java file. But than when I wanted to use the javaSDK1.3.1 to compile another java file in the dos prompt, the statement"Bad command or file name"appeared . I've uninstalled the decompiler and ...
532 byte By
133911 at 2007-9-26 16:12:42
I have problems to make the jdk 1.2 running under Windows XP. The installation causes no problems. I set the path correctly but when I try to use java, javac or jar, the following error message occurs (not on the command-line but in a windows xp-panel): "jar.exe hat ein Problem festgestellt und ...
I suspect this is a foolish question, but I cannot find a tool compiling .jasm files.Thank you in advance.Mike
196 byte By
pedro123 at 2007-9-26 16:16:44
I want to create a dll for my asp page with javabut I do not know how to compile it in thisformat.I need all help I can getThanks in advanced pedro
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 ...
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 ...
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.
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? ...
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 ...
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 ...
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 ?
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 ...
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 ...
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 ...