Re: newbie with compiling
From: Amey Samant (ameyas7_at_yahoo.com)
Date: 10/25/03
- Next message: Jim Nastos: "Re: greedy algorithm"
- Previous message: Amey Samant: "Re: performance question"
- In reply to: Libin Xie: "newbie with compiling"
- Next in thread: hiwa: "Re: newbie with compiling"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 25 Oct 2003 02:39:45 -0700
"Libin Xie" <xiaobin2u@yahoo.com.cn> wrote in message news:<3f991d18$1_1@news.iprimus.com.au>...
> Hi
> I am new to Java world, I download java version j2sdk1.4.1_01 to my
> computer, and install it
> when I try to compile program from command line type javac tst.java, I got
> the following error
> "Exception in thread "main" java.lang.NoClassDefFoundError:
> com/sun/tools/javac/Main"
>
> however, I can use textPad to compile it, when I try to run from textPad, I
> got same error:
>
>
> Thanks advance
> Libin
hi
its a question of classpath
make sure that you have included '.' in your classpath variable
& also path for required directories in classpath variable
regards
amey
- Next message: Jim Nastos: "Re: greedy algorithm"
- Previous message: Amey Samant: "Re: performance question"
- In reply to: Libin Xie: "newbie with compiling"
- Next in thread: hiwa: "Re: newbie with compiling"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|