hi folks,i am new to this grp.i hava some doubts regarding java path setting.i set path JAVA HOME to my java installed dir.After compiling the program successfully, when i run the program i got the following error:java.lang.NoClassDefFoundError: SampleThreadException in thread "main" Why this ...
I receive the error below when trying to start an application that uses a database (UltraSQL database PostgreSQL).I have not been able to figure out why this is failing.An unexpected exception has been detected in native code outside the VM.Unexpected Signal : EXCEPTION_ACCESS_VIOLATION ...
I'm am trying to convert a Java String "Jim Test123 Front StreetChicagoFlorida302-945-1717" into a XML DOM. I've been trying to find examples on the net but have not found anything. I'd like to create an XML doc that has Name, Address, City, State and Phone Number. Can any one help?
Hi AllI am trying to make a log table in DB for logging the exception when an user give wrong login credentials. But I am not able to do it.The block diagram is as follows..........try{Exception 1} catch (Exception e){try{JDBC to log the Exception into the DB} catch (Exception ex){The control ...
Hi, I am a first-time game programmer, so I am kind of new at Java...Basically, I want the player's ship to fire an "absorber" whenever he or she presses the predefined-key.The absorber will go out, then execute 3 explosions 1.5 seconds apart. I have a method explode(), and a method travel(). ...
1533 byte By
cchanga at 2007-10-1 20:55:42
Hi,I'm having problems with priting out my fee in my FeesCard.java. im supposed to charge interest on the first day of each month. But im not sure how. I have a Calendar.java which basically has what i included below. My FeesCard.java extends a AuditedCard.java. I manage to print the ...
1064 byte By
nyundia at 2007-10-1 20:55:48
Hi, I have a reasonably simple class that I built, that runs perfectly fine when invoked like:java myClass paramsI need it to be invoked through a bash shell script however, so I wrote a real simple one of those, that is kept in the same directory and the .class build of my program.The bash ...
I want to create javadocs for all my classes, but it seems tedious to go through each method manually and make the proper tags, etc. Do you know of a piece of (free?) software that will automatically find all methods in a java file and let you add the appropriate javadoc tags through a GUI, ...
266 byte By
Miikee_a at 2007-10-1 21:01:09
Hello!I have written 9 taglets. When I want to use them with the JavaDoc tool I have to write one "-taglet" command for each taglet class. Is it possible to put them into one class? So I just have to declare just one class or .jar file?Thanks...
Hello,I was wondering if it is possible to print the whole javadoc documentation to one single file? The reason why I need this is that I would like print the API-documentation and import it in another document. I have about 600+ classes, so copying the files one by one is really my last resort ...
I am getting an error message of " cannot resolve symbol"..when i tried to create an object for the triangle class.It points at the 'Triangle' class itself when the program is compiled.I just hope that I have imported the right package.Can somebody help me with that.
On booting up, I noticed a text file on the Desktop which turned out to be an error log. Having not downloaded anything recently except a MSFT Critical Update [Successful Friday, August 12, 2005 Cumulative Security Update for Internet Explorer 6 Service Pack 1 (KB896727) ] and in these days of ...
We are writting a web application, deployed on a tomcat server, which needs to communicate with an existing Unix box over TCP/IP. The connection uses a proprietary format that uses upper-end hex codes ( 0XF0 , 0XFE) as delimiters.The code works fine when deployed to a windows machine. However ...
Alright, I am truthfully stumped on this one. The only thing I can thing of that would cause this to happen, is the fact that this game I made 2 years ago, which took 2 weeks; I have got to get it back working, was made before the newest update to java was released. I get this error everytime I ...
I am getting exception in finally block so how to catch thisthe code is public synchronized Object getValueAt(int row, int col){ try{return attData[row][col];}catch(Exception e){EMCLog.logError("EMCTableModel_getValueAt",e+e.getMessage());}finally{ return attData[row][col]; }}Can anyone give ...
Hi,I would like to check, if the name of the second element of root is "youngestSon". Is it possible to query this with xpath (I use xquery with xpath-expressions, in fact I already know the name of the element but want to get sure with an exist-statement, that the element's position is 2) ...
I'm using BlueJ 2.0.5 with Java 1.5.0 Update 4 and when I try to create an object from the BlueJ CD examples folder, the program says "Creating object...", but doesn't create the object and the "Creating object..." only disappears if I click somewhere in the screen.I also found an error ...
I抦 a currently creating a client server program at work that passes a several different types of MessageObjects back and forth. All of my different messages extend MessageObjects and implement serializable. The problem I am having is that when I try to pass certain messages from the server to ...
1531 byte By
Pvblivsa at 2007-10-1 21:12:48
Hi,compiling the following jsp:<%@ page import="pvblivs.tool.admin.common.*" %><%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%><%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%><%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>...I get the ...
Hello all,I have a TINI board connected to the serial port of the PC. I have a program that sends data to the PC. I wrote a program that prints the data coming onto the serial port using comm.jar. However, when I run the program it says,Opening port COM5javax.comm.NoSuchPortExceptionat ...
when I am compiling a program am getting an error for a vairable used called StdG..I could not get much information about it on the net.heres the actual error:.\test.java:86: cannot resolve symbolsymbol : variable StdGlocation: class testdouble t_x = StdG.s(k.t - l);^The pointer for error iis ...
I've been searching all sources possible to find out where a chain of errors ending in "NullPointerException: component argument pData" comes from and have found nothing that can help solve my problem. My code runs but ends with a series of errors that occasionally freezes my computer when the ...
Exception in thread "AWT-EventQueue-2" java.security.AccessControlException: access denied (java.util.PropertyPermission user.home read)at java.security.AccessControlContext.checkPermission(Unknown Source)at java.security.AccessController.checkPermission(Unknown Source)at ...
370 byte By
luanoa at 2007-10-1 21:29:35
Is there any way to tag fragments of code for inclusion as examples in another document. I want to tag some Java code so that it can be used automatically update the code fragments used as examples in Framemaker. I've seen the MIF doclet mentioned but it I can't see how it might be used with ...
334 byte By
kasoa at 2007-10-1 21:32:22
the runtime environment:jdk 1.5.0_04windows2000 sp4(English edition).we has installed the language package,but java display Chinese is wrong.and we also can't get the correct result to displaying Korean in Chinese edition windows2000 sp4,but it can display Japanese.How can we resolve this ...
I am trying to us a jar package that was given to me by my instructor. However, when I go to import the program I get the error message that the package does not exist. I have set the classpath to the lib folder where the jar package is. Please help
2309 byte By
mark_eba at 2007-10-1 21:42:51
Hi, hope someone can help me.when trying to access some sites i get red cross in the corner of the screen. with the error, null pointer exception and failed java applet.The web site tring to acces is https://the.co-operativebank.co.uk/coop.htmlthe code form the sun console isload: class ...
I get an "Unknown source" message in my stack trace. The point where the message comes up is in fact MY code, whose class files are present in a different jar file from the one i exceute. I want java to report the correct line number where the exception occured. Please provide some ...
1594 byte By
jith911a at 2007-10-1 21:45:11
Hi, I am a newbie.I am not sure wheter this is the place to write tis...when i tried to deploy an ear file in jonas app server..memory out of bounds error showed up..but when i checkd using free -m it showd like[oss@ctsintdlts5 JONAS_4_5_0]$ free -m totalusedfreesharedbufferscachedMem: ...
Hi All,I am using a JNI to make my C program to communicate with the GUI developed in Java Swings. In my C program I have used FindClass() method to find the java class. While exececuting my C program, I got the following exception,Exception in thread "main" java.lang.UnsatisfiedLinkError: ...
I'm using netbeans but i do not get any compiling errors just a error when i build my project.java.lang.NullPointerExceptionat Flights.<init>(Flights.java:25)at Flights.main(Flights.java:29)Exception in thread "main" Java Result: 1
I have the following error...I'm working on someone else's project (improvement) so I met a lot of bottlenecks...this is one of them:chatObj = (ChatObj) in.readObject();when I run the whole project, it flags a classcastexception at this line.in case u guys are wondering what chatObj is, the ...
coming bk to the same problemjava.lang.NullPointerExceptionat Flights.<init>(Flights.java:25)at Flights.main(Flights.java:29)Exception in thread "main" Java Result: 1This is my line 25:File file = new File(new File(getClass().getResource("Data").getFile()),"Data.txt");Line 28-29:public ...
I work for a help desk (I am Tier I) and there seems to be confusion regarding the handling of java objects in Internet Explorer.I have asked everyone i can think to ask, and i get different answers.My question is twofold:1) How do you tell a bad java object (internet ...
591 byte By
lkanga at 2007-10-1 21:57:40
I need to generate javadoc with Ant, however I'm just learning to use both. I am compiling with a root build.xml that antcalls to other build.xmls in child directories and so on until the lowest level is tasked to compile the source in its directory. Is there a way to handle this for javadoc? ...
4232 byte By
Zkou79a at 2007-10-1 21:58:24
Hi folk,I got some wired problem. When I tried to test some jsp files, I got errors like:2005-08-24 18:33:53 StandardWrapperValve[jsp]: Servlet.service() for servletjsp threw exceptionorg.apache.jasper.JasperException: Unable to compile class for JSPGenerated servlet ...
2553 byte By
mark_eba at 2007-10-1 22:03:48
when trying to load a certain website https://the.co-operativebank.co.uk/coop.htmlIm always getting the Em"java.lang.nullpointerException"The pc is running xp pro 2002 ,service pack 2 with the latest update java, Java Plug-in 1.5.0_04Using JRE version 1.5.0_04 Java HotSpot(TM) Client VMhowever ...
Dear All,We are facing a very unusual problem. In our application, there is a functionality to transfer files to a FTP server using java FTPClient.Now while transferring set of files, few times it throws the error:Connection reset by peer: JVM_recv in socket input stream readThis error comes ...
Java(TM) Plug-in Fatal ErrorCannot load class sun/plugin javaRunTime.The Bridge was installes at <C:\PROGRA~1\Java\JRE15~1.0_0> but the class is not there Modify the registry key to reflect the new bridge location the key is HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Plug-in or change your ...
Here's my errorC:\Production\registration\WEB-INF\src\InternationalAction.java:31: package edu.globe.online.registration.form does not existimport edu.globe.online.registration.form.InternationalForm;But i add the right path inclasspath in my javac command.javac -classpath ...
Assume I have 3 Strings which potentially contain numeric values ...I intend to convert these Strings to a BigDecimal. If, for some reason one or more of the Strings do not contain a valid numeric value, I want to substitute a zero value....and then continue on processing the next ...
6629 byte By
claypa at 2007-10-1 22:11:48
Dont know if this is the right place for this.Getting this error message in the game folder for il2 Strumovik Forgotten Battles..Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6d4603f2Function name=JVM_FindSignalLibrary=C:\Program Files\Ubi Soft\IL2 Strumovick Forgotten ...
i need help getting the jvm.cfg for jre1.5.0_02 could someone help me.
I'm having a problem linking my Javadoc to the J2EE API. I don't get an error that it cannot find the package-list at the -link I use, but I get warnings about anything contained in the J2EE API not being found. The link for the J2SE API works fine. Here is the batch file I use to run the ...
I am a beginner here is my simple code:import java.awt.*;public class RootApplet extends com.sun.java.swing.JApplet {int number;public void init() {number = 225;}public void paint(Graphics screen) {super.paint (screen);Graphics2D screen2D = (Graphics2D) screen;screen2D.drawString("The square ...
321 byte By
medjavaa at 2007-10-1 22:25:08
I have a user whom we are trying to download JAVA to his machine. When it tries to install I get a 1708 error that it cannot find a file and it is looking for the file in a folder for IE 5.5 - He is currently on IE 6.0 so this folder does not exist. Has anyone seen this and can you help?Thanks ...
I have Oracle 9i App server and I am using jdev as IDE. I did the following1. Update java file (added 2 new methods) compiled and created class file2. Opened the class file through DJ decompiler and made sure that those 2 methods are created in the new class3. Updated jsp page and used these 2 ...
Hi,I am getting stackoverflow error when trying to create an instance of inner class within inner class. Please adviceNik
hi, im not sure on the details and all that, all i know is that over the last year i have been playing runescape on my pc fine. recently i had to reboot my pc to clear alot of the junk off it, upon reinstalling java for runescape i have started getting error messages. I use bt yahoo browser and ...
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d6ca9da, pid=2552, tid=1356## Java VM: Java HotSpot(TM) Client VM (1.5.0_04-b05 mixed mode)# Problematic frame:# V [jvm.dll+0x8a9da]Now, I guess that wont help much, would it?Does SWIN ALWAYS fail to work with the JRE 1.5 on XP?Is there a ...