Weird behaviour with Runtime.getRuntime.exec() attempting to start IE

3051 byte By fran6_1972a at 2007-10-2 6:24:48
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 ...

blinktrish

493 byte By Blinktrisha at 2007-10-2 6:25:19
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 ...

Cannot find "standard.properties" file in tools.jar

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

What does this error message mean?

3733 byte By Andys2coola at 2007-10-2 6:34:43
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 ...

is there a way to find out missing javadocs?

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 easily include code examples with generics with angle brackets

171 byte By dhkramera at 2007-10-2 6:38:59
How do I include code examples with generics that contain angle brackets,such as Collection<String> without having to use HTML entities like &lt; ?

session problem

885 byte By subi_phoenixa at 2007-10-2 6:41:48
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 ...

Run-time error with drawImage

730 byte By Captain_Erica at 2007-10-2 6:42:58
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 ...

Strange EOFException

811 byte By DualMonitor1551a at 2007-10-2 6:44:44
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 ...

ClickME!?

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.

Error Messages with a Binary Search Tree

11310 byte By ShibbyMicka at 2007-10-2 6:46:28
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 ...

out of memory on ant build - upping Xmx isn't working

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

Using Javadoc with Command Prompt

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

rlogin and subsequent IO communication issue

951 byte By theresaradkea at 2007-10-2 6:55:27
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 ...

i want the software to remove the error msg

512 byte By samshah_9a at 2007-10-2 6:57:30
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 ...

yahoo games error 999

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

Resolving {@value} references without deprecated methods

1044 byte By simpsonsta at 2007-10-2 7:03:20
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 ...

can't get my file to read correctly.. keep getting mismatch error

1800 byte By trustydustya at 2007-10-2 7:05:16
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 ...

Can you have code run in a terminal and applet?

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

java.lang.NoSuchMethodError

1105 byte By dev_coola at 2007-10-2 7:12:37
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 ...

javadoc == poor tool

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

Problems with Keyboard

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

Java Error Testing

135 byte By huntingalnmoa at 2007-10-2 7:16:53
Howdy yall....Anyone know if there is a way to test to see if your java application is running without error? dor-

ClassCastException difficulty

1703 byte By crasypantza at 2007-10-2 7:17:15
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 can't seem to figure out what I am doing wrong any suggestions?

2949 byte By JaVaBlahBlaha at 2007-10-2 7:23:33
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 ...

Exception in thread "main" java.lang.NoClassDefFoundError: version

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

Packaging up JavaDoc into a JAR Library to Enable IDE Help

634 byte By pilaftanka at 2007-10-2 7:25:53
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 ...

Exception in Thread, out of memory

1852 byte By theanswer_19a at 2007-10-2 7:26:06
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 ...

cannot find symbol error

1440 byte By bl_antimagica at 2007-10-2 7:26:19
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 ...

Package ccj not found in import

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

Exception in thread "main" java.lang.UnsatisfiedLinkError: com/sun/comm/Uni

1935 byte By sunscreena at 2007-10-2 7:30:07
/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) ...

Probably not the right section but.... Java Machine error?

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

how to continue processing even if an error occur

1593 byte By rinoa_fftsya at 2007-10-2 7:35:03
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 ...

Unexpected Error in Compiler Thread

34786 byte By john.chenga at 2007-10-2 7:35:20
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 ...

is this possible

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

OutOfMemoryError

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

Javadoc tags

632 byte By g_p_javaa at 2007-10-2 7:48:53
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 ...

DocumentParser Error: Expecting a letter o

192 byte By mornMista at 2007-10-2 7:48:55
Can anyone help me with the following error:DocumentParser Error: Expecting a letter oParsing failed for file:/C:/bkup/projectWB/build/classes/WBTOC.xml&

Error Message

1022 byte By IntheAira at 2007-10-2 7:53:37
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 ...

java .sql.SQLException:

2416 byte By Niharikaa at 2007-10-2 7:55:23
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 ...

Exception in websphere 6 application server

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

hs_err_pidxxxx.log

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

isLeapYear help needed

607 byte By sheepboy2400a at 2007-10-2 8:03:25
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 ...

javac not recogonized

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.

java.lang.outOfMemoryError.....

679 byte By anthropocentriquea at 2007-10-2 8:07:07
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 ...

absolute expression required `li'

601 byte By sunscreena at 2007-10-2 8:11:54
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 ...

Javadoc error

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

ArrayIndexOutOfBoundExeption

1784 byte By w4lhallaa at 2007-10-2 8:19:48
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 ...

AntJava Doc wildcard problem

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

Exception in thread "AWT-EventQueue-0" java.lang.StackOverflowError

2206 byte By starenka_oggovaa at 2007-10-2 8:32:42
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 ...