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" ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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
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 = ...
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 ...
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 ...
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.
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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.
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
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.
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 ...
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 ...
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 ...
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.
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 ...
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 ...
85 byte By
Ambekara at 2007-10-2 9:51:33
Under what circumstances can i get this error (AbstractMethodError) at runtime
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 ...
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 ...
Hi there!Im new to this forum, so I dont know if i'm doing this correctly.I've searcher the forum, but couldnt find this problem (probably not the right search-words :P)This is my codeimport java.awt.*;import java.awt.event.*;import java.util.*;import java.io.*;//classpublic class database ...
527 byte By
donboia at 2007-10-2 10:00:40
I have no business being in this forum because I'm not even a developer, but I've exhausted all other avenues. Maybe someone can help me get Java (or javascript) working properly with firefox 1.5. I don't wan't to go back to IE.I have the latest version of java installed, it works fine ...
can't install sun java virtual machine because microsoft vitualmachine is in program files. how do I delete the microsoft one?gardener1951
Hello everyoneI've got this problem:Int he API i read that linkedlist.get(int) returns the object located at the index of int. With that I tried to see what kind of object I was dealing with:System.out.println(linkedlist.get(1).getClass())It printed: class userWhen I tried the following:user ...
590 byte By
ben_06a at 2007-10-2 10:06:08
Hi, my problem is simple :File f = new File("..", "myFile");f.exists(); // returns false, whereas the file exists!!!But...File f = new File("..", "myFile");File fBis = new File(f.getCanonicalPath());fBis.exists(); // returns true...Someone has an ...
3250 byte By
KRiveraa at 2007-10-2 10:08:05
Hi ,I am using MySql 5 as the database and this is the error I am getting when I am trying to run my program on WSAD .I did set the classpath right .Both to j2se1.4 as well as MySqlJ Connector .It is loading the driver but its not gettting through to ConnectionCan anyone tell me what the ...
1939 byte By
Angiea at 2007-10-2 10:09:32
Hi I am trying to run a file through the Java Packager in jre 1.2.2 using the following command:C:\Program Files\JavaSoft\JRE\1.2>bin\java.exe -cp lib\rt.jar;lib\swingall.jar;lib\jaws.jar sun.beans.ole.Packagerand I keep getting the following error message:Exception occurred during event ...
1488 byte By
Cobbweba at 2007-10-2 10:14:37
I'm working on a project right now and need to list 3 parellel arrays. This is what my compiler error looks like. [quote] '.class' expected ')' expected [/quote]It's really bugging be, so here are the two methods. This is the code that my info is being sent to. This method is in a class ...
The Doclet API was extended in Java 5 for getting information in generics, but I have been unable to get it to work. For example, calling ClassDoc.typeParameters and typeParamTags always returns an empty array./** * @param <X> The X */public class Test<X> {}And the Doclet is:import ...
I have been having problems with sites that use java. One for example is pogo games. When I try to load a game my screen goes black and I have to reboot. I have uninstalled and reinstalled java 5 update 6 and the same thing keeps happening. I went to java in the control panel and just clicking ...
Hi.......i just d/l sun java.........problem is when i play ionthunder/atlantis2 games the java is downloading and there is a red bar at bottom of it. It only goes half way then stalls......what can I do? thanks
There are two apis in Collections framework to convert the Collection elements into an array 1. Object[] toArray()2. Object[] toArray(Object[])Can some one explain me what does the second api - Object[] toArray(Object[]) does ?
485 byte By
Wenxiaoa at 2007-10-2 10:24:40
In my information retrieval project, I have to build a vector space model. So there are three arrays, i.e. a string array IndexTerm, a string array FileName[j], and a double array weight[j]. The total number of the files is about ten thousand, while the number of index terms might be twenty ...
Hey whats up guysIm having a bit of a problem trying to play a video game on the computers at work.If this were a normal computer at home or somewhere else I wouldn't be having this problem. Im just wondering how I can fix this or what I have to go into to allow me to play this game.So when I ...
Ive reinstalled Java and tried the security settings but it seems to slow my pc down when I do that and takes over my internet connection - can anyone assist?Java Plug-in 1.5.0_06Using JRE version 1.5.0_06 Java HotSpot(TM) Client VMUser home directory = C:\Documents and Settings\David-c:clear ...
Hello,I have the following problem:When I execute "java main" a window pops up with the following error:Microsoft Visual C++ Debug LibraryDebug Assertion Failed!Program: c:\j2sdk1.4.2_09\bin\java.exeFile: app3ds.cppLine:32 ASSERT(!afxContextIsDLL); // Should only be called by appsIf I press ...
I installed the JDK 5.0 Update 6 with NetBeans 4.1 Bundle onto my windows 2000 machine, created the HelloWorldApp program and compiled it successfully.However, when I rin it, I get the folowing error messages: Exception in thread "main" java.lang.unsupportedclassversionerror(Unsupported ...
I hope this is the right forum, if not, please move it :)I am currently in the process of learning java. I installed JDK and "Eclipse" on my ubuntu linux computer (debain based. Version 5.10). I am reading the book " Sams Programing with Java in 24 Hours" (www.java24hours.com). I am having ...