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

package not found error while compiling

1179 byte By kalyan_82a at 2007-10-2 8:13:01
hi, i'm trying to connect to oracle with a java application using thin driver and i 've included the import oracle.jdbc.driver.* statement .down the line is the code i'm using._Prerequites r working such asJava path is setOracle listener is workingThe code we r using for jdbc connectivity in ...

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

Simultaneous program execution

672 byte By gateleysa at 2007-10-2 8:28:36
Hi, I use JGrasp 1.8.x for my Java project development. It is a client server program that requires to server programs running (say Bank and Shop servers) which wait for input from the client program. I have access to a single computer, so all the servers and client are on my local machine. ...

JBuilder deprecated packages

298 byte By rv5a at 2007-10-2 8:30:08
Hi, I am using the code wirtten using older JBuilder version and I am in need of the following (possibly deprecated) packages. Does anyone help me in getting these

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

Integrating build files in a large project.

340 byte By Mukkellia at 2007-10-2 8:33:51
Hi,I'm new to working with ant build files.I've got a large project with lots of small build files. I would like to reduce the number of build files in the project by integrateing them in to larger build files. Can you let me know where I can references on this ...

Run time error

1715 byte By Miguel231152a at 2007-10-2 8:40:14
I couldn't run (with version 5.0) my application when I add this line to my code i System.out.println("Conexion : " +md.getDriverName()+md.getDriverVersion());These are the messages errors :[miguel@miguel ~]$ java -cp postgresql-8.0-314.jdbc3.jar conxException in thread "main" ...

Setting java.library.path on Linux

975 byte By Killiana at 2007-10-2 8:41:02
Hi I'm trying to write a JNI program and am trying to Load a Library located at /lib/iptables/ on a linux debian machine using " System.loadlibrary("libip6t_ah.so") "1/I get a java.lang.UnsatisfiedLinkError: no libip6t_ah.so in java.library.path2/So then I tried to set java.library.path using ...

System.out.println() problem

1699 byte By Miguel231152a at 2007-10-2 8:41:09
When I use operator + for concatenate the following Strings md.getDriverName() + md.getDriverVersion() as follow in a try block:try {con = DriverManager.getConnection(sourceURL,user,pass);md = con.getMetaData();System.out.println(md.getDriverName().+md.getDriverVersion());}when I have tried run ...

no package javax.ejb

750 byte By rgmiltona at 2007-10-2 8:46:02
Attempting to compile a session bean from the command line interface javac. <y path includes a reference to c:\;c:\Program Files\Java\jdk1.5.0\bin;C:\Sun\AppServer\binI am running on Windows XP. I am getting an error message package javax.ejb does not exist.There was a step jar xvf src.jar ...

Error while running JSPfile

922 byte By aarthishankara at 2007-10-2 8:50:20
i hav downloaded j2sdkee1.4 from the sun site.in my program i hav used a html file and a JSp file.i hav used a form tag in my html page tat redirects to the jsp page.i hav deployed the application and the tool shows deployment successful.while i type http://localhost:8080/context root , i get ...

Page loading Problem

403 byte By memory_leak_problem_efirsthelpa at 2007-10-2 8:54:44
Hi,I am using tomcat 4.12 and jdk 1.4.0.. sql server 2000 is the back end.when we accessing our application contionusly for more than 4 days, each page takes time to load..I was looked out both java and sql server usage. sometimes both usage were high. sometime it was decreased...is this ...

can't cross-compile from 1.5 to 1.4

1580 byte By satya25a at 2007-10-2 9:00:26
We have lot number of java source files written using Java 1.5 specific features such as templates, enums etc.. But we have urgent need tocompile and run them with JVM 1.4.Java compiler (javac) says it provides an option to cross-compile the sources and generate class files to be compatible ...

HELP! Exception_Access_Violation (0xc0000005) at pc=0x77f48ab, pid=3840

