I'm getting this error when internet explorer launches the Java activex control. Anyone know what causes this or how to resolve it? I've tried clearing the cache, didn't help. I've identified a pc that doesn't have the problem, looked at the java console, everything was the same.I'm ...
868 byte By
trompya at 2007-10-2 17:40:11
I have an ongoing frustrating problem. Java has stopped working on my pc. When I go to the java icon and open I get error "The system cannot find the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Javasoft\Java Runtime Environment 1.5.0_06" If I try to uninstall update 6 from xp service pack 2 add ...
I tried to dispaly a mesg using JOptionPane, it gives error mesg likeHWS.java:27: cannot resolve symbolsymbol : method showMessageDialog (<anonymous java.awt.event.ActionListener>,java.lang.String,java.lang.String,int)location: class javax.swing.JOptionPaneJOptionPane.showMessageDialog ...
hi,i have a file named Test.java in package named test.Say test is located on d: and path of Test.java isd:\test\Test.javaWhen I compiled the file using command d:\>javac test/Test.javaI got the file "Test" which is a class file in test dir.but when i tried to run it using commandd:\> ...
hi,i have a file named Test.java in package named test.Say test is located on d: and path of Test.java isd:\test\Test.javaWhen I compiled the file using command d:\>javac test/Test.javaI got the file "Test" which is a class file in test dir.but when i tried to run it using commandd:\> ...
# An unexpected error has been detected by HotSpot Virtual Machine:## EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d6d37b7, pid=2716, tid=2364## Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode)# Problematic frame:# V [jvm.dll+0x637b7]# T H R E A D Current thread (0x025b9d88): ...
Hi, I am new in java and I need to write a program that calculate the total cost. can anyone tell me the easier way to use JOptionPane to ask the user to enter the number of rooms and then ask them to enter the square feet of each room.please help me out thank you
code]private static void constructCodeTable(BinaryTreeNode btn,Stack st,Hashtable codeTable){if(btn!=null){if(btn instanceof LeafNode){codeTable.put(((InternalNode)btn).getKey(),st);}else{st.push(new ...
Hi,I'd like to extend the standard html doclet so that a class diagram appears just below the class name in every doc file.I want to do that for an open source project, so I have to do it in a way that allows the redistribution of the doclet.As far as I understand the licence, I can do that ...
hi all ..... I develpoed a java project using Netbeans .The project has GUI also (JFrame and various layout ) . The project is building and running fine through netbeans .But when I tried to compile the source files (*.java files) from shell , I failed .The project has two files MainFrame.java ...
I'm a complete newbie to this whole JavaDoc Doclet stuff. I trying to create a custom Doclet I think. I want to use all the standard annotations but add 1 of my one aswell and a method so only the methods with my annotation is shown.I have a custom Doclet from the sun tutorial but don't have ...
Applet is not working on MAC OS, what is the wrong with my applet or any other thing? Please help.thanksShailendra
need to create a program that uses four threads. the first three threads each read a text file and count the number of times that a given word is used in the text file.the words which are to be counted are provided on a command line as shown when the command line as shown when the execution of ...
Hi,I need run over 10,000 threads concurrently, but got OutofMemoryError. I know this problem can be fixed by increasing heap size. But how to do that? Any ideas or other solutions on that?Thank you very much.Henry
Hi, I need to generate grahps and save they. I have used the cewolf api and now I need to use jfreechart to save the pictures.I磎 ussing tomcat-5.0.28 and j2sdk-1_4_2_10 on a Debian server (It is my remote server)I have download jfreechart-1.0.1into /usr/local/tomcat/webapps/ folder and compile ...
When trying to invoke a servlet i get this error in J2EE server log. Some times i was able to invoke the servlet without any error. I couldn't find the reason behind it.Can someone help me out on this? Below is the Catalina log which shows the error:-java.rmi.RemoteException: WS exception in ...
241 byte By
Adaehaa at 2007-10-2 18:00:08
error applying Transforms.Verify that the specified transform paths are valid. Everytime i try open up a program associated with Java, it comes up with that message. It also does the same thing when i try uninstall Java. any help? :-/
hello,I am currently studying IT at a university on London and we were asked to program a multiple choice questionaire. So far, we were only taught to do it via if/else statements. However, I keep on getting the same compile time error message. Here's the code:import ...
hi,getting problem with compilation of HelloWorld.javaCLASSPATH C:\javaPATHC:\j2sdk1.4.2_04\binHelloWorld.java source code in:C:\javaOn cmd prompt:C:\java>javac HelloWorld.javaerror: cannot read: HelloWorld.java1 errorpls help me with ...
I have one application which is fatch the swf file from web and i want to save as in same to swf file format.when i have fatch the swf file and save as .swf format i have unable to view as flash animation in browser and micromedia.Anyone suggest me ...
183 byte By
ounosa at 2007-10-2 18:13:18
Writing simply @foo will generate an error (unknown tag). I used \u0040 (its unicode code) but the result is the same. \ or \\ don't work either. So? Does anyone know? Thanks!
Hi all,I am just learning how to program in Java. My question may sound stupid but I need your help. What program can I download to write java codes? Please help need it asap for my class. Thank you
I just had my computer re-imaged so all the Java I have left is JRE....but I use java to program (but am new to programing)...What do I need to download in order to get the commands java and javac to work (link please)? Thanks
Recently, on one of our computers that received the new MS06 April updates for Windows XP SP2, et al... Java stopped rendering applications (including the java control panel), though it will still render applets (at least basic ones). I have found the following in patch.err.ENTRY: ...
1031 byte By
LJRJa at 2007-10-2 18:19:41
Can anyone share with me how their companies write Javadoc?Are your developers solely responsible for it? Do your technical writers own it or review it? How do you make sure it's good? Right now, my software developers are mostly responsible for writing all the API info and it's of poor ...
Hi, We are having a bit of debate in our office about compiling code against to different external libraries.i reckon the compiled bytecode should be the same, but there are differences of opinion so i thought i would come here and see what people thought.lets say i am compiling my code using ...
448 byte By
Apuda at 2007-10-2 18:25:32
I have tried changing my jGRASP compiler settings to work with C programs, but I keep on getting the following error: -jGRASP exec: gcc -g -c C:\Documents and Settings\MARK GRUSZECKI\My Documents\Pep8\Hello.c -jGRASP wedge2 error: command "gcc" not found. -This command must be in the current ...
158 byte By
hi2vinoa at 2007-10-2 18:29:31
hi,how can i compile and execute a java program using the "com.sun.tools.Main.compile()" method. pls help me to understand the reflection in it.
1927 byte By
wgdtoma at 2007-10-2 18:31:35
i want to change part of my code from swing to AWT(just the timer part), but some exceptions are displayed. could you tell me why?This is swing part GUILogger guiLogger = new GUILogger(logLength); // update log informationTimer timer = new Timer(logTime, new ActionListener() {public void ...
696 byte By
JoinBiga at 2007-10-2 18:33:18
hi, i have problem with NetBean error when create program below:class library{....main(){Library xxx = new Library();xxx.fillMe();...}private void fillMe(){...libCat = new Cat(10);...// populate CatSystem.out.print("something");Book book1 = new ...
946 byte By
boltriga at 2007-10-2 18:35:17
Im trying to finish the code for an adventure game ive got.I have a game class, a nonplayer class and a room class.Game adds nonplayers to rooms, then should call a list when the look method is called.i cant figure out how the methods should be called though. Its probably another stupid mistake ...
16198 byte By
cgarnona at 2007-10-2 18:39:32
hi. i have loaded a file from disk but need to sort out the contents and i'm having trouble with that. pls excuse the messy code as i keep changing stuff trying to make it work.import java.util.*;import java.io.PrintStream;import java.io.File;import java.io.FileNotFoundException;public class ...
hi , Bacialy I need to get detials of all classes from the Java packages for my project. So i thought getting detials from the Java API document might be one way of doing it. If any one tell me some package or software which can get particulat text from the API document that will be great. ...
115 byte By
andyGa at 2007-10-2 18:39:55
I cant use any pages that are java the script comes up in the corner that its java but it wont load the page
I recently wiped my drive and upgraded to winxp and now cannot get my java to compile. Installed my os to my D drive and set both path and class path. I have read the troubleshooting thread and i can do this just fine:====D:\>cd d:\developmentD:\development>javac ...
I downloaded the docs, put into the jdk folder but still javadoc Alt-F1 in netbeans not workingAlso in tools -> javadoc index search I receiving the red box x No Documentation FoundPls, help me asap,Many thanks,
i am getting error of package not found. i have added all the .java & .class files in the package folder. can any one tell me how to compile that file
in which directory should i place my code so that it can run in the internet explorer using the BEA Weblogic Server
3896 byte By
kemzoa at 2007-10-2 18:50:47
I'm trying to run my jsp application which imports two classes that i have saved in ROOT/WEB-INF/classes/business and ROOT/WEB-INF/classes/data. when I run the application by entering the url on the browser i get the following error. Does this mean the server cannot locate these two classes ...
I am getting "Illegal Start of Expression" apparently at the beginning of each "=fomat" line. I admit I know nothing about Java, but I am a programmer so the code I have below seems logical to me... Please ask any questions, or let me know if you need more code. Help!!! :)Thank YouLarryThis is ...
When I compilate my java sourcecode with "javac"-command, I allways get the answare "100 errors" (or a other high, like 58 and so on), and it stays witch errors, but I know that isnt wrong. I have tested to take sourcecode directly from internet pages, so I know them are correct. Anyone who ...
I am a student in class and would really appreciate help with my 'cannot resolve' symbol errors. If anyone can help me, please simplify your answer(s) as much as possible. Thank you:import java.awt.*;import java.awt.event.*;class MyFrameB implements ActionListener, WindowListener, ...
ok i am trying to create a program which will calculate the area of a wall, and then using JOptionPane, ask the user if they want to work out the area of another wall. But once they say they do not want to create another calculation, it will display all areas in a message dialog.Here is the ...
I tried to download java but i have no d drive jusy a c and e drive how can i fix so i can download
1870 byte By
SubZer0a at 2007-10-2 18:57:15
Hello,Recently I can not view Java applets.This is what I see in the console :Java Plug-in 1.5.0_06Using JRE version 1.5.0_06 Java HotSpot(TM) Client VMUser home directory = C:\Documents and Settings\? -c:clear console windowf:finalize objects on finalization queueg:garbage collecth:display ...
Problem Scenario :We have a J2EE application, which has a front end developed in Java Swing with usage of heavy graphics & managed by the weblogic server. There are several application details in the Hash-Maps containing with nested Hash-Maps & Hash maps contains the Serializable Java ...
347 byte By
davooda at 2007-10-2 19:02:04
Hello,I抦 creating a small compiler for a new scripting language. For this purpose I need to convert my code to java and compile the result java code. My problem is that how I can get messages from java compiler? Main things which I need is warning, error message plus line number.Any kind of ...
Compiles just fine, but when try to run is throws back this error : "Exception in thread "Main" java.lang.NoSuchMethodError: main"import java.io.*;import java.net.*;import java.util.*;public class Server{ArrayList clientOutputStreams;public void go()throws IOException{//clientOutputStreams = ...
Hi everyone, I don't know if I am in the right forum, but I am new in writing Java coding and I am confuse on what to do and how to write the code.I have this question and I just dont know what to do:How can I write a java code in the following question?The question:40 hours normal salaryAfter ...
I'm new in java.I'm bogged by class cast exception.Pls tell me abt this exception in detail.