549 byte By
PtrNa at 2007-10-2 3:58:38
Ok, for science class I told my teacher I would create a program that would take 2 ions and give the formula and name of the formula unit that they would create if they were to join.Now, after spending 8-10 hours working on it, I have finally finished and debugged it. Now I need to find out how ...
495 byte By
majstera at 2007-10-2 3:59:21
Hello,To compile my code I needed to install an additional library. Specificaly, the communcations API. It consists of 3 files:comm.jar win32com.dll javax.comm.properties If I want to run my program on another computer with only JRE intalled, do I need to install the additional library for the ...
Greetings,I have two computers with the java compiler installed. On one, the program works perfect. On the other computer, it doent.Here is the error message I get when I compile the program:symbol : class TextFileInputlocation: class Project1TextFileInput dataFile = new ...
Ok, I've been looking at this code for a couple days and still have no idea where I went wrong. This is a class that is supposed to draw a specified message a certain amount of times at random coordinates in a Jframe. The only problem is it never draws anything. It's almost like the loop is ...
I'm running NetBeans 4.1 with JDK 1.4.2_06 and I have a project that I've created with existing sources. I can compile everything without issues, however, when I try to run my file within the project for testing purposes, NetBeans recognizes that a main method exists, but I get the following ...
497 byte By
Inbal_oa at 2007-10-2 4:06:32
Hi all,I am tring to create h file for java native class.I am using javah -jni (it worked fine in the past) ,and i am getting an error message: (I replaced the class name with myClass)error: cannot access myClassfile myClassclass not foundjavadoc: error - Class myClassnot found.Error: No ...
6453 byte By
TonyLia at 2007-10-2 4:07:23
Sorry. I try to declare the variables.However, I can't pass the variable "connectionSocket" from "WebServer.java" to "ServerThread.java".How can I pass it successfully? Thank You.import java.io.* ;import java.net.* ;import java.util.* ;public final class WebServer{String ...
3067 byte By
Kaisha at 2007-10-2 4:08:10
Hello, I'm trying to write a button bean in the shape of a triangle but netbeans keeps throwing up a cannot find symbol error at my g.fillPolygon line. I've declared the number of sides and x and y coords.Any ideas as to why this is happening would be greatly appreciated.Here's the ...
I am trying to install java on windows xp as I need it for web site construction.I am getting error message " windows installer. This installation package could not be opened verify that the package exists and that you can access it or contact the application vendor to verify that this is a ...
We have a linux embedded DVR that is supossed to be accessible with any web browser. After loading JVM on a windows box and enabling active x on the ie browser that works. However I have tried three browsers on my mac (10.4.4 and all of the latest stuff) safari, netscape, and mozilla. None will ...
451 byte By
dj23a at 2007-10-2 4:17:50
Hi everyone,I'm a newbie in java, I only know it through Azureus the bittorrent client.My Azureus crashes randomly, I managed to see in the log that it was because of insufficient heap space for java, I've also read about the -xms commands, but I don't understand how to use it and how much ...
791 byte By
ks_da at 2007-10-2 4:18:27
I wrote an application that uses ftp. The classpath in Environment Variables is set to C:\j2sdk1.4.2_09\bin. The class name is FtpTest which is saved in C drive. I tried following command to compile it. c:\>javac -classpath C:\secureftpfactory\lib\sftp.jar FtpTest.javaIt compiles and creates ...
Hi everybody,since java version 1.5I have to use the javac instead of jikes.Unfortunately javac takes several sec. for compilationAre there any tricks to improve the speed or is there any alternative compiler for 1.5 ?For example ist there a possibility to keep the javac instance running to ...
Can anyone comple this? If you don't get the error, can you either send me the .class it made, or tell me why my compiler is giving this error. Thank you.TicketCounter.javaimport jss2.*;public class TicketCounter{final static int PROCESS = 120;final static int MAX_CASHIERS = 10;final static ...
3132 byte By
dmgs11a at 2007-10-2 4:23:41
I get this error message:.java:29: '.class' expectedmonths = myScanner.next(int);^.java:29: ')' expectedmonths = myScanner.next(int);^2 errorsTool completed with exit code 1import java.util.Scanner;import java.io.*;import java.text.*;public class Week2Assignment{int principle = ...
15551 byte By
drrnca at 2007-10-2 4:25:51
I have a problem with Java "timing out" or simply closing down for no reason at all. I get the following and hopefully someone can tell me how to correct this:## An unexpected error has been detected by HotSpot Virtual Machine:## EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d641e27, ...
Hi there,When I was trying to solve a OutOfMemeory problem, I added a for loop to give more time for GC to do its job for a process before it start another one. It is sort of working for a loop up to 450, but once it pass that number the CG (-verbose output) give me this errorFull GC[Unloading ...
229 byte By
nov1sta at 2007-10-2 4:26:43
how to resolve Unexpected End of file error in Web Crawling....I am getting java.net.SocketException :Unexpected End of file error in Web Crawling.How to get rid of this error.Please help anybody ASAP.
70 byte By
popa at 2007-10-2 4:28:51
how to connect between java and access without jdbc-odbc bridge
Hi everbody:I'm having a problem with Java. When I go to my website and access the webtools link to make changes in it, the Rich Text Editing link doesn't appear and I'm unable to make changes. This happens when I use Mozilla. If I use IE, I get a message telling me Incorrect Passwrd. I ...
740 byte By
mae_14a at 2007-10-2 4:32:36
since i am new to java i have no idea how to use the do while...the program i'm trying to make is like this:choose a number:1.j's file2.f's file3.exiti've figured out how to open a number using if else... the problem is after i've chosen a number i don't want the program to end, i want it ...
I am writing a rather lengthy class, and in order to test this class I have to create an object in that class and all that good stuff. When I try to write the test program, I get this error here is the object creation public class TestTextFun{public static void main(String[] args){TextFun ...
190 byte By
slgeo1a at 2007-10-2 4:34:19
Does anyone know if there are sites about the history of extracting comments from documentation? Was Javadoc the first system to do this? Are there any web sites or articles about it?
how do i turn this code into an applet?// The "Pi" class.import java.io.*;import java.text.*;public class Pi{public static void main (String args []) throws IOException{System.out.println ("Welcome to Christopher Wessels's Automated Circle Area and Circumference Worker-Outer.\n\nPlease Give ...
1055 byte By
TzzTzzZa at 2007-10-2 4:37:49
HIWhat is the solution for that error ? General Exception :java.lang.ClassNotFoundException: y.po.0at sun.applet.AppletClassLoader.findClass(Unknown Source)at java.lang.ClassLoader.loadClass(Unknown Source)at sun.applet.AppletClassLoader.loadClass(Unknown Source)at ...
Hello, I have a big problem. My harddisk crashed, and so I can't read any data on it. On it was the sourcecode of a tool I have written. But I forgot to make a backup of the sourcecode, I only have a jar-File.Is there a posssibility to reconstruct the java-files? I worked on this tool a lot, ...
Hi,I created my simulation in netbeans and it works perfectly fine on my own computer. when I try and run it on a different computer, I'm getting: java.lang.noclassdeffounderror.I've spend over 4 hours going though various forums and still haven't found a solution, so I'm wondering if ...
1820 byte By
KodiBKa at 2007-10-2 4:41:25
Hello,I tried to execute my Java Class SqlToXmlTransformer using the following code in the directory where the java class is found:java -classpath . SqlToXmlTransformer "jdbc:oracle:thin:@wkstn7:1521:RpDevEKS" "cert" "cert" "cert" "Oracle" "oracle.jdbc.driver.OracleDriver" > ...
824 byte By
Law_14a at 2007-10-2 4:42:46
HelloI wondering if anyone can help me with the below problem I am working on a dissertation on software visualization and plan on using the information in javadoc to generate my visualization. Is there anyway the output from javadoc can included the amount of lines of code in a class ? using a ...
93 byte By
Barbiea at 2007-10-2 4:45:41
HelloCan anybody pls tell me how to execute code in wsadThanku in advace
903 byte By
sabya at 2007-10-2 4:46:28
I am trying to get a MBORemoteSet from the session, which actually gives me the list from the database table. when i click on a combo box returning me the list using the MBOSetRemote object it throws me the exception.could not load the labor codes from Maximo java.rmi.ServerException: ...
I have to write a class that scans lines of text, and returns all the palindromes in the string. When I try to run this, I get a java.lang.StringIndexOutOfBoundsException: String Index out of Range: 1Is my code just horribly wrong? Or is it something stupid that I have overlooked... any help is ...
Could someone tell me how to control the optimization performed by javac? Prior to JDK 1.5, javac had a command-line optimization flag, but nothing like it is documented for 1.5.I ask because I've been using Eclipse 3.1 to debug JDK-compiled Java and Java-via-JSP classes, mostly like a dream. ...
521 byte By
ihpca at 2007-10-2 4:51:17
The directory structure I have is C: -temp -dir1 -pckg1All the java files are in pckg1 directory with the package name pckg1.I can compile and run the program if my current directory is C:\temp\dir1 by using javac pckg1/abc.java and java pckg1.abcBut I don't know how to compile it if my ...
When trying to browse a java-based website (ok, trying to play java games.. :P), the time separators go wrong. That is to say, instead of the separator, the browser shows <* separator>. For example, if the game is supposed to show time 1.12 it give 1<time separator minute>12I find ...
i'm using a program called simplecam which sets up a java applet with my webcam details. the html code is as follows:<APPLET CODE="SimpleCamApplet2.class"CODEBASE=" http://172.200.246.38:80/"WIDTH="640" HEIGHT="480"><PARAM NAME="SERVER" VALUE="172.200.246.38"><PARAM NAME="PORT" ...
171 byte By
kidbd28a at 2007-10-2 4:54:11
I am having problems getting into pogo from my google search. I can get to pogo thru their AOL site but unable to sign in there. I am really frustrated, Please help
hey,i haveString x = crd.gettoken();along with a few other pointer type things like this, around 5 of them all giving me the same messagecannot find symbolbut all the other classes can find each fine and when i take out just these terms everything compiles. just got 1.5 update 5 if that makes a ...
Hi all,I am a beginner in Java. Have been trying the whole day to find out whats the diff between javac -classpath and java -classpath? I know javac compiles and java runs, but why both we have to specify the classpath?I wrote a simple Test.java program to print something. But when i include a ...
7529 byte By
BMcGeea at 2007-10-2 5:03:08
Hello I have been working on a program. The program compiled successfully. The problem is when I try to run the program I get this error message: java.lang.NoSuchMethodError: mainIf anyone knows what this error is or the fix action any help is appreciated. Below is a copy of the code in case it ...
I'm trying to write a loop program and I get the following error when compiling:C:\Documents and Settings\Family\My Documents\Beaches151.java:33: <identifier> expectedfinal int 1; ^C:\Documents and Settings\Family\My Documents\Beaches151.java:34: <identifier> expectedfinal int 2; ...
For my assignment I am to create a HashMap instead of an ArrayList filled with costumer information and merchandise information. For example the old way of doing this was:private ArrayList items; private Movie thisMovie;private Item thisItem;public Store() {items = new ArrayList();customers = ...
HI everyone. Okay before I tell you my problem i just want to say im not very smart with computers and so if you know how to fix it pelase very clearly tell me what to do to fix it thanks! Okay as i said im not very smart with computers but when i try to play my java game it says Null pointer ...
*sigh* ok.. I have fixed this problem before on another computer and i remember how hard it was to get an answer but i finally did. The problem is, I have encountered the same problem on this computer and i cant remember how to fix it. I am getting the error that says "Javac is not recognized ...
hello,i am Vishal. i use linux opearting System. till now i am using Eclipse editor for java programming. I tryed to comple java rpograme through Kansole. but i cannot. Any one can tell how to compile java programe through Kansole.Vishal
893 byte By
yael_ta at 2007-10-2 5:10:48
HelloI'm trying to compile a code i wrote but every time i try this error appears:--Configuration: targil1task3 - JDK version 1.5.0_05 <Default> - <Default>--C:\Program Files\Xinox Software\JCreatorV3LE\MyProjects\targil1task3\EquationsSystemStatistics.java:38: variable z might not ...
I'm new to java, and this is my first big program project.i've nearly finished the program, which is to make a program that calculate overdue items in the library. My final output are the number of overdue items and the final fee.i've not done the output section yet, but the majority of the ...
Im trying to compile java programs without having to change the directory in the DOS prompt. By setting up a classpath to my program directory I can run java programs from the base directory using JAVA, but JAVAC refuses to work saying "error cannot read hi.java" there is definitely a hi.java ...
568 byte By
vmvidyaa at 2007-10-2 5:12:11
helloi saved my java in my directory.i set the path to c:\jdk1.3\bin where my jjdk1.3 installed.and i set my classpath to my folder which is in D:the classpath and path are set in the autoexe.bat fileafter that when i am trying to complile my java pgm hello.java in the command prompt from my ...
1339 byte By
lowkeya at 2007-10-2 5:16:44
I'm working on a game that has several classes, all of which reside in the same location within my file system. Previously, I would run:javac Driver.javawithin the folder, and each of my classes would compile without error. Today, however, I recieved an error message similar to the one ...