14589 byte By cwixa at 2007-10-2 9:02:29
I do not know Java and do not know the answer to this exception error that is being output. The users are trying to print an applet window for an intranet application using IE and Java version 1.5.0_04-b05 and they are all getting this error message. All the users have new desktop pcs and prior ...

class not found

440 byte By bhupendra.aolea at 2007-10-2 9:05:58
I created an interface ABC with some functions and then created a jar file of it.Next i created a class DEF implementing ABC providing the jar file in the classpath:c:\folder>javac -cp abcjar.jar DEF.java it compiles fine.but when i give the DEF class a package 'pack' and ...

How to avoid this java.lang.OutOfMemory Exception?

979 byte By SIRIKIRANa at 2007-10-2 9:06:10
Helo All, I am working on servlets and created a scan component which scans muliple documents and uploads at a time to the server.The default resoultion for scanner (setXResolution) is 200 but i want it to be dymaically set for each time it is scanned .so i kept a Combobox which allows the user ...

User comments in Javadoc

418 byte By pholthuizena at 2007-10-2 9:06:12
L.S.,Sometimes I feel the need to extend some existing javadoc with a note of my own because sometimes the existing javadoc is not very clear and I am unable to improve because it is from another vendor.I think it would be nice if I could somehow add user notes to existing javadoc without ...

java.awt.Graphics cannot be applied

19916 byte By Zhela at 2007-10-2 9:06:39
Hi I'm creating a app that draws shapes and bounces them around the screen. I've followed and they had draw/paint methods to set colours/fills and draws the shape. the code below is not the whole app just the parts that is giving me trouble. I'm getting a draw(java.awt.Graphics) cannot be ...

Help An Unknow Error to Me

609 byte By KKHa at 2007-10-2 9:09:36
Hi guys,I make a game on the sony ericsson emulator and everything run smoothly but when i run the game on a nokia emulator then this error message pop out which i have never seen before this is as follow: Callback threw: java.lang.Error: Override of final methodi am using the S60 2nd Edition ...

How include html file ?

231 byte By fausto_minottia at 2007-10-2 9:12:17
Hi to everybody. regarding including html fileI write by myself html file and I want include this file in javadoc documentationcould give me the easiest way to do thatmany many thanksFausto

How do you compile multiple class files in a unix cmd prompt?

591 byte By Woolzya at 2007-10-2 9:13:17
I have been using Java for a few years now, but for some reason I have a course that requires us to compile/run and hand-in our java assignments using Unix...I know how to compile a simple program on unix with a single source file, but how the heck do you compile and run a program with say... 2 ...

illegal start of expression

