I am receiving this error and i cant figure out whyThis is the error log from log file on the serverServlet.service() for servlet jsp threw exceptionjava.lang.NoSuchMethodException: Unknown property 'persondbao'at ...
I had a nasty typo in my code similar to the following: int i=0;...."abc".substring(i<2 ? 1 : null);This is semantically equivalent to "abc".substring(i<2 ? 1 : ((Integer)null).intValue());A decent compiler would evaluate the immutable expression ((Integer)null).intValue() at compile ...
Currently my installation script is messy because I discriminate between a DOS system or a UNIX system. This isnecessary, because java seems to be unable to use the file namingconventions and separator characters of the calling commandinterpreter (csh or cygwin-bash).I guess that it is ...
In my application I have MS SQL Server as database. The app server is WAS. Both are installed on different physical machines.When i restart my database server I am getting the following exceptions when i access my web application installed on ...
Heya. I decided to learn java and i've been doing the tutorials, recently i started the swing tutorials and the learn by example page. However, whenever I try to import javax.swing.* it gives me an error. SO you know, i am using the J2SDK 1.4.2 and netbeans IDE 5.0. Here's the error text and ...
Dear Friends,I have a Problem in Compiler,I getting error, in SUN WorkShop6 compiler in solaris8.# CC test.cppLicense Error : Cannot find the license server (prodserver)in the network database for product(Sun WorkShop Compiler C++ SPARC)Cannot find SERVER hostname in network database The lookup ...
824 byte By
Walasa at 2007-10-3 3:40:59
Hello JAVAersI want store, read, and display an input string, the characters in this string is not an English Characters, it is Arabic Character...Current State-String englishString = "ABCD";String arabicString = "أبتثج"; // if the arabic characters did not appear, ...
Hello,i'm giving a first try to new jdk6 compiler api. Consider the following test case:import junit.framework.TestCase;public class PojoCompilerTest extends TestCase {private String pojoSrc = "public class Foo { " + "private String name; " + "Foo(){this.name = \"foo\";} " + "public String ...
Hi folks,I'm trying to read a text file from a jar but having a few problems.My code looks like thisimport java.lang.Class.*;import java.io.*;public class test{public static void main(String[] args){String result="";result = getInfo("info.txt");System.out.println(result);}public String ...
For test purposes, I made three simple classes. Eclipse 3.2 (JDT) compiles them without error or warning. However, when trying to compile these classes with javac, I get the following errors:/com/test/sub/TestCompile.java:19: cannot find symbolsymbol : class TestInterfacelocation: class ...
Experts,i am facing this problem. i connect to the net by proxy (through office Lan). none of the java applets work for me. Need helpJava Plug-in 1.5.0_08Using JRE version 1.5.0_08 Java HotSpot(TM) Client VMUser home directory = C:\Documents and Settings\mkrishnanetwork: Loading user-defined ...
have an upload file operation in the web application. The web server is OC4J.//UploadForm.jsp<FORM NAME="InputForm" ACTION="UploadAction.jsp" METHOD="POST" enctype=multipart/form-data><input type="file" name="fileName">//etc ...</FORM>After I deploy the application to the web ...
Hi,this is my first application (copyed by an example).i don't understand why i found this exception:"Uncaught exception java/lang/ArrayIndexOutOfBoundsException"this is the codeimport javax.microedition.lcdui.Command;import javax.microedition.lcdui.Display;import ...
2216 byte By
tzvatota at 2007-10-3 4:04:04
Hi,I'm using javadoc (jdk1.5.0_07, eclipse 3.0.2) to export my project.During the export, I get a java.lang.NullPointerException.What can cause this problem?I have some external jar files in my project, some may not have their source files. Maybe that's problem?Here's the problem console ...
120 byte By
d.silvaa at 2007-10-3 4:06:10
I need help, when i play runescape tha it just closes by itself then i get this error "hs_error_pid" plz help me.
299 byte By
bess12a at 2007-10-3 4:10:09
Hi allI need help trying to compile and when typed (javac in command prompt) it says cannot find path. I downloaded the jdk1.5.0 and doc in my F:\ drive...My F: drive is my default drive.Still it's not recognizing the path the javac file is in....Help,
Hello,I'm developing a java decompiler and bytecode debugger application and have been playing around with JVMTI, in particular the SetBreakpoint function (so i can set a breakpoint on each instruction and step-through them).For example, I have a simple java method which calls ...
10752 byte By
JaMEs.a at 2007-10-3 4:10:45
Hi im new to java decided i would aquire the jdk about a week ago cannot install get same error have re downloaded and still get same install errorat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)at ...
1708 byte By
F.Tottia at 2007-10-3 4:13:12
// try compile it, y got runtime error ?import java.io.*;class TimeFormatException extends Exception {};class Time{private int hour;private int minit;private BufferedReader in;private TimeFormatException t;private int ansHour;private int ansMinit;private String ans;public Time(){in = new ...
Hello,I have a JVMTI agent written in C, controlled by a Java application and I want to be able to pass events (such as Breakpoint hit) back to the Java application.Is this possible? or am I simply going to have to use stdout?Many thanks, Joe
Hi,I need to get hold of the operand stack in my JVMTI agent and there is a function defenition for exactly what I want (getOperandStack()) in jvmdi.h but there is no implementation.I have googled this and found bugs lodged against this ...
Z:\Java\dloads>javac newage.javanewage.java:57: 'class' or 'interface' expected}^newage.java:59: 'class' or 'interface' expected^newage.java:41: cannot resolve symbolsymbol : method readline ()location: class java.io.BufferedReaderString my_job = br.readline();Thats the error i'm ...
326 byte By
uditBa at 2007-10-3 4:28:29
hey frnds,i m getting the following error evertime i run ne java prog.Exception in thread "main" java.lang.NoClassDefFoundError:'filename'my class path is: C:\Program Files\JavaSoft\JRE\1.3\lib\ext\QTJava.zip;it was working a few days ago, dont know what happend now.please ...
Hi,I am trying to create a .bat file to compile java files. I have created the .bat in the same folder as teh .java file I am trying to compile. I know the path is set to the proper folder to find the compiler, but I keep getting an error saying the system can not find the specified file, or ...
my problem is, that i am building DBMS project in Java which in the first place i shouldn't have done but anyways now the problem is that the people for whom i am going to make it for do not want to go out and work out of the boundaries ofths software(i mean this is one of the most important ...
I have a directory called myutil, and inside that, a class "PrintTeste". Out of package, one class called "Teste"...See the code:public class Teste {/** Creates a new instance of Teste */public Teste(){myutil.PrintTeste.mPrint();}public static void main(String []args){Teste teste = new ...
'javac" is not recognized as an internal or external command, operable program or batch filejdk SE 6 is already installed....but this comes out....did i miss somthing here...HELP!!!
I am using NetBeans. I am tring to run a program that use jung libraries. no error found when I compile it, but the following error come up when I run it.load: class AddNodeDemo.class not found.java.lang.ClassNotFoundException: AddNodeDemo.classat ...
356 byte By
jo_pea at 2007-10-3 4:39:46
I fear this is quite a beginners question...The text of a class documentation must contain words that start with an "@" symbol because this is the kind of data the class processes. How can I prevent the error message "@someword is an unknown tag"?(This is unfortunately not mentioned in the FAQ ...
been trying to compile my program from a long time and i'm coming across this error during runtime ...the exact error dat's coming when i run it isException in thread "main" java.lang.StackOverflowErrorat sun.awt.X11GraphicsConfig.pGetBounds(Native Method)at ...
Can someone help me? I am getting "cannot find symbol" error in my code and cannot figure out why. Here is my code:public class toyInventory {private String[] toyInventory = {"ball", "bat", "bear", "car", "doll", "game", "glove", "playstation", "train"};private int[] nineArray = ...
I want to implement java program spcially Packet-capture using jNetDev.jar, For this I download all the nessary files as requied as Follows1. I installed Wincap 3.1 on Windows xp2. I m using J2SDK 1.43. copy all the necessary files(jNetDev.jar,jNetDev.dll ) in working directory4. set the ...
Hi I need help,..every time I sign into a website I get the Error Java General Exception Message...Im not a computer wiz so i have noooo clue as to what to do ..IHELP PLEASE
386 byte By
Mancya at 2007-10-3 5:20:39
Hi, I am new to java and ur help would really be appreciated.When i try to compile a program i get following error:'javac ' is not recognized as an internal/external command. I did set the path through the control panel as:C:\Program Files\Java\j2re1.5.02_07\lib\ext;C:\jdk1.5.0_08\binStill ...
I'm not quite certain if this is the correct place to post a Netbeans question, but I thought it might be worth a try. I am running Netbeans 5.0, and I am only writing quite simple programs at the moment. But when I have tried to run programs using various input/output classes, the compiler ...
278 byte By
lmsilvaa at 2007-10-3 5:24:32
Hi,I am trying to generate documentation with the javadoc tool but I am unable to do it with my .sqlj source files. With normal .java source files I have no problems. Is this a limitation of javadoc or is there a way to do this?thanks in advance,Luis
hi,experts,i have one problem,in exception handling i am throughing SQLException from one method of class which is returning int data but it will give the NullPointerException, when i am calling this method in another class.please give some hints.,
Is there a way to get javadoc generated for non-.java files? We are using WebLogic Workshop and they have some proprietary file extensions (.jpf, .jcx, .jcs) they are using, however, the code inside of them is just like a java file. We have a lot of javadoc in those files, but it is not ...
I'm sort of new at this so i need help with a few things... I'm making a program to compile wages and i need answers with three things: a.) what are the error messages im getting meaning? b.) How can i calculate the state tax as 2% of my gross pay with the first $200 excluded and c.) how can ...
399 byte By
Betaa at 2007-10-3 5:29:43
Did some search but did not found an answer on how to javadoc enum values. For example if I want to describe the values 'first' and 'second'?/*** Some enumeration*/public enum Enumm {first, second};Should it be done like this?:/*** Some enumeration*/public enum Enumm {first /**Desc for ...
1680 byte By
Matedoga at 2007-10-3 5:41:22
Hello Everybody!! I have a so called "school homework" and I need help, please. Here is the code:(by the way, if something is wrong with the code tell me): import javax.swing.*;class Complex{private double rd, im;public Complex(){}public Complex(double ...
2238 byte By
will608a at 2007-10-3 5:41:43
Hi,Anyone know why javac.exe allows the following program to be compiled, and why java.exe allows it to be run, all without any circularity errors or warnings?//Test.java//Demonstrates cyclic behavior that's not caught by compiler.//Program is allowed to run (first problem), and//gives ...
When I try to run yahoo spades games and log-in, my page freezes up. I am aware that I have to allow pop-ups in order to play, but it completely shuts the computer down, I just received a new computer and it did it so many times that I removed the existing java program and downloaded the newest ...
266 byte By
LeDieua at 2007-10-3 5:47:05
Hello,I am working in a netbeans 5.0 IDE. Ant i have a method that is created by netbeans. This code is not editeble becaus it is in a read-only block.You can delete methods but there is a referenc.How can i delete this code.LeDieu
I've tried installing Netbeans 6 M3 on Vista RC1. As soon as the installer starts is says that "The installer is unable to run in graphical mode..." and "try running with -console or -silent flag"I've then tried installing from command prompt using "-silent" flag and it seems to install fine. ...
My target is getting informations about the cpu used by all the threads running in the VM. Printing out I always see the some value for the cpu-time... and it's equal to the max_value of the cpuTimeInfo struct...I can't understand what is wrong... can you help me please?here is some parts of ...
My goal is to let custom classes inherit method comments from overridden methods of jdk classes. From the doctool documentation, I would assume that the way to go is to set the path to the jdk sources in the -sourcepath option. My problem is that this doesn't seem to work at all - looks like ...
After I scan a document using my HP 1310, I am unable to open it. I click on the file to open it but I keep getting the following message:JAVA VIRTUAL MACHINE LAUNCHERInvalid or corrupt jarfile:C:\Documents and Settings\My Documents\scan.pdfCan someone tell me how to fix this problem? I am ...
I'm a little frustrated that Netbeans won't even let you create a 'package-info.java' file because of its naming rules. Is there any way to get around this?
842 byte By
SRGa at 2007-10-3 5:56:38
Hi, We migrated to JDK 1.5 from 1.4.2, and found that the path of classes (Configuration.class, DirectoryManager.class, HtmlDocWriter.class) has been changed in the tools.jar file.I changed the import path of these classes in the application. But there are some methods which were available in ...