480 byte By
yiyi83a at 2007-9-28 6:15:13
Hi, I need to insert some data into the oracle database. However, some of the data contain single quote. Hence, SQLException occurs during insertion. Is there any function available to check for single quote and replace it to double quotes?If no function is available, how can I go about ...
309 byte By
sasi_2ka at 2007-9-28 6:16:17
Dear all,have any one tried to load the bytecode read from the database. If so, please suggest me a way to do it. Iam developing a frame-work where nothing except a servlet would reside on the disk as a file. after designing the frame work, i've encountered this problem...plz suggest me a ...
835 byte By
vw5342a at 2007-9-28 6:17:55
All,I am very new to Javadoc. I would like to know how (if possible) to eliminate the full package name from any descriptions. For example, if I have a method that returns a Hashtable, the Javadoc that gets generated looks like this:public static java.util.Hashtable newMethod()I would like it ...
1874 byte By
cotakana at 2007-9-28 6:18:58
Hi Everybody,I have the same problem. When I try to compile HelloAgent.java, following error occurs:C:\kaariboga\source>javac org/kaariboga/agents/HelloAgent.javaorg/kaariboga/agents/HelloAgent.java:41: cannot access org.kaariboga.agents.Histobad class file: ...
I have written many e-mails to Java re this problem, but no answer. I have written Microsoft, no answer. I play games on Yahoo & need this software which is not included due to a lawsuit between Sun & Microsoft. Please, if you have an answer as to what to do; I am desperate & ...
Hi everybody,I just install j2sdk1.4.1_01 on my RH 8. And it's install under the directory /usr/j2sdk1.4.1_01 Now, I was compiling the hello program under /home/JAVATESTand it gives me the following errorException in thread "main" java.lang.NoClassDefFoundError: helloCould anyone please help ...
340 byte By
78chrisa at 2007-9-28 6:28:10
Hi everyone.I have a minor problem on excluding comments at compile from the source code.The bytecode must have minimum size and given the fact that i'm avoiding a global replace in the source code, i would like to know if there is a "nice" way to do it.(an option for javac? i haven't found ...
Hello friends,I saw many java demos that start comments like:/* * @(#)SampleTreeModel.java1.8 01/12/03 * * Copyright 2002 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */Can someone tells me what is the meaning of ...
Hey...I've gotten JDK to work on another computer with windows 98, but I tried it on mine with winME i get an error. The following is the dos session I've had twenty times, followed by a lot of yelling:C:\Java>javac Lincoln.javaC:\Java>java Lincoln.javaException in thread "main" ...
hi,all,,i have big problem with executing program..the program will not execute but prompted error message even i can compile it correctly.i'm integrate my program with "jess programming"when i type on:c:\jdk1.3.1\bin>javac -classpath c:\>Jess61a4\jess.jar coding.javait runs/compile ...
I recently downloaded J2SE version 1.4.1 for my computer that has the Windows ME OS. The compiling command, javac, won't work. The command to run the file, java, works though. When I enter javac followed by some java file (Root.java or just Root), I get "bad command or file name", and when I ...
906 byte By
trexlima at 2007-9-28 6:47:01
Anyone who may help:I have a generic report generation engine. I have the following items:<ol><li>JSP- generate_report & show_report</li><li>ReportAction</li><li>ReportBean</li><li>Corresponding Report, eg. StockReport, OrderReport... etc, ...
302 byte By
carreja at 2007-9-28 6:48:58
when I do : File f = new File("A:\\"); if(f.exists()) { ... } else { ... }the following error appears "No disk in Drive. Please insert a disk into drive A".How can I catch it ?I work with JDK 1.4.1 and Win2k ...
I wonder about few thing. When I compile java file I get .class file that I can run using "java <file>.class". Java.exe being program that came with JDK 1.4.1 I have downloaded. Now, how do you start a .class file on a PC that supports java (like Win 9x), but whitout installing JDK? What ...
839 byte By
luggypma at 2007-9-28 7:01:29
(Using JDK1.4.0 and the javadoc tool supplied with it. Platform:WinXP Pro, using Textpad as editor.)I've created a class with class level comments before, but when I try itwith an interface the resulting javadoc doesn't show the comment.Example:/** * This is a class comment explaining what ...
The system cannot find this file and therefore cannot compile java from textpad...i installed JSK 1.4.1, but still i have no clue?PLEASE HELP!!!!!!!!!!!!!!!!!!!!!
Hi,is there any possibillity to build a file which I can execute on windows machines with no JRE?
the basic html codes are <applet code="<filename>.class" width = 400 height = 400 ></applet>i have tried on applets and it works but i dont know why it does not when i am using JApplet with swing. i also have placed the html file in the classes directory. when i open IE to ...
ok on my system information under internet settings then internet explorer under cache then list of objects it has java runtime enviornment 1.3.1_06 twice and java runtime environment1.3.1_03 all three status damaged when i go to web sites that use java applets i either get a black screen after ...
Hi,I got a problem with ant,I got the following code in my buildfile:<target name="compile"><mkdir dir="${build.classes.dir}"/><javac srcdir="${src.dir}"destdir="${build.classes.dir}"debug="on"deprecation="on"optimize="off"classpath="lib.dir/*"><include name="**/*.java" ...
707 byte By
tysonnha at 2007-9-28 7:14:16
Hey, I installed the j2sdk1.4.1_01 on my machine a little while ago. I am having a problem using some of the commands. Like, if I type something suchas 'javac Test.java'I receive this message:"bash: javac: command not found"So I had to write a shellscript, but since my skills aren't very ...
I wrote the first java helloworld program, complied ok. but no display in my screen, what is the problem?David
Just migrated from Websphere 4.0.3 to Websphere 5. I am now getting an error at runtime (not compile time) of: java.lang.VerifyError: (class: testTemp2, method: load4 signature: ()V) Incompatible object argument for method callat testTemp.main(testTemp.java:25)Exception in thread "main" After ...
How do I resolve this error? If you know please e-mail me @ ThomasMDL@hotmail.com . Thank You. Thomas
Hello,I am just a starter in Java. I have installed the standard Development kit j2sdk1.4.1_01 on a Windows NT machine. The installation went well.When I tried compiling my first file HelloWorldApp.java which is in a directory java, it gave the error 'cannot read: HelloWorldApp.java',I have ...
692 byte By
delfMa at 2007-9-28 7:30:12
Hi i have server running that fetches some data off the internet. it is a thread that runs twice a day to update info. today i had this error but cant figure out the cause of it. plz help mejava.io.IOException: Server returned HTTP response code: 500 for ...
238 byte By
Quya at 2007-9-28 7:30:13
i install the newest SDK on my windows xp, but when i tried to compile a program, it gives me an error message that says it can't find javac.exe, doing a search for it on my computer reveals no such file exist! what happened here?
195 byte By
gamigoa at 2007-9-28 7:33:18
How do I conceal strings in the .class file which have been defined in the source file during compilation, in order to hide theses strings (passwords etc.) from people using the programme?
java.lang.ClassFormatError: JavaBanner (Illegal constant pool type). How in the world do I fix this? I can't get a single applet to work online but offline the work perfectly fine! AHH!
Is there an upper bound limit on the amount of output data issued by a call to the Exception class' printStackTrace method? Is the upper bound limit 64k bytes? Is there a workaround or configuration property to increase this upper bound without resorting to overloading or subclassing the ...
If I just download the applets off a site and put the files in my web server and put the code in my document will it work or do I need some sort of java program to get it to work? I am very new to this. obviously.
146 byte By
repavela at 2007-9-28 7:42:29
Jikes(v1.16) is a very fast compiler, but messages it puts out are so nasty, that I use javac. How to patch it to get javac-style messages?
491 byte By
jyoungLa at 2007-9-28 7:43:07
Hi,My java program crashes with the following error message: Exception in thread "main" java.lang.OutOfMemoryError<<no stack trace available>>Where it crashes in the program, there is no recursion. And, when I looked at the memory usage using "top" command (I was running it on ...
My application is running well in Weblogic 5.1 sp10 server. I am trying to run my application as NT service. The NT service installed and started with no problem. But I got following error messages when I try to access my JSP. Can anyboby help me out? Thanks in advance.JamesCompilation of ' ...
291 byte By
chaiwuta at 2007-9-28 7:47:55
Hii get an error when trying to launch a Java application (1.1 or 1.2) on a Windows 2000 machine (service pack 1 and 2). Essentially, the error is "javac.exe has generated errors and will be closed by Windows." The error is works on some Windows 2000 machines,Thanks you
487 byte By
Urmecha at 2007-9-28 7:55:18
Hi,I want write a see statement which fits into the normal description like a normal hyperlink. But I don't want to use absolut reference like <a href="..">..</a>.But if I write something like this:/** @see java.lang.String java.lang.String* for any questions. */ Then the whole ...
289 byte By
Toothya at 2007-9-28 7:58:37
Hi guys..After install JBuilder8, i got this error msg:"P1Q3.java": Error #: 750 : initialization error: com.borland.compiler.symtab.LoadError: java.io.IOException: class not found: class java.lang.ObjectCan you guys solve this error for me?Thanks
292 byte By
lakobea at 2007-9-28 8:01:17
I am a JAVA rookie and I have a problem in attaching a word file using javamail. I searched almost all the forum but still couldn't find the solution. Sorry for the reposting. But can anybody please help me out? Your any words or links will be highly appreciated!Lakobe
695 byte By
kasatcha at 2007-9-28 8:02:03
java.security.AccessControlException: access denied (java.io.FilePermission src/0_0.jpg. read)I have this error when i try to run my applet.I have set all rights to all files in src/ directory to 777 * and it is still not working. Here is link to my ...
71 byte By
unibluea at 2007-9-28 8:03:12
Is it possible to generate javadoc directly in winword document?
Hello,I am using Java XML Pack Summer 02 Bundle, for XML parsing.But when i run the SAX example program to read and print the XML i am getting the following error.I am using JDK 1.4 Version.Error:Exception in thread "main" java.lang.UnsupportedClassVersionError: ...
I am trying to reference a GUI class name MQTestGUI and I keep getting the following messagecannot resolve symbol: class MQTestGUII have realised this problem with all my programs now as I cannot refer to a Class earlier created so I can keep using my classes in other programs. Please help or ...
Is there any way i could compile a c/c++ program that launches a java application? applet?
262 byte By
smgtpmna at 2007-9-28 8:15:00
Im getting a java script error in validate keystroke script field "w2_boxb_1" at line 7:doc.getField(cnext).set focus is not a functionIf there is anyone out there who knows what this is or how to resolve it I would greatly appreciate the help. Thank you.
I am new to java but i am not new to programming. I in university and we're using RealJ to write compile and build out programs. Here's my question:When I create a program and hit compile and then run it executes the text in a output window on the bottom of the screen. When i write a program ...
Hi. I tried the Hello World program from: http://java.sun.com/docs/books/tutorial/getStarted/cupojava/win32.htmlbut got an error. This is the program:/** * The HelloWorldApp class implements an application that * simply displays "Hello World!" to the standard output. */class HelloWorldApp ...
1361 byte By
esueza at 2007-9-28 8:18:24
for years now the convention has been to liberally use html in java source code commentsto beautify javadocs. for example, i have taken this out of the source code for java.lang.System:** * The <code>System</code> class contains several useful class fields * and methods. It cannot ...
I am an Oracle developer running oracle 9i Db and oracle 9iAsusing Jinititor on my browser.I am trying to get a form to run Local Host commands. I have downloadedhost.jar from Oracle and have certified and checked that is certifiedusing the Java Console.When i try to execute a host command, say ...
926 byte By
sparvena at 2007-9-28 8:29:21
Have a couple of classes that compiles just fine without the package statement. Command (somewhat shortened) like this:javac -classpath "lib/prti.jar;lib/classes/;." visualize/*.javaIn the directory "lib/classes" I have some independent standalone (without any kind of package declarations) ...
1376 byte By
BWT1a at 2007-9-28 8:32:39
I uploaded an applet onto a web-hosting server. When I use the html file to open up the applet on my personal computer, it works fine. But when I upload the applet onto the server, with the exact same code and same content in the folder, java console gives me this ...