RE: A little offbeat question

2004-09-17 Thread Shapira, Yoav
] Subject: Re: A little offbeat question I wish they would clarify that, to, Don't set CLASSPATH yourself. Let the applications or frameworks do that. I think that would be less confusing. As I understand it, this simply means that if you are going to execute a Java app, you should set

RE: A little offbeat question

2004-09-16 Thread John Najarian
One more thing, tomcat was running fine. -Original Message- From: John Najarian [mailto:[EMAIL PROTECTED] Sent: Thursday, September 16, 2004 12:01 AM To: [EMAIL PROTECTED] Subject: A little offbeat question I tried to run a program I thought would but it doesn't. This is on a windows

Re: A little offbeat question

2004-09-16 Thread Meena Alagappan
, September 16, 2004 12:33 PM Subject: RE: A little offbeat question One more thing, tomcat was running fine. -Original Message- From: John Najarian [mailto:[EMAIL PROTECTED] Sent: Thursday, September 16, 2004 12:01 AM To: [EMAIL PROTECTED] Subject: A little offbeat question

RE: A little offbeat question

2004-09-16 Thread Aris Javier
Define your classpath... Your classpath should include c:\j2sdk1.4.2_03 -Original Message- From: John Najarian [mailto:[EMAIL PROTECTED] Sent: Thursday, September 16, 2004 3:03 PM To: 'Tomcat Users List' Subject: RE: A little offbeat question One more thing, tomcat was running fine

RE: A little offbeat question

2004-09-16 Thread Bedrijven.nl
JAVA_HOME c:\j2sdk1.4.2_03..don'nt you need a jdk? Seems it's a classpath problem -Oorspronkelijk bericht- Van: Meena Alagappan [mailto:[EMAIL PROTECTED] Verzonden: Thursday, September 16, 2004 8:13 AM Aan: Tomcat Users List Onderwerp: Re: A little offbeat question Frist tell me what

RE: A little offbeat question

2004-09-16 Thread John Najarian
: Re: A little offbeat question Frist tell me what you are trying do this code with tomcat ? Best Regards, Meena. ~ -- Life is a festival ... Celebrate it ... -- - Original Message - From: John Najarian To: 'Tomcat

RE: A little offbeat question

2004-09-16 Thread John Najarian
I'll check that but I'm sure it is in there. Just earlier today it was working -Original Message- From: Aris Javier [mailto:[EMAIL PROTECTED] Sent: Thursday, September 16, 2004 12:18 AM To: Tomcat Users List Subject: RE: A little offbeat question Define your classpath... Your classpath

Re: A little offbeat question

2004-09-16 Thread Meena Alagappan
To: 'Tomcat Users List' Sent: Thursday, September 16, 2004 12:46 PM Subject: RE: A little offbeat question I'll check that but I'm sure it is in there. Just earlier today it was working -Original Message- From: Aris Javier [mailto:[EMAIL PROTECTED] Sent: Thursday

Re: A little offbeat question

2004-09-16 Thread martin
Try running 'java ... HelloWorld' instead of 'java ... HelloWorld.class' :-) Regards, Martin John Najarian [EMAIL PROTECTED] schrieb am 16.09.2004, 09:00:52: 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

RE: A little offbeat question

2004-09-16 Thread John Najarian
offbeat question JAVA_HOME c:\j2sdk1.4.2_03..don'nt you need a jdk? Seems it's a classpath problem -Oorspronkelijk bericht- Van: Meena Alagappan [mailto:[EMAIL PROTECTED] Verzonden: Thursday, September 16, 2004 8:13 AM Aan: Tomcat Users List Onderwerp: Re: A little offbeat question Frist

RE: A little offbeat question

2004-09-16 Thread John Najarian
You shouldn't have to add that to the classpath if you run it From the directory it's in but I'll try it. -Original Message- From: Meena Alagappan [mailto:[EMAIL PROTECTED] Sent: Thursday, September 16, 2004 12:25 AM To: Tomcat Users List Subject: Re: A little offbeat question Ok

RE: A little offbeat question

2004-09-16 Thread John Najarian
That's what I did. When I was first learning Java that 1 bit me. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, September 16, 2004 12:24 AM To: Tomcat Users List Subject: Re: A little offbeat question Try running 'java ... HelloWorld' instead

Re: RE: A little offbeat question

2004-09-16 Thread martin
[EMAIL PROTECTED] schrieb am 16.09.2004, 09:32:18: That's what I did. When I was first learning Java that 1 bit me. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, September 16, 2004 12:24 AM To: Tomcat Users List Subject: Re: A little offbeat

RE: RE: A little offbeat question

2004-09-16 Thread John Najarian
. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, September 16, 2004 12:40 AM To: Tomcat Users List Subject: Re: RE: A little offbeat question But the exception says NoClassDefFoundError: HelloWorld/class. So where does the /class come from?? In any case don't

Re: A little offbeat question

2004-09-16 Thread Dennis Dai
: A little offbeat question But the exception says NoClassDefFoundError: HelloWorld/class. So where does the /class come from?? In any case don't bother with classpath environment, but (with the class in your current directory) simply run 'java -cp . HelloWorld'. Would really surprise me if it didn't

Re: Re: A little offbeat question

2004-09-16 Thread deepak shripat mane
... 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

Re: Re: A little offbeat question

2004-09-16 Thread Meena Alagappan
; [EMAIL PROTECTED] Sent: Thursday, September 16, 2004 3:03 PM Subject: Re: Re: A little offbeat question Hello Meena Please Define Class_path variable in XP . So that your problem cat be get solved Deepak On Thu, 16 Sep 2004 Meena Alagappan wrote : Frist tell me what you

RE: A little offbeat question

2004-09-16 Thread Frank Zammetti
Yeah, as others have said, JAVA can't find your classs. Either add the directory the class file is in to your classpath, or just execute: java -cp . HelloWorld That will add the current directory to the classpath for the current execution. Frank W. Zammetti Founder and Chief Software

RE: RE: A little offbeat question

2004-09-16 Thread Frank Zammetti
www.omnytex.com From: John Najarian [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: RE: A little offbeat question Date: Thu, 16 Sep 2004 01:02:59 -0700 Thanks, the '-cp .' did it. Something is definitely hosed up. I haven't

RE: RE: A little offbeat question

2004-09-16 Thread Caldarale, Charles R
From: John Najarian [mailto:[EMAIL PROTECTED] Subject: RE: RE: A little offbeat question I'm still going to look at the CLASSPATH env var. Maybe I should add '.' to the CLASSPATH variable. These days, Sun seems to be recommending not using the CLASSPATH environment variable - ever. Use

Re: A little offbeat question

2004-09-16 Thread Joel
On Thu, 16 Sep 2004 07:41:11 -0500 Caldarale, Charles R [EMAIL PROTECTED] wrote From: John Najarian [mailto:[EMAIL PROTECTED] Subject: RE: RE: A little offbeat question I'm still going to look at the CLASSPATH env var. Maybe I should add '.' to the CLASSPATH variable. These days

Re: A little offbeat question

2004-09-16 Thread Frank Zammetti
I wish they would clarify that, to, Don't set CLASSPATH yourself. Let the applications or frameworks do that. I think that would be less confusing. As I understand it, this simply means that if you are going to execute a Java app, you should set the classpath right before executing the app (on