Running a Java Program



When I try to run a JAVA program I have compiled I get the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: test.
I am in the directory that contains the .class file. Why can't it be found,
and how can I fix this problem?


.



Relevant Pages

  • Re: Very strange "input string not in correct format" bug
    ... the trick of changing locale to something else and then back again did ... I hope Microsoft can eventually find and fix this! ... I tried to reproduce the exception by setting the thread culture to all ... cultures are the UI cultures but, I'd rather check first what are the ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Checking for null parameter
    ... it throw a checked exception? ... How can you fix what you can't detect? ... before calling a method? ... Isn't this the same thing as if a NPE was thrown? ...
    (comp.lang.java.programmer)
  • Re: JDBC Applet doesnt connect
    ... Note that this is not really a GUI problem. ... I note your catches are printing the exception name, ... in the ARCHIVE and removing the class file from the html. ...
    (comp.lang.java.gui)
  • RE: CheckSuspiciousPhysicalPath issue in ASP.Net Framework 1.1 SP1 fix
    ... This fix is included ... An unhandled exception occurred during the execution of the ... > current web request. ... > Char[] whitespaceChars, Char directorySeparator, Char altDirectorySeparator, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Exceptions RPC_S_UNKNOWN_IF
    ... closer to actual release, I'm trying to weed out all of the bugs that I can ... But would like an actual fix... ... Is this exception only happen after ever few thousand ... >>> Arkady ...
    (microsoft.public.win32.programmer.networks)