1066 byte By
ngacta at 2007-10-1 18:16:35
Hai,I am new to java programming. I am trying to invoke native application using JVM. I have a written a pilot code in C using JNI. I am getting the following error when I try to run the binary. I think that the problem is from the fact that 1.2.2 is installed in/usr/bin directory (and is the ...
OK, I'm going to be really dumb, here.I'm completely new to JAVA and am trying to teach myself using the J2EE Tutorial found on the http://www.sun.com website.Basically, I've created a *.java file and compiled it fine. However, when I try to run the file I get the following error.Exception ...
50 byte By
logic_ia at 2007-10-1 18:18:48
hi allplease clarify me this doubt .
I have been wrestling with this for a while now with no progress. I downloaded the documentation from the Sun website and put it in the same directory as my JDK (I'm using 1.5.4). As per the directions in the help file, and some other threads in this forum, I went to the Java Platform Manager, ...
I'm using the NetBeans 4.1 IDE, and I have both JDK 1.5 and 1.4.2 installed on my computer (Mac OS X). Both JDKs are registered in the Java Platform Manager (JDK 1.4.2 is default). I have specified JDK 1.5 to be the library to use for my project (under the Libraries section in the Projects ...
458 byte By
yukuna at 2007-10-1 18:28:50
I use Runtime to create a process and execute external command in Unix environment, but I encountered a problem, when the external command include pipe line "|" then be failed to execute, is there any limitation to use exec() in Unix?for example: Runtime rt = Runtime.getRuntime();Process proc = ...
I got a problem that is very strange. I have two source files saved in the same directory: E:\Java ProgrammesFirst one: A.javapackage util;public class A {public int add(int x, int y){return (x + y);}}Second one: B.javaimport util.*;public class B {public static void main(String args[]){A a = ...
75 byte By
Shageya at 2007-10-1 18:35:15
Is it possible to remove records completely from a randomaccessfile?
I am recieving the following message, along with being booted from iexplorer. Please help!hs_err_pid2400An unexpected exception has been detected in native code outside the VM.Unexpected Signal : unknown exception code occurred at ...
hiHow can i download the api for j2se. Checked the download section and i can't seem to find how to download it
Whenever I go into ANY Java program, it runs fine, but then whenever I type a key on my keyboard, I hear a DING from the speakers and a click from the harddrive....it is REALLY frustrating,, i'm playing the famous Java online game Runescape and cant even chat away with friends without being ...
i open up java and it opens up but its totally blank all i see is a white screen whats causing this?
751 byte By
Ingudama at 2007-10-1 18:43:32
Hi, About 20 instances of my application is connecting to a single DB (MSSQL Standard 8.0 ). Earlier all the instances could connect, but after sometime, I am getting the following error.It would be great if anyone facing such problem earlier and resolved could help.SQL connection get returned ...
229 byte By
Miikee_a at 2007-10-1 18:44:43
Hello!I have written 8 taglets. Is it possible to combine them into or with one class?I am asking because I do not want to write a "-taglet" command line argumentfor every single class.Thanks...
I got 3 .java files from one Java tutorial as follow:Server.java (in package mygame.server)Utilities.java (in package mygame.shared)Client.java (in package mygame.client)All the above files are placed in "E:\Java Programmes\source"After compiling, i got correspponding .class files:Server.class ...
Hello,I am using a Vector to store data of type int and keep getting these warnings at runtime ..Note: C:\Java\prog1.java uses unchecked or unsafe operations.Note: Recompile with -Xlint:unchecked for details.Recompiling as specified above yields:warning: [unchecked] unchecked call to add(int,E) ...
14321 byte By
UMITa at 2007-10-1 18:52:32
I try to connect to a chat room but the browser closes abruptly and leaves an error log on your desktop## An unexpected error has been detected by HotSpot Virtual Machine:## EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x77f75696, pid=4092, tid=2024## Java VM: Java HotSpot(TM) Client VM ...
235 byte By
manveena at 2007-10-1 18:58:24
How do I omit producing javadocs for all methods that do not have a /** */ javadoc style comment. i.e. I don't want javadocs generated for methods that have no comments or have c style comments? /* */thanksManveen
When I try to open Java, it appears for a second and then closes. Sometime, when I keep clicking eventually it stays open, but that is rather rare. This happens when i try to open Yahoo slideshows, calendars when booking airline trip and more.. I have latest version, recently reinstalled ( ...
ok hres my problem.i have a box in my program and the box which is codedla.gfe(295, l, 75, 35); dla.gfd(295, l - 6, "FoodID:", 4, false); FoodBox = dla.gfj(295, l + 5, 75, 40, 4, 12, false, false);ok now i also did this...String f = dla.ggd(FoodBox);SetFood(Integer.parseInt(f));now to do that i ...
HiI have a java program called "BeerSelect.java" in c:\myprojects\beerv1\src\com\example\web directory.I have another program called "BeerExpert.java" inc:\myprojects\beerv1\src\com\example\modelIn BeerSelect.java, I have a code import com.example.model.*;at this lne, it gives package does not ...
1819 byte By
NBGa at 2007-10-1 19:14:08
Hi, I am trying to get a RMI server running. I am using a windows 2000 client. I started with "start rmiserver". When I am trying to run my service by calling "java AccountServerImpl", I am getting the following exceptioion. Can someone help me find where I am missing ...
Hi all:A new infestation of WinXP (probably service pack 2) is giving a security warning every time I open Javadocs.A bar appears at the top of the Explorer pane, that has to be clicked. Select enable and say okay to warning.This is really annoying. Can anyone tell me how to get rid of it?These ...
I need help on creating a method that calculates the Greatest Common Divisor of two numbers x and y, then returns the greatest common divisor d. So, I created this...public static _gcd (long x, long y) { int j = 1;do { // loops to find the GCFlong[] mod_num_array; mod_num_array[0] = y % ...
616 byte By
49ers11a at 2007-10-1 19:20:31
hey guys need helpthis the problem i get :I go to certain websites and I get this error with firefox.This Site requires that JavaScript be enabled.It is enabled.This is the one of the errors in java script console with firefox.Error: [Exception... "'Component does not have requested ...
Hi all, need small helpI've one string with me. I want to check whether i t contains all digits or not.that is... whether the string contains numeric value or String value.Is there any util method to do this?or do we need to write our metods to do this?Thanks in advanceLavanya ...
2133 byte By
mygogoa at 2007-10-1 19:20:59
^2G1<1Q1?1|TQ1,1w2!p1c1_2KN2'2l1CVfuLJI2j2&1K1l1S1?L|1n2MX162ME1.2<2h2ku2R1IR<$C1{R2IT1r1]1@^Z^2J1v42Pz1jU2X1&1y2Y1z_;g102,1zI2)151+U2Z2g2>26h2au1N2Dk1j25-1B2E2Qf2N<1U1;D1Ux2Q1v2et2aE2-1(151iR1v1;m2GG2X1i(2m1-1'1@1e1Fv1yi1=D1M1(2F2SW2VyY1,2Q-2DG{Q1_2"D1[[2#2.{Fye2[D41*1W...
Hi,My application inserts record consisting of a BLOB data into the following table in a Oracle database, say, DB1.Table name : DB1_Table1Columns: DB1_Table1_Id NUMBER(15) NOT NULLDB1_Table1_Blob BLOBAfter the record has been successfully in DB1_Table1, I read the data from it and insert into ...
249 byte By
Malenaa at 2007-10-1 19:29:32
I'm not too sure if I'm in the correct forum but I need help!!!I have a client that is getting this error when upload some pictures online "java script error line 16". Why is the person gettign the error and how I help to resolve it?
Hi thereI am a student in the UK trying to pick up Java from Sams 21 Days Java 2.0 book. I am copying the examples from the book but receive errors when running them, however if I copy the java file from the cd-rom (which appears identical) there are no errors and it works perfectly! I am ...
2715 byte By
atp2bdba at 2007-10-1 19:34:33
I am tring to run a server in WSAD 5.0.1, but when I start the server it errors and doesn't allow the servlet to load. Here is the error message:[7/28/05 7:20:55:619 EDT] 5cd5c78b WebGroupE SRVE0020E: [Servlet Error]-[log4webservlet]: Failed to load servlet: java.lang.ClassCastException: ...
Hello,My name is Brett Gottlieb and I'm 18 yrs old currently a sophomore at Penn State University.My knowledge base of Java is very, very limited (none). The other day I was working with an S-Video cable fooling around with some settings, nothing crazy, when my wireless completely goes down. ...
I am a relative newbie at using the Javadoc tool. I have two questions:1. When I comment my code with @version, the docs say to use %I%, %G%, which I understand is supposed to be replaced with the Java version that the code uses. However, the generated docs still say "Version: %I% %G%. What am ...
I have this class for a golf game I'm writing:import java.io.*;import java.util.StringTokenizer;public class CourseListReader{public static Course[] getCourseList(){try{BufferedReader courseReader = new BufferedReader(new FileReader("courses\\courses.dat"));Course[] courses = new ...
261 byte By
atp2bdba at 2007-10-1 19:37:34
I use xpath to filter a xml document. When I use the xpath expressions from a main method everything works fine. But when I try to run my classes on through a servlet, the xpath returns nothing. I am using WSAD 5.0.1. Why would it not work on the server?
1554 byte By
Javabca at 2007-10-1 19:38:32
I am using Weblogic81+Eclipse3.1+myEclipse3.64+J2SE142_08 to test a very simple web app with only one java file DVDManager.java and one index.jsp file. I imported java class and tried to it in jsp: ...<jsp:useBean id="dvdmanager" scope="session" class="DVDManager" />...then I built the ...
i seem to be having the same problem as everyone else--i can get pogo to load but i can not access any game that gives tokens or has a money jackpot connected to it :( i have emailed pogo--but i have gotten no response
I am pretty sure there is a simple way to solve this problem but I am tired of beating my head into the wall. What I am trying to do is keep my JMenu on top of the other graphical elements. I have a JPanel that is periodically updated and repainted, everytime this happens the graphics in the ...
I have installed our properitary softrware hundreds of times and have gotten this error twice. The first time I had to wipe the machine and re-install Windows XP in order to get around this error. I thought maybe there could be another solution besides taking such a drastic step. Please Help if ...
4831 byte By
goldeyea at 2007-10-1 19:53:19
Hi,we are trying to add new virtual class in the iplanet web admin console. When clicking the Virtual Server Class tab in the UI, we see HTTP 500 - Internal server error, and in the errors log file, the messages are:[01/Aug/2005:13:15:01] failure (12991): Internal error: Unexpected error ...
369 byte By
shreda at 2007-10-1 19:54:52
Hi,I am not too familiar with Java so bear with me. When loading some pages in I.E., they crash and I get an error message asking to send the error info to Microsoft. It mentions jvm.dll...also, I tried to open Java icon in control panel, but it will not open. I tried going to Sun home page, ...
Hi, I am trying to launch the ireport application, which uses the xerces.jar, xmlParserAPIs.jar and xalan.jar. All these 3 jars are in the classpath, I checked it. But I still get a Exception in thread "main" java.lang.NoClassDefFoundError: org/w3c/dom/ranges/DocumentRangeI tried to put these ...
Hello, I'm tyring to some encryption which will allow me to take charactes, put them in ascii, do some calucations, then decrypt them back to there orginal word. I have the algorithm that I want to use but I having some problems on a couple of things:1. I'm trying to read a line from a file ...
1208 byte By
mr47a at 2007-10-1 20:01:25
Hello everybody!Yesterday I have installed JDK 5.0. Before I was using JDK 1.4.2. Now with the new distribution, I cant compile one of my program which goes fine with JDK 1.4.2. Whereas in JDK 5.0, when try I compile it using javac command, It gives me the following message:Note: ...
I have a caching tool for recieving/holding Objects.It gets used by calling for an Object with params that define where/how to get/make the Object.Once I get the Object I save it, so that if it is asked for again, it is not needed to create/get a new one.BUTfor some params the Object asked for ...
[img] http://img81.imageshack.us/img81/1638/untitled9xk.png[/img]any help will be apperciated. ive uninstalled java and installed all updates. still same error, help please
Hi all,I am trying to write out some data into a file called incvoice.CSV, but i encountered the following exception.java.io.FileNotFoundException: C:\temp\invoice.CSV(The system cannot find the file specified)at java.io.FileOutputStream.open(Native Method)at ...
System.setProperty("java.class.path","");this line i used.but not setting the System Environment Variables (User variables).plz tell Steps
Hi,I'm trying to write a "removePerson" method for an address book. For each entry in the address book there are 3 arrays of strings: lastNameArray, firstNameArray, and addressArray. I need to be able to delete a person at index(i) and have the remaining elements of each array shift up to fill ...
733 byte By
rcra123a at 2007-10-1 20:21:05
Have the newest update for java (5.0 update4). A program will not start up after installing. Get message "Program was unable to load the Java Runtime Environment. Please download and install a newer version....." Tried to install Java newest again and it comes up already installed. Tried to ...