memory out of bounds

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

Problem with compiling files in a folder

362 byte By snehlsa at 2007-10-1 21:46:14
Hi,i have a folder with several java files in it, if i compile every file with javac file1.java and so on, it works fine for every file except one.But if i try javac *.java, the compiler doesn't generate any class files. Why doesn't he generate class files for the java files, that work ...

FindClass() throws java.lang.UnsatisfiedLinkError exception

3913 byte By showmenexta at 2007-10-1 21:47:06
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: ...

class extends class at same package compile problem

198 byte By TMarya at 2007-10-1 21:47:58
Hi all,I have problem on compile, I guess I don't understand the classpath, hop got help!see http://forum.java.sun.com/thread.jspa?threadID=655377&tstart=0thank you!

Run main project error

280 byte By rickywooa at 2007-10-1 21:51:27
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

ClassCast Exception

522 byte By EverteMaxa at 2007-10-1 21:51:44
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 ...

Problem with ant.

695 byte By Sekha at 2007-10-1 21:53:32
Hi,I have installed ant 1.6.5 and weblogic 8.1. I have set the classpath as c:\apache-ant-1.6.5\lib\ant.jar;C:\bea\weblogic81\server\lib\weblogic.jar;.;I am getting the following problem when i run the ant build.Invalid implementation version between Ant core and Ant optional tasks. core: 1.6.5 ...

Run main project error

478 byte By rickywooa at 2007-10-1 21:54:21
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 ...

help to wite a prog...

473 byte By adi_Herzoa at 2007-10-1 21:54:32
Hi, I am trying to programm a simple thing. I want to have a mask with 2 Buttons ( one with +1 & other -1 ) & 2 fields (one for read other for write ). With read i want to be able to read a variable ( var1 , which i have ) , with write i want to write var1. With the butto +1 it has to ...

Weird uncheked warnings when creating Map<String,String>[] array

932 byte By harsharamesha at 2007-10-1 21:54:36
Hi All,I am facing a rather funny situation here. I have a Map[] which is typed as Map<String, String>[] .. now if i have the following code: ... Map<String, String>[] m = new Map[size]; ...I get the following warningfound: java.util.Map[]required: ...

static method overwrite

