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

javac -d

278 byte By Y_NOTa at 2007-10-2 6:52:48
I want to place my class files into the specified directory, i mean like my package heirarchy is com.abc.utils, then now i want to place my classes in a classes folder with proper package hierarchy. There is a command javac with -d switch, but i foeget how do i use this.

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

Noob Compiling Problem

701 byte By Geoffreya at 2007-10-2 6:57:11
public void update (Graphics g) { Dimension d = getSize(); if ((offGraphics ==null)***(d.width ! = offDimension.width)(d.height ! = offDimension.height)) {offDimension = d;offImage = createImage(d.width, d.height);offGraphics = offImage.getGraphics(); } offGraphics.setColor(getBackground()); ...

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

compiling package Not found

668 byte By prity1a at 2007-10-2 7:01:03
Hi All,I have windows XP. I have java files in following 3 directories that I want to compile.C:\spring\commands\*.javaC:\spring\controller\*.javac:\spring\service\*.javaI went in to command directory and run javac *.javaall java files successful compileI went to service directory and run javac ...

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

Computer does not recognise javac?

689 byte By mzungua at 2007-10-2 7:03:12
HiI'm from UK, although I've used one for ages I am new to computing itself and very new to programming - in fact I haven't started yet because I cannot get my JDK to work!! I have downloaded it successfully, it is installed and I have verified the version from athe command prompt. I have ...

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

No Compiling Error but doesn't work

3846 byte By Geoffreya at 2007-10-2 7:03:36
import java.awt.*;import java.awt.geom.*;import java.awt.event.*;import java.applet.*;public class javacw extends Applet implements KeyListener, Runnable{Area pandaArea;Graphics2D g2d;// Providing coordinate control for the Pandaint pandax=20, panday=50;// Animation condition. True = animate, ...

No Compiling Error but doesn't work NEW

4000 byte By Geoffreya at 2007-10-2 7:03:38
import java.awt.*;import java.awt.geom.*;import java.awt.event.*;import java.applet.*;public class javacw extends Applet implements KeyListener, Runnable{Area pandaArea;Graphics2D g2d;// Providing coordinate control for the Pandaint pandax=20, panday=50;// Animation condition. True = animate, ...

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

NetBeans 4.1 and some executable file?

104 byte By ThomasOwensa at 2007-10-2 7:09:03
How do you compile three class files into something that a user can just double click on and run?

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

<identifier> expected

884 byte By inPutDeVa at 2007-10-2 7:12:08
Can anyone help me with this. I am learning Java and am getting this error message:C:\Alltigo\MyPeer.java:7: <identifier> expectedpeerConfiguration.setPeerType(MyPeer) ^And my source code is:import com.alltigo.locationtag.sdk.Peer;import ...

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

Another Illegal start of expression

12832 byte By Hyugaa at 2007-10-2 7:19:13
I really dont know how come this doesnt work, for any reference to the french words(if needed) please do askimport java.io.*;import java.text.*; public class BernJohnTp7{ static final String MENU = "- - - - > M E N UT P 7 < - - - -\n" +"1.Ligne la plus longue\n" +"2.Statistiques\n" ...

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

javac -target jsr14 ?

320 byte By hemalpandyaa at 2007-10-2 7:35:45
As described in http://forums.java.sun.com/thread.jspa?threadID=686083, the above switch creates a class files that can be interpreted by java 1.4.I did a small test and it works (of course), but I can't find any official documentation that describes this switch. Can someone point me to ...

compiling and running javadocs

164 byte By kojoa at 2007-10-2 7:39:43
I believe it might have been asked already; yet I'd like to know what syntax I have to type in command prompt to compile and run javadoc.Many thanks.

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

cannot find symbol

1589 byte By inPutDeVa at 2007-10-2 7:41:59
Hi all,Can anyone please help me with this.....I was stuck with this errors for ages.the errors is:C:\folder\MyPeer.java:12: cannot find symbolsymbol : constructor Peer()location: class com.alltigo.locationtag.sdk.Peerpublic class MyPeer extends PeerMy classpath is ok. the Peer.class file is ...

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

HELP ME PLEASE

5655 byte By CyberSafy2099a at 2007-10-2 7:54:02
When I try To Compile The Program (Shown Below)main(String[] args) Fileimport javax.swing.*;import java.awt.*;import java.awt.event.*;public class UseBookFinal extends JFrame implements ActionListener{JLabel nonFictionLabel = new JLabel("Enter The Name Of A Non-Fictional Book");JLabel ...

Decompiler problem of java class..its urgent. Please help

437 byte By RangaSuresha at 2007-10-2 7:54:38
When trying to open a class through Java Decompiler, error message "jad.exe has encountered a problem and needs to close. We are sorry for inconvenience." is shown. The class file (when compiled through build ANT set-up) is getting corrupted for uknown reasons. However, when the same source is ...

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

javadoc Method Summary

672 byte By Ryidena at 2007-10-2 7:57:39
I have the following javadoc code: /*** Calculates the exact value of the skewness which is defined by* * <pre>*1 - 2 * p * --* _*\/ n * p * (1 - p) </pre>*/In the Method Detail section this code looks very nice, but in the Method Summary every line wrappings has been removed and ...

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

Would Any One Happen To Know.....

6865 byte By CyberSafya at 2007-10-2 8:09:51
If There's A Possible Form Of Exception Handling For This Program Besides Exception(ex. NumberFormatException, ArithmaticException, & etc.)******************************************************************************Here's The main() ...