tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "" <>
Subject RE: A little offbeat question
Date Thu, 16 Sep 2004 07:18:13 GMT
JAVA_HOME c:\j2sdk1.4.2_03..don'nt you need a jdk? Seems it's a classpath

-----Oorspronkelijk bericht-----
Van: Meena Alagappan []
Verzonden: Thursday, September 16, 2004 8:13 AM
Aan: Tomcat Users List
Onderwerp: Re: A little offbeat question

Frist tell me what you are trying do this code with tomcat ?

Best Regards,

Life is a festival ...
Celebrate it ...

  ----- Original Message -----
  From: John Najarian
  To: 'Tomcat Users List'
  Sent: Thursday, September 16, 2004 12:33 PM
  Subject: RE: A little offbeat question

  One more thing, tomcat was running fine.

  -----Original Message-----
  From: John Najarian []
  Sent: Thursday, September 16, 2004 12:01 AM
  Subject: A little offbeat question

  I tried to run a program I thought would but it doesn't.

  This is on a windows XP platform.

  Everything compiled well but I get this error:

  Exception in thread "main" java.lang.NoClassDefFoundError:

  So I went back and tried a no brainer 'HelloWorld'  This is the code.


   * The HelloWorld class implements an application that

   * displays "Hello World!" to the standard output.


  public class HelloWorld {

      public static void main(String[] args) {

          // Display "Hello World!"

          System.out.println("Hello World!");



  It compiles but I get the same error.

  I check my environment variables and mine are

  JAVA_HOME c:\j2sdk1.4.2_03


  Any ideas?

  Thanks in advance

  To unsubscribe, e-mail:
  For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message