Finalizing my project

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

Additional liraries required on target?

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

Error Compiliing:symbol : class TextFileInput

5979 byte By lepia3000a at 2007-10-2 4:01:44
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 ...

Random Text Help

4078 byte By ThinSpirita at 2007-10-2 4:03:02
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 ...

NetBeans 4.1 and projects with existing sources: NoSuchMethodError

984 byte By enoch1024a at 2007-10-2 4:06:30
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 ...

trying to use javah -jni

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

Error: Cannot resolve symbol

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

cannot find symbol error. don't know why

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

java installtion

407 byte By smiley1936a at 2007-10-2 4:09:14
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 ...

macintosh java applet does not work

712 byte By macintoshtrainmana at 2007-10-2 4:13:40
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 ...

java.lang.OutOfMemoryError: Java heap space running azureus

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

NoClassDefFoundError

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

javac is much slower than jikes

526 byte By christoph.gille@charite.dea at 2007-10-2 4:18:32
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 ...

Cannot find symbol error?

6199 byte By MysticPhantoma at 2007-10-2 4:23:00
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 ...

Need Help...

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

hs_err_pid2932

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

GC trace

463 byte By hellosamhia at 2007-10-2 4:26:02
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 ...

Need Help For the error ' Unexpected End of file from server'

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.

link database

70 byte By popa at 2007-10-2 4:28:51
how to connect between java and access without jdbc-odbc bridge

Java srcipt errors

1057 byte By dave@askyourbartender.coma at 2007-10-2 4:30:45
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 ...

new to java

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

Just a quick question...

1625 byte By atari88748a at 2007-10-2 4:32:57
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 ...

Javadoc history

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?

NEED HELP!! NEW TO JAVA

2305 byte By FaTaL_GEEKa at 2007-10-2 4:36:49
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 ...

ERROR GENERAL EXCEPTION

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

Generate java-Files of a jar-File

396 byte By Premutosa at 2007-10-2 4:40:41
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, ...

Can anybody get my files to work? java.lang.noclassdeffounderror

644 byte By wavefluxa at 2007-10-2 4:40:52
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 ...

Exception in thread "main" java.lang.NoClassDefFoundError

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

Javadoc Line count

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

executing code in wsad

93 byte By Barbiea at 2007-10-2 4:45:41
HelloCan anybody pls tell me how to execute code in wsadThanku in advace

java.rmi.server.SkeletonMismatchException: interface hash mismatch

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

Palindrome class

2462 byte By atari88748a at 2007-10-2 4:47:58
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 ...

Controlling javac optimization when compiling

650 byte By JonRWoodsa at 2007-10-2 4:48:57
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. ...

cannot read file

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

Problem with <time separator> and other separators

396 byte By Akthurmea at 2007-10-2 4:51:35
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 ...

general newbie question - apologies if it's a really simple one!!

544 byte By jhopper005a at 2007-10-2 4:52:50
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" ...

java errors

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

Just another big newb whos comp has got kaplut

433 byte By Spoonlyorangea at 2007-10-2 4:55:58
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 ...

Differences between javac -classpath and java -classpath commands

678 byte By overtime_ea at 2007-10-2 5:01:21
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 ...

Error Problem

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

Homework help

3749 byte By Amateur-Beanera at 2007-10-2 5:04:00
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; ...

Hashmaps are drving me mad, this time...what am I doing wrong.

2111 byte By Zlatko_Ungera at 2007-10-2 5:04:16
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 = ...

Null POinter exeption

2105 byte By mythicpencila at 2007-10-2 5:04:37
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 ...

javac error

1219 byte By prejudged_firea at 2007-10-2 5:04:48
*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 ...

Java Complie On linux

265 byte By Vishal-Kumara at 2007-10-2 5:06:37
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

Problem compiling

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

unreported exception java.io.IOException;unreachable statement

5278 byte By kireidashaa at 2007-10-2 5:11:19
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 ...

Compiling from the default directory.

490 byte By Jumpingmedica at 2007-10-2 5:12:02
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 ...

compiling error

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

cannot find symbol error

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