830 byte By zogtheboguea at 2007-10-1 21:55:16
Hi allI just realized that the 1.5 compiller changed the method overwritebehavior. Now, something likepublic class Main { private String s; Main(String s) {this.s = s; } public Main getOne() {return new Main("Main"); } public static class Sub extends Main {public Sub(String s) { super(s); ...

Deleting Java Objects in Internet Explorer

718 byte By pitsnipea at 2007-10-1 21:57:35
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 ...

Javadoc with Ant

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

Error: "Unable to compile class for JSP"

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

java.lang.nullpointerException error

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

Connection reset by peer: JVM_recv in socket input stream read

410 byte By akhil_guptaa at 2007-10-1 22:07:22
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 Error

461 byte By rajeshnr@mailb0x.coma at 2007-10-1 22:08:12
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 ...

classpath problem

420 byte By maxlianga at 2007-10-1 22:08:28
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 ...

Try-Catch

965 byte By ramrod1460a at 2007-10-1 22:09:04
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 ...

Help Java error

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

jre1.5.0_02 jvm.cfg help needed

77 byte By UNSCODSTa at 2007-10-1 22:12:53
i need help getting the jvm.cfg for jre1.5.0_02 could someone help me.

why always cannot find the class file when trying javap

131 byte By Wuxi7227a at 2007-10-1 22:15:41
I try to javap a class file,Though I set CLASSPATH already. still error :Could not find MyHello.class. Any body help?

Javac: compiling java file only if necessary

317 byte By motzusfaulusa at 2007-10-1 22:17:07
hello,i have the problem that i want to compile a java file only if there are any changes...i don't want to use any other "tools" than the compiler (javac) but no third party apps...is there a solution for my problem...perhaps with a little shell script? or is there an easier solution? thx for ...

Help linking to J2EE API

612 byte By Jeremy_Sa at 2007-10-1 22:24:32
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 ...

Please Help Me I am stoped at this point

842 byte By aghayesinaa at 2007-10-1 22:24:46
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 ...

Help with a JAVA download

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

Method not found

544 byte By vshah007a at 2007-10-1 22:25:45
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 ...

Application

303 byte By vaiyenvonga at 2007-10-1 22:28:09
I got a message when I use the Java the class file.the wrong message said that no class Def found error.Can anyone help me to solve the problem?Thank you for a lot.I think it is linked to the classpath problem?but how to adjust? I use the JavaJ1.5.0_04 ...

StackOverflowError

142 byte By panik100a at 2007-10-1 22:32:54
Hi,I am getting stackoverflow error when trying to create an instance of inner class within inner class. Please adviceNik

Trace class dependency at compiletime

786 byte By M_Hjortzena at 2007-10-1 22:36:20
Hi!I am experiencing an irritating problem - some packages are automatically compiled that I haven't specified, of course because something that I am compiling references these other packages.The package i am compiling (using ant) is meant for a plugin 1.3 enabled browser and some of my other ...

Incompatible types error with ANT build, compiles fine with MyEclipse

964 byte By javvvaa at 2007-10-1 22:38:11
The code below compiles fine with MyEclipse but does not compile for Ant with incompatible types error.incompatible types; inferred type argument(s) ? do not conform to bounds of type variable(s) [javac] found: ...

C prompt doesn't work

132 byte By dunlapfa at 2007-10-1 22:38:12
When I use textpad I can compile java and Run app just fine but at the C prompt I it says it can't read it. can anyone help.

Browser crashing, jvm.dll = error

656 byte By Mark_kulaa at 2007-10-1 22:38:18
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 ...

MyApp + Swin2.0 + JRE 1.5 + XPSp2 = Error in HotSpot Virtual Machine

442 byte By Daij-Djana at 2007-10-1 22:38:39
# 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 ...

wanna change the environment variable at redhat 9

507 byte By mr47a at 2007-10-1 22:39:06
i have Linux redhat 9 distro... my JDK 5 resides on the following directory /usr/java/jdk-1.5.0_04every time i compile the my java program i have to specify the full path into the shell like this:root@localhost# /usr/java//jdk-1.5.0_04/bin/javac MyJavaFile.javaotherwise the shell compile with ...

Invalid Handle Exception!

1308 byte By Kolo_Rahla at 2007-10-1 22:41:11
Background: I have a SQL database created and maintained via MS Access 2003. I use JDBC to connect and interact with this database. So far my program has been able to do everything from querying a table to inserting new rows to deleting others, but has had no luck with updating rows either ...

NoClassDefFoundError

847 byte By Infuciusa at 2007-10-1 22:44:45
Running Linux Debian Live Knoppix CDMade basic hello world program.class Hello { public static void main(String[] args) { System.out.println("Hello World!"); }}Compiled it with the javac command: javac Hello.javaWhich made an Hello.class in the same dirI then try : java Hello.classThats ...

java error in ei !

5304 byte By 4212200a at 2007-10-1 22:44:59
hi...i had an error in enternet explorer at the java .the error is :Java Plug-in 1.5.0_04Using JRE version 1.5.0_04 Java HotSpot(TM) Client VMUser home directory = C:\Documents and Settings\adminnetwork: Loading user-defined proxy configuration ...network: Done.network: Loading proxy ...

Bean create & use

3032 byte By el_Pakoa at 2007-10-1 22:45:50
Hi All,I have problem with a jsp page which use a bean! Perhaps I get wrong when I compile the bean file "Login.java" or I place "Login.class" in wrong place! Can you tell me where I must place compiled file in TOMCAT folder?The error displayed ...

Correct Sequence for a File

465 byte By rooikopa at 2007-10-1 22:46:14
Hey me first postUhm ya im doing my school project and i use this file path "C:\Documents and Settings\William Ryan\My Documents\School\Comp\Project\Aston_Martin_V12_%20Vanquish-001.jpg" and in the "Ready to Program" i use to code it comes up with this error "Error: The value of this "String" ...

.jar includes jdbc driver but doesn't work

1019 byte By mglowackia at 2007-10-1 22:46:44
Hi I'm quite new with Java. I've just created my first app in java, it's some kind of CMS. I have to give to my friend who can only install JVM and I can't set up his computer, because he lives in other city. What's the problem then: I tried to compile (build) complete file with jdbc ...

brand new boy having probs with first program

274 byte By llamaa at 2007-10-1 22:47:53
Brought a book, down loaded the zipped JDK from web site, unzipped and can not find either javac.exe or java.exe. Used note pad to write first program as per book but could not get it to run.tried to go through comand prompt but still no joy.Please help

How to create a .exe file with eclipse 3.1

544 byte By CaptainGhosta at 2007-10-1 22:53:37
Hello every body. I want to know how create a .exe file with eclipse 3.1. A friend tell me it's possible but he forgot how ! So I ask my question ay you, how can I do that? I think it's like in Dev-C++, when he compiling the programme he createa .exe file but in eclipse, i don't know how do ...

EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x0

9431 byte By DOUGLAS_JavaHelpa at 2007-10-1 22:56:19
I'm receiving the following exception and would like to understand what is the cause.An unexpected exception has been detected in native code outside the VM.Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x0Function=[Unknown.]Library=(N/A)NOTE: We are unable to ...

I have a suggestion: Java should have JSDN instead of JDOC

116 byte By kaihua1a at 2007-10-1 22:56:20
For C/C++ We have MSDN. Why Java has not JSDN?I suggest. Sun should also develop JSDN instead of JDoc.

error running...VERY URGENT, PLEASE

1025 byte By juaasloa at 2007-10-1 23:04:07
Hi everyBody.I am programming a GUI with NetBeans 4.1, which uses javax.comm API to use serial port of computer. I have finished my GUI and it always run OK when I use NetBeans. I installed properly the API and I selected the API to be used also in NetBeans. Then I created a .jar file to run ...

Java Spring Problem

13430 byte By DeepanTa at 2007-10-1 23:09:58
I'm new to the Spring Framework, and was trying out a tutorial to get started. The details of that tutorial is here: http://www.springframework.org/docs/MVC-step-by-step/Spring-MVC-step-by-step-Part-1.htmlI've gotten through the first part up till the point where he says to use the 'list' ...

java.lang.ClassCastException

1641 byte By BazZa at 2007-10-1 23:17:38
Hello, i'm writing a conduit for synchronizing a SQL database (from our own application) with the Palm handheld. I'm writing this one with Java and the JSync suite from the CDK 4.0.3. I'm writing the conduit from the Sample addressbook conduit: "addrcond.java" (with the same methods etc.) ...

compiling

220 byte By drake01a at 2007-10-1 23:18:50
Upon compiling a piece of code, the compiler gives me an error message saying it cannot recognize a file (javax.comm), even though it is in the Java folder. is there something I need to add to the compile command?

using classpath

154 byte By drake01a at 2007-10-1 23:19:12
when compiling a piece of code, the compiler tells me a file imported in my code does not exit. How do I use classpath to make the compiler see it?