cannot resolve symbol help

2901 byte By addona at 2007-10-2 1:39:37
ok im a java newbie and need a bit of helpwhat im trying to do is take input from the user and send that to a class named cube where it takes the inputed value, and calculates the area and permpublic class CubeUser{public static void main (String[] args) throws IOException {BufferedReader input ...

I need help running my program after compiling it

514 byte By TKH2120a at 2007-10-2 1:39:49
I have jdk 1.5.0_05 installed and i created a program called "Test1.java" .I saved the program in C:\Program Files\Java\jdk1.5.0_05\binand the class is created as well in the bin as "Test1.class" .From the command prompt, I have the path C:\Program Files\Java\jdk1.5.0_05\bin>I am able to ...

"cannot find symbol" error message

815 byte By @modia at 2007-10-2 1:40:19
I tried compiling a program that instantiates an object of another class from a separate .java file. However, both .java files are in the same directory. I've never encountered this problem before, and I know some path variable must be wrong somewhere but I don't where. I also tried added a ...

main" java.lang.UnsatisfiedLinkError: findDevice

529 byte By Shree.hva at 2007-10-2 1:41:59
Hi,I am trying to understand how jpcap works and I am using Eclipse IDE to run the Examples. I have included all the jars. when I run the program I am getting the following error. PacketCapture: loading native library jpcap.. okException in thread "main" java.lang.UnsatisfiedLinkError: ...

Compiling Large Systems

226 byte By smiles78a at 2007-10-2 1:43:29
Does anyone have ideas on how to compile large systems? Currently I am using gnu make/makefiles executed via a Unix script. Is there an easier better way than to clean, execute, and run a depend option on 100 makefiles?

How can I extract images form other web pages with an applet?

1032 byte By Adi.Ma at 2007-10-2 1:43:57
HelloI have a problemHere is my codeimport java.net.*;import javax.swing.*;import java.awt.image.*;public class Cursbnr extends JApplet{public JLabel EuroValue =new JLabel();public JLabel DolarValue =new JLabel();public JLabel GoldValue =new JLabel();JPanel EuroBar = new JPanel();JPanel ...

Study security related exception handling in Java

437 byte By mythologyrocksa at 2007-10-2 1:44:42
Hi all,I am required to do an indepth study on security-related exception handling in Java, their Pluses and minuses... Can ppl suggest me places where I can get a kick start? Any resource that u know can help me out? I appreciate ur help in this regard...FYI, I am a grad student and I am doing ...

Exception in thread

3437 byte By Miguel231152a at 2007-10-2 1:46:16
I have write the class Aleatorio.java for implements an new method similar to Random and I have declared as follow:package java.util;public class Aleatorio extends Random {public int nextInt( int inferior , int superior ){int i;i=nextInt();i=inferior+(Math.abs(i) % (superior-inferior+1));return ...

Compling and running code on Tandem

331 byte By adidau_rka at 2007-10-2 1:47:08
I have developed a Socket Programing using Netbeans IDE on windows environment. Now i want to port the Class files on Tandem which is unix like OS.But i am getting ClassFormatException and unable to bind the libraries like log4j. Can anybody help me in Configuration of classpath for lib on ...

setting path for java and running javac command

452 byte By hrptdcaa at 2007-10-2 1:48:00
hello,i hav a problem while i run a javac command at the command prompt.my operating system is windows 2000 server family. jdk1.4.0 has being installed .i hav tried using set class path command ieset CLASSPATH=c:/program files/jdk1.4.0/bin after this when i give javac at the command prompt it ...

Exception in thread "main" java.lang.NoClassDefFoundError

492 byte By LaBombaa at 2007-10-2 1:50:50
Hello,I have some problem when I'm trying to start my java-program. Everything is going just fine until I'm trying to start the program. The error-message I get is:Exception in thread "main" java.lang.NoClassDefFoundErrorI've got my java-files on:c:\Programfiler\Java\jdk1.5.0_04My CLASSPATH: ...

Help please!!

7051 byte By drake01a at 2007-10-2 1:53:08
Hi I honestly need help.I have this piece of code that i am using to open COM1, write, and read from it.Well the problem is I doubt if it actually writes to the port because when i run the program, I don't pick up any activity at the port. It says the port is open but when I write to it, I get ...

JAVA Error!!!

397 byte By jolejolea at 2007-10-2 1:53:43
hello, my problem is that when i want to open a picture in IE 6 with java 1.5 the window doesn't pop up and it wont opet the picture. this happened even before installing sun java, so i was thinking that installing it will solve the problem but no! and some images in IE doesn't show but there ...

Local Class Not Compatible Exception?

556 byte By Sirylcata at 2007-10-2 1:53:55
Hello.I have a friend who is running a serialized server(EJB)-client(APPLET) program using weblogic. The server is upgraded to new version and thus the server's java runtime version is upgraded to 1.4, though the clients are still using 1.3.The program ran very fine before the server upgraded ...

Running a Program with .jar files on windows

1057 byte By MrLanea at 2007-10-2 1:54:08
HelloI have looked around, but cant get quite the answer I am after here. Please bare in mind that I am normally used to C/C++ so some of my terminology may be off...Basically I have this set of source files and .jar files for a project. I have succuessfully compiled the source files into ...

Exception in thread

632 byte By Miguel231152a at 2007-10-2 1:56:47
I have developed a new method called Aleatorio like than the book Programming java shows but when I try run the application same as learn in that book appears this message :Exception in thread "main" java.lang.SecurityException: Prohibited package name : java.utilI don't understand what happen ...

Undefined variable: this

5151 byte By pocniba at 2007-10-2 1:57:05
When running a swing application I get an undefined variable: this error when attempting to call the method addActionListener(), I can not see why I am getting this error as this is not a variable but rather a reserved wordimport javax.swing.*;import java.awt.*; import java.awt.event.*;public ...

Java Error can't find *jp150040[1].cab*

927 byte By johhnywavea at 2007-10-2 1:59:51
I have a problem. Ever since I uninstalled norton my Java has been screwed up. About two months ago I update to the newest Java. But now my Java doesn't even work! I get that it can't find "jp150040[1].cab" I tried installing it offline and it worked but that Java still doesn't work. Here ...

An unexpected exception has been detected in native code outside the VM

11650 byte By ds20061976a at 2007-10-2 2:01:42
I received the error below when trying to start an application that uses a wrapper over sun.java2d.SunGraphicsEnvironment (that works fine over Linux and Windows).I have not been able to figure out why this is failing.An unexpected exception has been detected in native code outside the ...

Java HTTP Connection Filed -> It's a DNS problem

1333 byte By eTomma at 2007-10-2 2:01:49
Hello all, my first post is for talking about this infamuos error of java.When i try to view a page that use Java for one of it's applet, the applet doesn't work and Java console report among other errors:Caused by: java.io.IOException: open HTTP connection failed.at ...

Package does not exist when compile in Jgrasp 1.8.3

642 byte By squirrelonfirea at 2007-10-2 2:03:25
I have a package called jpb stored in a folder called jpb. The package has two files SimpleIO.java and Convert.java. My program has 1 of the line like this...import jpb.*;...I put the path and classpath in Jgraps pointing to the folder jpb but when I compile the program, it keeps saying the ...

How to catch this exception

1477 byte By Joe_n00ba at 2007-10-2 2:04:17
Hi I have created a simple client server program . In the Client i give the server ip/name and port number in command line... but when i try to run the client on a port on which the server is not running .. the following message is generated....C:\Program Files\Java\jdk1.5.0_02\bin>java ...

Conditional Compilation

366 byte By varun_nayara at 2007-10-2 2:05:10
Hi is there any way to use conditional compilation in such a way that in the true condition i have compilable code and in the false condition i have a code which is not compilable at this moment so that the compiler just ignores it completely (Like in C/C++) and not give any compile time ...

compile/running code with external jars

862 byte By phil41363a at 2007-10-2 2:08:38
Hi,I'm working on a small database project and I'd like to use it as an application outside of eclipse. Since it may be too difficult for me to create an executable jar file (it didn't work), I wanted to compile and run it manually from the command prompt. Compiling works withjavac ...

urgent help me to find out the error

321 byte By sweet_salta at 2007-10-2 2:10:03
hi ppl,i have installed jre-1_5_0_04-windows-i586-p-iftw . but i am not able to compile any java program. when i try to compile javaw it is generating an error " could not find the main class : program will exit ".pls help me to figure out what went wrong.pls i need a reply ...

com.sun.crypto.provider.RSAChiper is not a subclass of xjava.security.Ciphe

537 byte By marco.sa at 2007-10-2 2:12:51
I have installed Tertio ProvidentThis was developed with java and at the beginning I hve to connect to a server. I was not able to connect. On connection this error occurs:"Could not connect to the Provident Service Activation Server, class configured for Cipher: ...

javac error

220 byte By dinseyF476a at 2007-10-2 2:16:23
I have the same problem as many other people have experienced involving javac not being recognized in command prompt. I have tried everything that i am aware of to solve it. advice please - i am running XP, JDK1.5

i CANT GET ON MY POGO GAMES

141 byte By HGravensa at 2007-10-2 2:16:24
I NEED HELP TO GO BACK TO MY POGO GAMES I DID EVERTHING IT TOLD ME TO DO AND I STILL CANT GET ON IT SAYS JAVA NOT FOUND OR NOT WORKING

Static field changes for both instances

398 byte By mugenmidgeta at 2007-10-2 2:16:32
Whenever I construct a new object with a static field or use a set method on any of the instances of that object, the static field will change to the last modification made. In the case of my program, whenever the static String color field is changed to the last modification made. This only ...

Error

2014 byte By myharshdesignera at 2007-10-2 2:16:43
This is the code when i compile it i got Error message.Pl Solve this problme & tell me why i am getting this problemwhich is :-import javax.servlet.*;Dose not existimport javax.servlet.http.*;Dose not existimport java.io.*;import java.util.*;import javax.servlet.*;import ...

HTTP Con. Error java.net.BindException: Address already in use: connect

2942 byte By Lu-Siana at 2007-10-2 2:19:53
Hi, i want to test a program that requests to a servlet continuously, then save the response to SQL (SQL Server 2000) database. But there is a problem.After a while the program starts, it throws an exception and becomes throwing the same exception at each http request. I dont understand ...

ant used in dos script

813 byte By JustanotherEngia at 2007-10-2 2:21:33
Hi hero's,My application uses plain java, rmi, and jni. In order to compile this in a decent way, i want to create a compile script. Now I have created an ant build file, but with ant i cannot compile c++ code. So therefore i created a dos-script that calls for ANT in order to compile the java ...

handle

2273 byte By happyhelpera at 2007-10-2 2:23:30
Hi, I have written a program to periodly check a web site to read some information periodly (use Timer). The code is something like this:try {URL url = new URL(" http://www.cnn.com");BufferedReader in = new BufferedReader(new InputStreamReader(url.openStream()));String str;while ((str = ...

smartly handle "java.net.connectException: connection timed out" error?

2557 byte By happyhelpera at 2007-10-2 2:23:35
Hi, I have written a program to periodly check a web site to read some information periodly (use Timer). The code is posted below.The problem is: when the "connection timed out" exception happens, the program seems stopped to execute at next desired time (after 10min) but did not quit either... ...

javac classpath ignored

1553 byte By dhkramera at 2007-10-2 2:24:01
I'm trying to run javac 1.5.0 in Cygwin but it seems to ignore the classpath I pass in,so I get "package does not exist" error. Any ideas?Here's my command:/cygdrive/c/Program\ Files/java/jdk1.5.0_04/bin/javac \-verbose \-d classes \-classpath .://filer/home/doog/src/adsenseapi/google3/java ...

java.lang.NoClassDefFoundError: javax/ejb/EJBObject

7786 byte By mohamed_jaleela at 2007-10-2 2:24:54
Hello:Error while running my application which was deployed into the jakarta-tomcat-5.0.28 application server ?IDE Eclipse 3.1 (MyEclipse4.0)I would greatly appreciate if you could help me to solve this issue!!!!!!!!!!!!!!!!!!!!!!Error as follows:2005-10-13 17:41:52 StandardContext[/cst]Marking ...

The import javax.comm cannot be resolved

215 byte By lars2005a at 2007-10-2 2:27:06
Hi I've installed the javax.comm. When I'm compiling I get the following error The import javax.comm cannot be resolvedCan anyone tell me what is wrong - or give some hints?/lars

"identifier" expected error msg

1129 byte By Helloma88a at 2007-10-2 2:27:36
Hi Pls help me!my java coding is in the following:package mypack;import java.util.Date;public class UserSession{private boolean isLogin=false;private String userId;private Date lastLoginTime;private int logCount;public void setIsLogin(boolean 1){this.isLogin=1;}public void setUserId(String ...

Can someone help me with java.lang.NoSuchMethodError

884 byte By smerinoa at 2007-10-2 2:28:33
Hello ,I am developing a JSP page that calls a method from a Java class that I created (Helper.class) and compiles properly.Helper.java makes part of a package named package wtcore.jsp.admin.useraccount :package wtcore.jsp.admin.useraccount;public class Helper { public static WTUser ...

Error: Class Unavailable. CannotFindServletInstanceForPath

571 byte By nusaira at 2007-10-2 2:29:29
I am using Eclipse as IDE and when i ran my servlet, In the log file present in logs folder of tomcat5.0 following is the detail of the error.2005-10-14 19:45:06 StandardContext[/MyFirstProject]Marking servlet org.apache.catalina.INVOKER.HelloWorld as unavailable2005-10-14 19:45:06 ...

NullPointerException in compiler (1.5.0_04)

2885 byte By GarretWilsona at 2007-10-2 2:30:51
I just complied something with no problems in Eclipse 3.2M2. I tried to compile using javac 1.5.0_04, and I get:[javac] An exception has occurred in the compiler (1.5.0_04). Please file a bug at the Java Developer Connection ( http://java.sun.com/webapps/bugreport) after checking the Bug Parade ...

Symbol cannot be found

3006 byte By Cristinaaa19a at 2007-10-2 2:31:14
Okay i know that this has been in the forum but i don't think it is the same for me this is my program:/**Cristina Burns Id # 225Cs219CS219Grades225 Program Week 2This program will calculate exams scores and averages*/import java.util.*;public class CS219Grades225{/** main method *//** Uses an ...

unstripped version of java

171 byte By yash203a at 2007-10-2 2:32:25
I have a core generated from stripped version of java 1.4.1_02-06b,where can I get the unstripped version of java of same build so that I can debug the core.

LWJGL.DLL Invalid access to memory location

1798 byte By Anthony249a at 2007-10-2 2:34:29
hi, can anyone help me? I get this error when trying to load a java program:java.lang.UnsatisfiedLinkError: C:\Documents and Settings\CAM ANH\Application Data\Sun\Java\Deployment\javaws\cache\http\D67.18.221.154\P80\DM~comcallo\DMJARS\DMGame\RNDLL_Win32.jar\lwjgl.dll: Invalid access to memory ...

JVM Launcher error

134 byte By rafiqya at 2007-10-2 2:35:09
When i try to run a JAR file i get the following error:failed to load Main-class manifest attribute from - .... pls help

An unexpected error has been detected by HotSpot Virtual Machine:

12506 byte By paintlady1060a at 2007-10-2 2:36:26
this is the code I get and keep getting booted from pogo and other games using Java I have JSE 1.5 An unexpected error has been detected by HotSpot Virtual Machine:## Internal Error (4E4D4554484F440E4350500521), pid=-918383, tid=4294365245## Java VM: Java HotSpot(TM) Client VM (1.5.0_04-b05 ...

Error while importing user created packages

2695 byte By shantanu_gga at 2007-10-2 2:36:36
Hi ,Complexity NoviceProblem Description-I am trying to run a simple package related program.The package file is perfectly compiled and stored in the required path.When I try to access this package from another file -- the import statement does not seem to be working.It reports an error. ...

why objects are declared as both private and static at the same time

388 byte By nusaira at 2007-10-2 2:37:36
Static means global and private means access within that class only. Then how come they both be applied in one method.following line describes the method which is declared both as static and final. Somebody please give me solution.private static Object lookupHome(java.util.Hashtable ...

External process

766 byte By aannolfia at 2007-10-2 2:40:28
Hello I am trying t execute an external python script. The script produces some output to screenwhat I do (as suggested is other posts) is the following:Process p = Runtime.getRuntime().exec("myPythonScript.py"); BufferedReader input = new BufferedReader(new ...

handling sql query in java where i'm extracting reords from 3 tables

397 byte By kalyan_82a at 2007-10-2 2:44:34
hi to one and all,i want to implement the sql query given below in jsp in execute query statement . the query is working in sql but not when implemented using jsp. please help me in resolving this. QuerySELECT e.Department , e.ETitle , s.basic , s.da, c.address1 , c.address2 from Employee e , ...