]
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
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
, 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
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
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
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
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
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
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
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
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
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
[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
.
-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
: 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
...
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
; [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
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
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
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
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
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
22 matches
Mail list logo