CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 1999
    Posts
    4

    Compilation Help !

    Hi,

    I'm trying to run the sample program which I took from developerlife.com ( XML Related stuff ),
    I'm getting the following error.

    the following is the command I'm giving at command prompt :
    java AddressBookFrame

    the following is the error I'm getting :
    Exception in thread "main" java.lang.NoClassDefFoundError: AddressBookFrame

    My classpath is the following
    C:\orant\ows\4.0\classes\wrbjidl.jar;
    C:\orant\ots\classes\jts805jdbc.jar;
    C:\orant\ots\classes\oraclejts.jar;
    c:\jdeveloper\java1.2\jre\lib\rt.jar;D:\All-Software\jarfiles\xml.jar;
    D:\All-Software\jarfiles\xml4j.jar;D:\All-Software\jarfiles\openxml.jar

    ( Note : I'm using the JDK1.2 from the Jdeveloper).

    Please Help.

    Thanks,
    Ramix


  2. #2
    Join Date
    Jun 1999
    Location
    Atlanta, GA
    Posts
    57

    Re: Compilation Help !

    Add current path (".") to your class path will solve your problem.


    Meher

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured