while running java pgm EXCEPTION IN MAIN THREAD CLASSDEF NOT FOUND ERROR COMING?what to do?
142743
First make sure that the class which contains ur               main (String args[])\nfunction hass got the same name as ur file name.\nIf u r using command prompt to run ur program make sure u have set the classpath properly or copy ur file to the bin directory of the jdk installation and run it from there.
688432
This is beacause...streams.h file is missing from the library directory...try putting this file over there and recompile you wont get error
428013
because it's way way outdated.\nTry Eclipse from eclipse.org.\nOr else, compile from the command line:\njavac *.java\nand then create the jar file, like so:\njar test.jar *.class
64459
You need to download the latest version of Java. Visit the link below.
14263
If you have the JDK installed ( else its here : http://java.sun.com/j2ee/1.4/download.html#sdk )\nand your classpath set \n( add CLASSPATH variable in your environmnet variables - MY Comp rt click properties > Advanced> Environment Variable > new variable >\n\nVariable : CLASSPATH \nValue    : .; \n\nAlso set PATH : <path of your JDK bin folder>\n)\n\nNow write your program in notepad , open cmd, and type \njavac myfile.java \n\nthe filename = classname and is case specific.\nthen if it results in zero errors, \n\ntype:\n\njava myfile\n\nthat would run your program
541595
If the game you are trying is a java applet, it is possible that you do not have the java virtual machine installed.\n\nYou may download it at the official java website.
609282
delete the bakgammon applet from c:/windows/downloaded program  files/\n\nreinstall java again from http://java.sun.com\ntry to go to bg again so yahoo will upload applet again\n\nalso as other user said make sure ure browsers java settings are enabled\n\nlet us know how it gone
950314
use SET ClassPath command or add it to Environment Variable Path\n\nWat to add?\nU Know it?\nThen Proceed?\nElse\ni am der to help u\nAdd Activities class to Class Path.\nIf aCtivities is presnt in a JAR file, add that JAR file my bow!!!!!1
608819
Is this on an MS Windows system? If it is, then it should be as simple as going here:\n\nhttp://java.com/en/download/index.jsp\n\n...and downloading and installing the latest Java Runtime Environment.
621477
error is what u can't expect\nexception is u know that it may occur and try to catch it\nif (x>10)\nthrow exception xyz{"hello-desc"};\nELSE PRINT ("HELLO");\nU KNOW here WHEN to throw a msg\nerror\nis preucation u are taking because u don't want to stop the flow of ur application or come out of ur application or hanging the application
915131
try this\nSTART MENU > RUN > gpedit.msc \ncomputer or user  configuration\nsearch in the two  configurations im sure you will find something
72302
I think your computer doesnt support JAVA. You need to download JAVA software in your computer.\n\nGood luck\nCheers
608606
At least on the Linux/Solaris machines that I use,\nyou need to "wrap" your java class file with a\nscript which invokes the Java run time system.\nThis also gives you an opportunity to pass\nflags into the runtime (ie. to increase the\ndefault heap size, tweak the GC settings,\netc).\n\nFor example, for the class file "foo.class",\nthe script might be a single line like:\n\njava foo\n\n\nThen you would invoke the *script* rather\nthan trying to directly invoke the class\nfile.
216650
Just go to the link below and download the latest Java SDK.\nHopefully, that would help you.
1139844
What browser are you using? Try reinstalling Java!
136156
it may be the problem ur account.Set ur user account as administrator and try. If u again found problem install java.
761020
You need to make sure that there is a file called cap.java, and that the class in this file has a main() method.\n\nNext, compile the code with\njavac cap.java\n\nThis should produce cap.class\n\njava cap\n\nshould then work. \n\nOh, but I'm assuming that "." is in your classpath. If not, then java won't see stuff in the current directory. As a quick fix, try:\n\njava -classpath "."  cap\n\nand see if it starts working.