JDeveloper: The system cannot execute the specified program.

350 byte By DeveloperBujjia at 2007-10-2 5:18:29
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 ...

memory leak problem in jsp, servlets

512 byte By memory_leak_problem_efirsthelpa at 2007-10-2 5:19:07
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 ...

can anybody help me about loops?

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

Out of Memory

415 byte By George_Smitha at 2007-10-2 5:27:12
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 ...

External HTML files

841 byte By java_lovera at 2007-10-2 5:28:19
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 ...

error: cannot read HelloworldApp.java

338 byte By aerialita at 2007-10-2 5:31:39
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 ...

Error

320 byte By savi_chandya at 2007-10-2 5:32:54
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 ...

Unkown Source

768 byte By foxhound.tigerfosxa at 2007-10-2 5:32:58
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 ...

can't create a .class file

606 byte By hadiinboxa at 2007-10-2 5:33:36
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 ...

Error on undeploy

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

when we are using java.io.DataInputstream and method readInt()or read doubl

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

Passing long string to shell script from java

950 byte By vishal_biyania at 2007-10-2 5:40:10
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 ...

Error in Java code

6202 byte By darkforce898a at 2007-10-2 5:41:10
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, ...

Java applet error

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

rmic Compiling issues.

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

jscript.dll Error

16833 byte By bjorn.pattersona at 2007-10-2 5:48:10
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 ...

Making an appllication "sellable"

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.

Help - ThreadDump issue with jstack <PID>

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

EXCEPTION_ACCESS_VIOLATION - Azureus crash - hotspot java error

18851 byte By jorgendna at 2007-10-2 5:51:21
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## ...

Annotation-caused compiler crash

2565 byte By cjtuckera at 2007-10-2 5:52:33
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. ...

java.lang.NoClassDefFoundError: Book

604 byte By shenchuana at 2007-10-2 5:53:15
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 ...

code too large for public void _jspService

385 byte By demonheada at 2007-10-2 5:55:49
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 ...

pointbase error

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

Need Help Compiling!

589 byte By JavaBrewa at 2007-10-2 5:59:37
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 ...

compiler removing "<" and ">" operators

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

NumberFormatException

1147 byte By raymondgoha at 2007-10-2 6:05:35
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 ...

Null pointer, but cant figure out where from?

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

error: cannot read testmain.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 ...

help on Java API Documentation

689 byte By Balfleara at 2007-10-2 6:10:32
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 ...

beginner

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

jdbc connection to oracle through Applet.

3361 byte By anurag_patila at 2007-10-2 6:17:46
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 ...

ArrayIndexOutOfBounds ERROR HELP ME PLEASE!!!!!!!!!!!!!!!

1097 byte By markus1210a at 2007-10-2 6:21:37
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 ...

incompatible, unrelated return types compile error

2078 byte By GarretWilsona at 2007-10-2 6:23:24
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 ...

..exception..must be cought or declared to be thrown HELP

872 byte By nonamerata at 2007-10-2 6:24:43
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 ...

Weird behaviour with Runtime.getRuntime.exec() attempting to start IE

3051 byte By fran6_1972a at 2007-10-2 6:24:48
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 ...

loop error

590 byte By Blinktrisha at 2007-10-2 6:25:17
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 ...

blinktrish

493 byte By Blinktrisha at 2007-10-2 6:25:19
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 ...

Cannot find "standard.properties" file in tools.jar

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

setting classpath from text file

101 byte By sushilsingh27a at 2007-10-2 6:29:20
can somebody help me how to set classpath from file if we have more than 10 jars Thanks

Auto close popup

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?

What does this error message mean?

3733 byte By Andys2coola at 2007-10-2 6:34:43
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 ...

how can i figuere out my classpath variable

452 byte By paranoidboytoya at 2007-10-2 6:37:38
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 ...

Compiling on a Server?

735 byte By ThomasOwensa at 2007-10-2 6:38:37
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, ...

is there a way to find out missing javadocs?

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 easily include code examples with generics with angle brackets

171 byte By dhkramera at 2007-10-2 6:38:59
How do I include code examples with generics that contain angle brackets,such as Collection<String> without having to use HTML entities like &lt; ?

session problem

885 byte By subi_phoenixa at 2007-10-2 6:41:48
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 ...

Run-time error with drawImage

730 byte By Captain_Erica at 2007-10-2 6:42:58
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 ...

Strange EOFException

811 byte By DualMonitor1551a at 2007-10-2 6:44:44
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 ...

ClickME!?

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.

Error Messages with a Binary Search Tree

11310 byte By ShibbyMicka at 2007-10-2 6:46:28
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 ...