4006 byte By wearenotalone18@hotmail.coma at 2007-10-2 9:13:42
public class store{public static void main(String[] args){String dataInput; import javax.swing.*;dataInput = JOptionPane.showInputDialog(null, "Input item data: ");JOptionPane.showMessageDialog(null, "" + dataInput);EasyReader console = new EasyReader(); int i, j, k, inum, icom, min, nswaps; ...

Caught NoSuchMethod

2314 byte By inPutDeVa at 2007-10-2 9:14:22
Cant someone understand and tell me whats wrong with the code below? when I compile it, there isn't any error. But when I run it, "Caught NoSuchMethod: MyPeer.<init><com.alltigo.location.sdk.PeerConfiguration>" and I know tat e error is at Peer myPeer = ...

Java Plug-in 1.5.0_06 Error JRE notinited

4536 byte By MagicFXa at 2007-10-2 9:15:25
Uninstalled all JRE versions. and downloaded the previous offline install packets from: http://java.sun.com/products/archive/JRE 1.5.0 JRE 1.5.0_1JRE 1.5.0_2JRE 1.5.0_3JRE 1.5.0_4JRE 1.5.0_5JRE 1.5.0_6,Installed them one after the other due to I read somewhere they recommend you keep all your ...

Cannot Find File

1417 byte By georousa at 2007-10-2 9:15:35
hello!I am inporting the concurrent package of Doug Lea insice my classThe LinkedQueue.java which i am importing looks like this/*** File: LinkedQueue.java*/package EDU.oswego.cs.dl.util.concurrent;public class LinkedQueue implements Channel { protected LinkedNode head_; protected final Object ...

Several Java Virtual Machines running in the same process caused an error

262 byte By NormFloriaa at 2007-10-2 9:16:10
When accessing a Java process over the internet, I get the message in the subject line. However, I don't see any other processes running.I am running V 1.5.0_06 with a required parameter for the web app of "-Xmx512M"Any ideas?Thanks.

[help needed] Javadoc problem with many files

1748 byte By Tugudua at 2007-10-2 9:16:24
Hi,I have an Ant script generating my javadoc every night. I have about 5700 java files making about 42MB of data.It worked fine for two years until two weeks ago, where the script stopped with the following message : <<[... big snip...] [javadoc] C:\Temp\Java\blablabla.java:58: cannot ...

Compile error

569 byte By hawkeyesca at 2007-10-2 9:17:47
I downloaded J2EE SDK 1.4 UR2, English (filename was j2eesdk-1_4_02_2005Q2-windows.exe) onto my laptop, installed and tried compiling a program I am writing for my Java class. Error message returned said 'javac' was not recognized as an internal or external command, operable program or batch ...

Azureus disappears unexpectedly... Someone knows why? :(

19015 byte By MikLoNa at 2007-10-2 9:18:21
Hi everyone!,I磎 running 1.5.0 Java version by the fact Azureus requires it (don磘 worry about it, bug happens with latest java version too)...Azureus quits unexpectedly / randomly (about 3 or 4 times a day). When I start the program again I always get this message:Azureus did not shutdown ...

J2SE 1.50 06 Update Help Needed

2919 byte By trackfana at 2007-10-2 9:19:02
I am struggling with Java installation on an XP SP2 machine. First off, I am not a developer or programmer nor do I write code beyond basic windows/dos/tagz functionality.I registered here only after exhaustive and unfruitful web search and following 'normal' troubleshooting guidelines a ...

error Casting Object[] 2 String[] !!!!

535 byte By georousa at 2007-10-2 9:19:52
Hi! i have a LinkedBlockingQueue and by it's method .to Array() i want to cast it's type to String[] (it's initial is Object[])But i get a ClassCastExceptionHelp?That's my method basicly a wrapperpublic String[] toArray(){String[] pool = (String[]) urlPool.toArray();return pool;}and i ...

Exception in thread "main" java.lang.NoSuchMethodError: main

2857 byte By BdN3504a at 2007-10-2 9:22:45
I know you answered this questions a thousand times, but from all the threads i've read, i understand that it is also a program specific problem. I'm an absolute beginner in Java coding, learning it right now at university... I also undertood from other threads u want me to post in the ...

RMI Compiling fails with

2570 byte By Mike83ia at 2007-10-2 9:27:19
Hi,I wrote an very small RMI program. It only demonstrate the function of rmi. But if I want to compile the necessery sources with the rmic-compiler, I get the follow output:<cmd>D:\Projekte\Eclipse\Arbeit\RmiTest>rmic de.lindcom.rmivoodoo.server.VoodooImplerror: Class ...

how can remove fully qualified names for method parameters in @link/@see

3420 byte By bbatmana at 2007-10-2 9:29:29
I wrote a class which graphs items in which I have many @link tags in the javadocs.A lot of the fields of this class, as part of their contract, declare that subclasses may override the field's value but that they must do so before a method named determineDimensions is called. Here is just one ...

@value tag dosen't work for java.math.BigInteger constants

231 byte By lrtalleya at 2007-10-2 9:34:40
Is there anything I can do to get the Javadoc {@value} tag to document the value of BigInteger constants?I presume the issue applies to any object constants, but, BigInteger is all I need.Thanks for any advice.

"invariant" tag

165 byte By yohannmartineaua at 2007-10-2 9:38:11
is it necessary to have a ':' character in a javadoc comment using the "invariant" taglet ?I don't think so, but it's just to be sure.Thanks

Null.Pointer.Exception in ALL applets

281 byte By hablochilenoa at 2007-10-2 9:39:29
I just installed JRE 1.5.0_06 on WinXP SP2. In IE6 (and Firefox 1.5) no applets will run, all throwing the null pointer exception. I have tried applets from many different sites, but none will load. Have tried a reinstall, but with the same results. Any ideas/helps? Thanks.

Reading javadoc

349 byte By adfreda at 2007-10-2 9:39:40
Is there a simple way to read a javadoc html progammatically using javadoc APIs and extract documentation about methods and properties? I have javadocs for some widget classes, and given the name of a widget class, I need to extract some information about its properties and methods from its ...

NullPointerException - Cannot get the value from variable f_cashGiven

46703 byte By ng_terrya at 2007-10-2 9:39:44
In SubCheckout.java (a POS), what I want is when Payment button (f_cashPayment) is pressed, the action "Cash" is performed, get the value from Cash Given (f_cashGiven), do the subtraction and post the value as Cash Return (f_cashReturn). The code is filled in actionPerformed. But I cannot get ...

pretty simple... but am pretty dumb

1369 byte By msarqe3a at 2007-10-2 9:41:51
Below is a preview of how your message will look. You must click on the "Post" button to submit your message. If you need to make changes, click the "Go Back/Edit" button.Pretty simple.. but am pretty dumb..msarqe3 Jan 14, 2006 1:01 PMHi ..am trying to learn how to use the debugger attached ...

Unrecognized package mates

408 byte By Laimona at 2007-10-2 9:42:41
Hi everybody,here's a little riddle for u (though a royal pain in the ass to me!!!!).Well, simply, classes in the same directory are unable to see each other!I really can't get why, it all worked fine until yesterday night, and now!Damn...Do u have any idea what it comes from and/or (better) ...

Error message

257 byte By JDK-v-1.5.0_03a at 2007-10-2 9:43:28
How can I fix this error?error: error reading C:\ExposureJava\jdk1.5.0_03\bin\javap.exe; java.util.zip.ZipException: error in opening zip fileI have configured and added javap in the JDK profile. I am using J Creator LE and jdk1.5.0_03.

failed to roll HTTP log file

802 byte By rudza at 2007-10-2 9:45:52
i am working to enhance a website on the intranet of company i m working in .it uses weblogic server ,JSP as front end and ACCESS as the backend,two days beforeafter summitting a certain form i couldnt view the next page it showed me the total no. of records in the DB i.e. 625. the data could ...

runtime error for all programs

512 byte By krapaa at 2007-10-2 9:50:23
i recently installed the jdk 1.5.0 in windows xp sp2. i have no problems in compiling a program, but whenever i run it, i get a error : "Exception in thread main : java.Lang.NoClassDefFoundError ". this error occurs for all the programs i try to runthis happens even though the class file is ...

AbstractMethodError

85 byte By Ambekara at 2007-10-2 9:51:33
Under what circumstances can i get this error (AbstractMethodError) at runtime

How to get stack contents in an Exception stack trace

789 byte By borntougha at 2007-10-2 9:52:10
HiCurrenty when an exception in thrown in a java class copiled with debug option we get line numbers in the stacktrace but we do not get the state of the stack.How can I the details of the stack (i.e. values of all the local variables visible in that thread) ? As information is available when ...

Problem with importing classes

5609 byte By Simiona at 2007-10-2 9:53:40
Hello,i have some problems with a simple project.The structure is like this:web-inf/classes/databeans/loginexistinguserform.javaweb-inf/classes/formactions/loginexistinguseraction.javaloginexistinguserform.java : package databeans;import org.apache.struts.action.ActionForm;import ...