I have developed a sample scheduler that it a web page the user fill in and then create a process schedule by the Timer class. The process starts IE in order to automate data entry normally done by a user. The Java code run well but IE when start from the p = Runtime.getRuntime().exec() class ...
Howdy - am in the process of creating a program where a user enters the number of people in their family. The loop is suppose to loop the number of member in their family.. I got it to loop but it gives me a error stating that the int needs to be a boolean.. i am not really sure what it asking ...
183 byte By
dacarTRa at 2007-10-2 6:27:36
I recently installed jdk 5.0 update 5. I cannot find file com/sun/tools/javadoc/resources/standard.properties file under tools.jar. Where can I get it?Thanks,Dinc
Exception in thread "main" java.lang.NullPointerException at Chat1bak.run(Chat1bak.java:132)at Chat1bak.main(Chat1bak.java:69)Here is my code:import java.io.*;import java.net.*;import java.util.*;import java.awt.*;import javax.swing.*;import java.awt.event.*;import java.text.*;public class ...
433 byte By
gmonieya at 2007-10-2 6:38:39
Hi,I have a large number of classes, and I wanted a quick utility tool which would find all the public/protected fields & methods which are missing javadocs entirely.I looked in the javadoc specification, as well as searched google, but came up empty.I was really hoping this would already ...
How do I include code examples with generics that contain angle brackets,such as Collection<String> without having to use HTML entities like < ?
Hello,Im working on insurance application, it was developed some 5 years ago by different team. They have used Servlet for user interaction and business logic also in servlets. The scenario:We have a form (servlet) where the user can select no. of vehicles for insurance. There is something ...
Hi,I'm a java newbie and I'm having a runtime error concerning my use of the drawImage method. I am utilizing a JFrame and BoarderLayout. In the north quardrant I have added a JPanel. In this Jpanel I am tryign to draw an image. My code IS compiling correctly, but when I execute I recieve ...
I'm creating a client and server program and I'm having some odd troubles. I have the server and client connect to each other and then use ObjectInput and ObjectOutput streams to transmit data. The trouble comes up at a particular point in the program where the client sends a string to the ...
175 byte By
DnsDMnsa at 2007-10-2 6:45:26
"Class clickme is public and should be declared in file clickme"?I typed "public class clickme extends"... and get this error message.I don't understand.
I have to make a binary search tree for a class I'm in. Here are the assignment details. * Each node in the tree can hold one and only one Object associated with the node. * Each node has a unique integer identifier and can have a left child node and a right child node.* The unique identifiers ...
975 byte By
sckennea at 2007-10-2 6:48:03
Another developer had an ant build script for generating XML beans from an XSD. He can run it fine on his machine, but when I try to run it, I get an OutOfMemoryError. We both have 1 gig of RAM, and similar processors. We're running the ant build via Eclipse 3.1, with JDK 1.4.2. I have watched ...
215 byte By
ENCa at 2007-10-2 6:51:04
Hi is there anyway where I can use javadoc using command prompt?my friend said is "C:>javadoc *.java"but it did not work for me but can work for him...any help pls?THanks
My application has to use runtime.exec to login to a remote server from a unix environment.The call to echo out the response hangs. Here is the codeProcess itests = Runtime.getRuntime().exec("rlogin -l uname tgtSrver ");InputStreamReader isr = new ...
hi to all i m getting error msg when i m trying to download an update my phone through sony website. it says exception:java.lang.NullPointerException. so i hv called the sony and they told me that i m missing one of the softwares. so call sun java and get that software. so i want to know which ...
314 byte By
alfelda at 2007-10-2 7:02:48
I had someone tell my in yahoo games that he would boot me from yahoo games. Next time I went to log on I got error 999 message could not get into games. I am running 2 firewalls and using a router. Please tell me what has happened and what I can do to overcome the problem getting back into ...
Hello,I'm writing a doclet (using Doclet API 5.0). When I get a {@link} or a @see Tag, it's actually a SeeTag, so a partially qualified program element reference, e.g. "String", would have been automatically resolved to the ClassDoc for java.lang.String, according ...
below will be my code and the file it is supposed to read.. I can't get it towork.It keeps giving me a mismatch error.import java.util.*;import java.io.*;public class TestStudent{public static void main(String[] args){try {Scanner s = new Scanner(new ...
11251 byte By
Kithinga at 2007-10-2 7:10:36
For example in my program in Main we enter the data for menu and amount of the exchange but the result is displayed in an applet.works great in the terminal window.but when using an applet it will not work.import java.awt.*;import java.applet.*;import javax.swing.* ;import TerminalIO.*; public ...
Hello friends,sometimes java can be a real headache! From yesterday, everytime I tried to run a java program...it gives an error message - Exception in thread "main" java.lang.NoSuchMethodError:main-the peculiar thing is the program compiled correctly without any error. But when I tried to run ...
783 byte By
romeok2a at 2007-10-2 7:13:44
I'm very disappointed with the tool.1. There is no way to include documentation defined in other files. I don't want to let ALL documentation to stay in the source code. This makes code pretty much lost and hard to read behind documentation. Another reason is I don't want all technical ...
1465 byte By
ral_ania at 2007-10-2 7:14:30
Hi I'm trying to compile a simple program as a test run but I can't seem to be able to do it properly. It was working a few months ago but something seems to be wrong now:This is a simple test program:import java.awt.*;import java.applet.Applet;public class Maths101extends Applet{public void ...
Howdy yall....Anyone know if there is a way to test to see if your java application is running without error? dor-
greetings. i've created a simple class 'Entry' and then store elements of those into a vector 'entries'. if i retreive these elements individually using 'entries.elementAt()' with an Entry cast, eveything's fine. if i try to retreive the whole array using 'entries.toArray()' with a ...
I will admit right off that I am a newb. I have done some programming with C++ but I have just started with JAVA.here is the problem. I am writing a program for a course I am in and I have it basically put together but no matter what I do I cant seem to figure out the correct input command to ...
301 byte By
Sevia at 2007-10-2 7:25:13
I am having this problem with all my own work and work I find on other websites. I have read the FAQ and they meantion about a classpath, but I have run soruce code before without the classpath. I have only noticed this problem since i updated from 1.5.0_04 to 1.5.0_06.Could anyone ...
Where do JavaDoc files for a JAR library go so they can be viewed from an IDE?I wrote a simple utility class that I've JARed up (with source code) to create a JAR library. I can add the JAR to a project (using "Add External JARs..." in Eclipse), and code completion and drill down (F3 in ...
hi, i'm developing a software that controls an external hardware. It sends a command through the serial port every 100ms, this command tells the hardware outside the pc, that the status of the communication is ACTIVE. I created a thread to do this task while the GUI is doing something else.The ...
ok im new to java and i am using worksheets from a friend to teach my self this computer language. when compileing i am getting an error that shows this...A:\TryThis.java:11: cannot find symbolsymbol : class EasyReaderlocation: class TryThis EasyReader myInput; ^A:\TryThis.java:14: cannot find ...
287 byte By
NSK_398a at 2007-10-2 7:27:34
I am still using Win 98. I have loaded the jdk1.2 in my computer, ok. When I try to use import ccj.*;in my program. It gave me an error messagePackage ccj not found in import.Any of you guys have came across the same problem and solved it?Thanks
/mnt/flash/tmp #uname -a Linux DW100 2.4.26 #906 拳 5岿 10 13:26:47 KST 2005 mips unknown/mnt/flash/tmp #/mnt/jvm/bin/cvm -verionProduct: J2ME(TM) CDC-HI/FP/SecOP (1.1.1-rr-b37)Profile: J2ME(TM) Foundation Profile Specification 1.1 Optional Pkg: J2ME(TM) Security Optional Package 1.0JVM:J2ME(TM) ...
831 byte By
shmoesa at 2007-10-2 7:34:54
three computer in a dental office which i've installed the dental software on. (connected to a server)2 of the three work flawlessly however one computer gives this error when trying to connect to an EDI server or print. Couldn't Start Java Mahine - error: .:Can't create Java VM - DLL Path ...
hi! i have a webservice that connects to different database. I want that if one webservice has an error because database is not available, other webservice be able to continue processing. Is there a way in java to just continue processing and ignore the error that occur to some part. thanks in ...
We seem to be getting a SIGSEGV in the native code of a Compiler Thread (typically named CompilerThread1).My problem is most similar to. http://forum.java.sun.com/thread.jspa?forumID=37&threadID=606432Except we are not running a 64 bit JVM. We are running JVM 1.5.0_06-b05 on a Red Hat ...
556 byte By
turkeya at 2007-10-2 7:40:52
Hello to all,I'm taking a Java class in high school and my teacher told us to create a word game type program with the basic principles of hangman. My problem is that I want the answer to be a string that is updated with the correct answers and for the incorrect answers to go to another. I am ...
1009 byte By
toLearna at 2007-10-2 7:44:57
Hi There,Any one please tell me how do i identify exactly after/during the execution of which particular statement the OutOfMemeoryError occurs.I know why the OutOfMemoryError occurs, I am just trying to identify the fix for the OutOfMemoryError, so would like to know when does this happen ...
Good morning,does anybody know if there is any javadoc tag related to the pre condition and post condition of a method?e.g./** Description of myMethod(int a, String b)* * @param aDescription of a* @param bDescription of b* @returnDescription of c*/public Object myMethod(int a, String b){Object ...
Can anyone help me with the following error:DocumentParser Error: Expecting a letter oParsing failed for file:/C:/bkup/projectWB/build/classes/WBTOC.xml&
I'm in search of assistance with an error message I'm getting when trying to submit a report via the internet.I am on Windows XP (home) and it has J2SE Runtime Environment 5.0 Update installed.The following error is generated when I "submit" the report:java.io.IOException: Server returned ...
I am trying to pass an oracle array into a java function using oracle.sql.ARRAY .I m passing this data using a PL/SQL procedure for calling java function (in oracle)(java in oracle).Whenever I try to do this I get the following exception for array datatype:-java.sql.SQLException:Fail to convert ...
5135 byte By
scholara at 2007-10-2 7:56:44
I have deployed an application in websphere version 6, when moved to production, it worked fine initially for 3 hours with 30 users. I have kept the settings of websphere that was there at the time of installation, no tuning nothing.I am getting response issues, and following exception in ...
40452 byte By
WeVea at 2007-10-2 8:03:07
http://forum.java.sun.com/thread.jspa?forumID=423&threadID=628323and even more:## An unexpected error has been detected by HotSpot Virtual Machine:## EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x04fb2658, pid=3580, tid=1056## Java VM: Java HotSpot(TM) Client VM (1.5.0_04-b05 mixed mode)# ...
I'm a student in a college intro java class and I'm trying to send a variable into the isLeapYear method to determine if its a leap yearI want to use a while loop to determine if a given year is a leap year, and if it isnt, to ask for another year until it gets a leap yearI'm getting ...
176 byte By
sm8691a at 2007-10-2 8:04:30
I have set the path as per installation directions and still get the error. When I run java -version it shows the corret verision. Any help would be greatly appreciated.
Buddies...can anyone of you help me in combating this error. The application requires loading a lot of VOs from the database upon a click at the front end. The application runs fine nearly till 25 hits, after which it posts java.lang.outOfMemoryError.... I have tried adding static counters to ...
I had compiled glibc-2.2.3 than i met this error when i make.../sysdeps/unix/syscall.S: Assembler messages:../sysdeps/unix/syscall.S:28: Error: absolute expression required `li'make[2]: *** [/home/gspace/control-project/build-tools/build-glibc/misc/syscall.o] Error 1make[2]: Leaving directory ...
664 byte By
xbox200a at 2007-10-2 8:14:55
I've looked through the web and seen sever ways of running the javadoc. Can any one tell me which one is correct when i run them an error message comes up saying that 'C:\' is not a recognized as an internal or external command, operable program or batch file'. And i dont know why. I have ...
ok, i have these two methods i am trying to use on an array of integers(arranged in ascending order) public void removeFirst(int newVal){list[this.search(newVal)] = 0;if(this.search(0) != -1){for(int i=this.search(0); i<numElements-1; i++)list[i] = list[i+1];numElements--;}}public void ...
707 byte By
raj_joa at 2007-10-2 8:20:52
I am trying to wild card the href attribute in <link> element in my ant build.xml file to generate javadocs, and it fails real bad, Is there a way I can wildcard the following statement <javadoc .........><link offline="true" href=" http://java.sun.com/j2se/1.4.2/docs/api/" ...
hi, i have a recursive method.. it works fine (it's when using wordWrap=true) when the StringBuffer input contains 2KB file. When parsing larger file (600KB) i got this exception:Exception in thread "AWT-EventQueue-0" java.lang.StackOverflowErrorat xtext.breakLines(xtext.java:308)at ...