Hi I have the same problem, and do not know how to solve it. You way, by setting the path doesnt work, I already had that path. Please Help Anyone Mike --- In [EMAIL PROTECTED], "S Patel" <[EMAIL PROTECTED]> wrote: > > Hi Pradyut, > > > > You got this error because you may don't add path C:\j2sdk1.4.2_04\bin (I am > using J2SDK 1.4 example here but you please check your directory list first) > in your Windows Xp Environment Variables. Or you may compiling your Java > file from other folder than it is saved in or may be your Java file name is > wrong? > > > > Do one of this: > > (1) Check you are compiling Java file from same folder where > it is saved, for Ex: if you have saved your file in C:\Pradyut\Java then go > to C:\Pradyut\Java and they try to compile it by typing this in consol > window (Dos Prompt) javac hello.java. then java hello. (One good advice > while creating any class & class file please make each words first letter in > capital letter, For Ex: HelloJava.java, HelloWorkd.java end etc.). > > > > (2) If you are using Windows other than NT technologies and > using Java2 J2SE1.4 (installed at "C:\j2sdk1.4.2_04\bin") then please add > this path "path=C:\j2sdk1.4.2_04\bin" to your autoexec.bat file. You can do > this by typing "edit autoexec.bat" on C:\ on MS Dos prompt. Or if you are > using Windows with NT technologies like windows 2000, NT or Xp then follow > these steps: -right click on My Computer on your desktop-click on > properties-then click on Advanced tab-click on Environment Variables > button-then find path in System Variables-select path-click on edit > button-then add ;C:\j2sdk1.4.2_04\bin at the end of line-then click OK, > Apply-OK. > > > > I hope this helps you, please leave message for me on group, > > > > S Patel > > _____ > > From: Pradyut bhattacharya [mailto:[EMAIL PROTECTED] > Sent: Monday, November 08, 2004 3:50 PM > To: java official java > Subject: [Java] noClassDefFoundError > > > > > hi, > i have jdk5 installed in win xp sp2 > when i do java <filename> > i get the error on my machine > Exception in thread "main" > java.lang.NoClassDefFoundError: <filename> > i correct it by doing > java -cp . <filename> > then it runs fine. > > but on running a client ejb program on the command > line > AppClient -client <filename> > i again get the error > WARNING: ACC003: Application threw an exception. > java.lang.NoClassDefFoundError: > converter.ConverterHome > where converter.ConverterHome is contained in the jar > file > > i do not get a solution to this problem > how can i correct the above problem or the overall > problem such that > when i give the command > java <filename> > i get the output simply > any helps > Pradyut > > ===== > Pradyut Kumar Bhattacharya > http://pradyut.topcities.com > http://groups.yahoo.com/group/d_dom/ > India > > > > __________________________________ > Do you Yahoo!? > Check out the new Yahoo! Front Page. > www.yahoo.com > > > > > > > > If you have any comments or questions, submit it on the message board. > NO spam/ads/job posting or you will be BANNED from this group. Exception can > be made it happen by notify me ahead of time. > all new members' message will be verified by me (spam..) before it get > posted. > > > > > > > Yahoo! Groups Sponsor > > > > ADVERTISEMENT > > <http://us.ard.yahoo.com/SIG=1292q0f8i/M=295196.4901138.6071305.3001176/D=gr > oups/S=1705006905:HM/EXP=1100024909/A=2128215/R=0/SIG=10se96mf6/*http:/compa > nion.yahoo.com> click here > > > > <http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=groups/S= > :HM/A=2128215/rand=137547561> > > > > _____ > > Yahoo! Groups Links > > * To visit your group on the web, go to: > http://groups.yahoo.com/group/java_official/ > > * To unsubscribe from this group, send an email to: > [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > > * Your use of Yahoo! Groups is subject to the Yahoo! > <http://docs.yahoo.com/info/terms/> Terms of Service. > > > > [Non-text portions of this message have been removed] ------------------------ Yahoo! Groups Sponsor --------------------~--> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/5cFolB/TM --------------------------------------------------------------------~-> If you have any comments or questions, submit it on the message board. NO spam/ads/job posting or you will be BANNED from this group. Exception can be made it happen by notify me ahead of time. all new members' message will be verified by me (spam..) before it get posted. Yahoo! Groups Links <*> To reply to this message, go to: http://groups.yahoo.com/group/java_official/post?act=reply&messageNum=17384 Please do not reply to this message via email. More information here: http://help.yahoo.com/help/us/groups/messages/messages-23.html <*> To visit your group on the web, go to: http://groups.yahoo.com/group/java_official/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
