I have copied the application into the JDeveloper 9i and compiled the application. when i select one of the jsp's in the application and say run, i get this message and the page woudn't run. The message it shows in the console is : THE SYSTEM CANNOT EXECUTE THE SPECIFIED PROGRAM. Please help ...
Hi all,i am using tomcat 4.12 and jdk 1.4.2.when multiple users accessing our application, each page takes time to load. so i have found memory leak is exist in jsp and servlet file. how to solve the memory leak problem in jsp and servlet.give me some tips on using variable and creating object ...
1920 byte By
mae_14a at 2007-10-2 5:20:24
import java.io.*;public class choice3{public static void main(String[]args)throws IOException{BufferedReader dataIn= new BufferedReader(new InputStreamReader(System.in));//declarationschar letter;String sss;String med;double tot;double ss;double me;//inputSystem.out.println("A. ...
Hello allI have a huge program and i'm getting this error message while the application is running a while : java.lang.OutOfMemoryError<<no stack trace available>>the problem is that this error can happen in any position of the code, while the application encounters and Out of ...
Can anyone help me with a problem I'm having?I am currently trying to automate generation of the locale specific public API document for the product we make.Part of this documentation requires that some of the generic classes we use are also shown in the this document. Obviously im using ...
HelloWhen I compile the HelloWorldApp.java program. I have this problem:I get: error: cannot read HelloworldApp.java. What can I do?In addition, How do I use the options? For example:javac -g HelloworldApp.javaI get an error saying that I did not use well the flag g. Is the command bad ...
hi just now i have installed my jdk-1_5_0_05-windows-i586-p and i have set all th classpath as directed in the manual but i still get the error message while i run the hello program .the error message is :Exception in thread "main " java.lang.classnotfound error :java/helloPl help me regarding ...
Hi,Can any one tell me how can i get rid of this "Uknown Source".a.b.CException: d.e.f.GException: Bla bla bla blaat a.b.C.a(Unknown Source)at a.b.C.b(Unknown Source)at a.b.C.c(Unknown Source)at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)at ...
Hello I am glade to know this forum, I bet it is muche better than my instructor, any how ..I am trying to do my first java program, the progam is working properly on netbeans 4.1 with jdk1.5.0, but when I go to the command prompt on windows XP it dose not work, other programs work in the ...
359 byte By
sckennea at 2007-10-2 5:37:12
I'm using Eclipse, and I'm able to build and deploy fine, but when I try to undeploy, I get the following error:java.lang.NoClassDefFoundError: org/apache/xalan/processor/TransformerFactoryImplThis happened last week on the build and deploy, but I was able to clear it up by restoring defaults ...
489 byte By
Rania at 2007-10-2 5:38:11
HiWhen we are using java.io.DataInputStream some garbage value is coming import java.io.*;class DataDemo{ public static void main(String ar[]) throws IOException {DataInputStream dis=new DataInputStream(System.in);double d=dis.readDouble();System.out.print("ERRRRR"+d);} }when we input 234.66its ...
I am trying to passa a long string to a shell process through java,call is like Runtime rtime = Runtime.getRuntime();String callAndArgs[] = {"/apps/jetty4/jstest/jstest.sh",jarCo,queue,text};Process child = rtime.exec(callAndArgs);here the string text is ...
i dont know if this is the right place to post this.. but... ehhwhen i try to compile these two programs i get errorsThis program is saved in Item.java and it compiles finepublic class Item{private String name, desc;private double price;private int amount;public Item (String name, String desc, ...
727 byte By
canma at 2007-10-2 5:46:55
Hi,When i try to play an online game called runescape i get this error in java console.Vend:Sun Microsystems Inc.Error: 93786, p11_full, UADEKHTI@94af2f, false, false, java.lang.NullPointerExceptionError: loaderror Connecting to web server 20java.lang.RuntimeExceptionat CWAVEVZK.a(Unknown ...
1145 byte By
BRBadea at 2007-10-2 5:47:58
I have been having multiple issues trying to compile stubs/skeletons using the rmic command on a program that I wrote under both Windows 98 and XP, both with java 1.5.To simplify things, I tried using a HelloWorld example from the internet as well, but to no avail. I am generally confused about ...
Now I don't know if I'm posting this in the right area but here goes:We currently have a few new laptops which all see to get the same error when trying to load an arcGIS City Map java application from a website. This only seems to happen on some laptops - desktops don't seem to have this ...
170 byte By
Monoxa at 2007-10-2 5:48:34
Hi guysIn order to sell the application it needs to be in a format like and .exe (obviously) file format etc... how would i do this?Help appreciated.
2699 byte By
Vasua at 2007-10-2 5:48:58
Hello,I am not getting thread dump properly in jdk1.5 when I use 'jstack <PID>' I get the below exception "sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp" in the console in the Linux ES and Redhat.I set ...
I don't know what to paste from the file(s) here, got 3 errors on short time.So I'll just paste the whole thing. could anyone help me fix this?# An unexpected error has been detected by HotSpot Virtual Machine:## EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x011dcb5b, pid=4400, tid=4216## ...
Hi,When attempting to build against a class that uses runtime annotations, javac is crashing with:An exception has occurred in the compiler (1.6.0-rc). Please file a bug at the Java Developer Connection ( http://java.sun.com/webapps/bugreport) after checking the Bug Parade for duplicates. ...
Hello, folks:I just run this program by Javabean example from a book, but I can't compile this programpackage com.wrox.library;public class Book {public static void main (String arg[]){private String title;public String getTitle(){return title;}public void setTitle(String ...
the file size is 820Kb.it was not getting compiled with a jasper compiler so i used a plain javac to try and compile and even that failed.Previously i had done the same for a 640k file and javac had worked fine but now it doesnt.Does even javac has a limit please feel free to suggest solutions ...
535 byte By
shakmoha at 2007-10-2 5:56:54
I run a java program that was supposed to load data on a pointbase. The program had this "com.pointbase.jdbc.jdbcUniversalDriver" and "jdbc:pointbase:server:localhost/sun-appserver-samples,new". The program run successfully, showing tables were created and inserted message. But, when I run ...
When I compile java using me text editor everything is as smooth as sand but when I go to my ms-dos prompt and type javac Root.javait turns out to be a bad comand. I have windows 98SE btw and don't understand what the problem is?Now my real problem is when I get my java file to compile using ...
662 byte By
mac1980a at 2007-10-2 6:04:26
the compiler seems to be eating my code for some reason.pls take a look and help me.here is the fragment of code before it compiles,for (int i=0; i < quotes.length; i++){// some code}when I compile it I get the error,";" expected for (int i=0; i quotes.length;i++) it simply removes the ...
Hi all,I am rather certain that I did not code this code wrongly but I am feeling weird why NumberFormatException is caught when the string is all "111111111111111". Here is the code below:public boolean isAddressValid(String address){boolean ...
4382 byte By
som4a at 2007-10-2 6:07:55
Bit of a beginner here so forgive any bad java.I can't figure out why its happening? As far as i can see the squares array has been created and exists. It happens on the first loop too so its not pointing to square[10] or something like that. Below is the square.class code too./** * Grid.java ...
852 byte By
aiwushia at 2007-10-2 6:09:11
the java source file wihtout package name is in d:\prj\source\testmain.java CLASSPATH =d:\prj\source;C:\eclipse-SDK-3.1.1-win32\eclipse\workspace\EMSchecker;C:\Program Files\Java\jdk1.5.0_05\jre\lib\rt.jar;C:\Program Files\Java\jdk1.5.0_05\jre\bin;C:\Program ...
hie everyone...i am quite new to java and can anyone teach me how to read the Java API Documentation...i did see the documentation but all just mention something like this:public ServerSocket(int port) throws IOExceptionhow do i know what to do and how do i implement into it? for an example i ...
173 byte By
DnsDMnsa at 2007-10-2 6:14:22
After tyring to set the path for javac according the tutorial directions I get an invalid path error. Please help me so I can get started!Thanks,DnsDmns
Hi!I want to do the jdbc connectivity through Applet with oracle.When I try it through main() it works but when the samething I try through Applet it shows following at runtime:D:\anurag\java\jdbc>appletviewer jdbcapplet.javajava.lang.NoClassDefFoundError: oracle/jdbc/OracleDriverat ...
can someone please help me debug this code, it works out an average of signals and smooths them out:import javax.swing.*;class week10{ public static void main (String args []) {String intInput = JOptionPane.showInputDialog(null,"Enter the number of signals","Homework ...
I have:public interface ActionControl<C extends ActionControl<C>> extends Control<C>{public ActionModel getModel();}public interface ValueControl<V, C extends ValueControl<V, C>> extends Control<C>{public ValueModel<V> getModel();}public interface ...
Hello, I am new to java and am having a problem. I am working on a simple class that processes data then another program that tests to see if it is working with try catch blocks and exceptions. My problem is whenever I call on a class that uses my created NoDataException exception in my main ...
I have developed a sample scheduler that it a web page the user fill in and then create a process schedule by the Timer class. The process starts IE in order to automate data entry normally done by a user. The Java code run well but IE when start from the p = Runtime.getRuntime().exec() class ...
Howdy - am in the process of creating a program where a user enters the number of people in their family. The loop is suppose to loop the number of member in their family.. I got it to loop but it gives me a error stating that the int needs to be a boolean.. i am not really sure what it asking ...
Howdy - am in the process of creating a program where a user enters the number of people in their family. The loop is suppose to loop the number of member in their family.. I got it to loop but it gives me a error stating that the int needs to be a boolean.. i am not really sure what it asking ...
183 byte By
dacarTRa at 2007-10-2 6:27:36
I recently installed jdk 5.0 update 5. I cannot find file com/sun/tools/javadoc/resources/standard.properties file under tools.jar. Where can I get it?Thanks,Dinc
can somebody help me how to set classpath from file if we have more than 10 jars Thanks
257 byte By
Falzara at 2007-10-2 6:29:25
Hi, I am new so please bear with me. I use a computer system at work and will pop open an internet browser window. Now, I cant install a popup blocker so I need a java script that will automatically close a popup for the google site. Can anyone help?
Exception in thread "main" java.lang.NullPointerException at Chat1bak.run(Chat1bak.java:132)at Chat1bak.main(Chat1bak.java:69)Here is my code:import java.io.*;import java.net.*;import java.util.*;import java.awt.*;import javax.swing.*;import java.awt.event.*;import java.text.*;public class ...
the tutorial is saying that i need to create and appropriate class path. i know wer to go to set it but what should i set it to. if that makes any sense. you see im trying to run the hello world program and ive tryed everything but setting the classpath variable so that the os will know were to ...
I'm not exactly what to even call this question.Right now, I have an application for uploading files to a special server on a network. So people can access this program on any PC on the network, I'll be putting the files on the server and then putting shortcuts to the executables. However, ...
433 byte By
gmonieya at 2007-10-2 6:38:39
Hi,I have a large number of classes, and I wanted a quick utility tool which would find all the public/protected fields & methods which are missing javadocs entirely.I looked in the javadoc specification, as well as searched google, but came up empty.I was really hoping this would already ...
How do I include code examples with generics that contain angle brackets,such as Collection<String> without having to use HTML entities like < ?
Hello,Im working on insurance application, it was developed some 5 years ago by different team. They have used Servlet for user interaction and business logic also in servlets. The scenario:We have a form (servlet) where the user can select no. of vehicles for insurance. There is something ...
Hi,I'm a java newbie and I'm having a runtime error concerning my use of the drawImage method. I am utilizing a JFrame and BoarderLayout. In the north quardrant I have added a JPanel. In this Jpanel I am tryign to draw an image. My code IS compiling correctly, but when I execute I recieve ...
I'm creating a client and server program and I'm having some odd troubles. I have the server and client connect to each other and then use ObjectInput and ObjectOutput streams to transmit data. The trouble comes up at a particular point in the program where the client sends a string to the ...
175 byte By
DnsDMnsa at 2007-10-2 6:45:26
"Class clickme is public and should be declared in file clickme"?I typed "public class clickme extends"... and get this error message.I don't understand.
I have to make a binary search tree for a class I'm in. Here are the assignment details. * Each node in the tree can hold one and only one Object associated with the node. * Each node has a unique integer identifier and can have a left child node and a right child node.* The unique identifiers ...