Hi All
Let me make things clearer now, forget all the prior mails and listen
Let me make things clearer now, forget all the prior mails and listen
I have two java files 'HelloWorld.java' and "Hello.java'
I am attaching the code for the same.
I am attaching the code for the same.
Now on compiling HelloWorld.java, I still getting errors no matter what way I compile, the log is attached also.
On compiling Hello.java with the classpath, it compiles properly. However gives error when copiled without the classpath mentioned explicitly.
On compiling Hello.java with the classpath, it compiles properly. However gives error when copiled without the classpath mentioned explicitly.
I brought in confusion earlier saying that HelloWorld compiled and there was no class file, however when I had received the Windows error.. sayong 'javac.exe encountered error', what actually had happeded.. it deleted the contents of HelloWorld.java, keeping the file name intact. That is why when I compiled a blank file it compiled without errors and it illusioned as if the code was compiled and no class file was generated.
To answer what c:/javacode is then that is the place where the source code as .java files reside.
"Samara, Fadi N Mr ACSIM/ASPEX" <[EMAIL PROTECTED]> wrote:
Classification: UNCLASSIFIED
Caveats: NONE
Try to reboot your machine, then compile again and see what happens.
Fadi
-----Original Message-----
From: S M [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 13, 2005 11:57 AM
To: Tomcat Users List
Subject: RE: class path (UNCLASSIFIED)
it is netwroked...
thgs are behaving perfectly ok if i compile an ordinary class i.e without a servlet then why should it matter otherwise...
if i compiled it successfully there should be a class file.
Now I am doubting the message: Windows gave a error msg saying that 'javac.exe' faced an error, close. and since then, I am getting no errors when compling the servlet, also no class file?
"Samara, Fadi N Mr ACSIM/ASPEX" <[EMAIL PROTECTED]>wrote:
Classification: UNCLASSIFIED
Caveats: NONE
It compiled successfully and no .class was generated ? This is weird.
Maybe it is something with where you're writing to. If it compiled then javac's job is done.
Is it a standalone server/PC or networked ? Do you have limited permissions ?
Fadi
-----Original Message-----
From: S M [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 13, 2005 11:44 AM
To: Tomcat Users List
Subject: RE: class path (UNCLASSIFIED)
tried that... now no errors anyway but there is no class file too???
"Caldarale, Charles R" wrote:
> From: S M [mailto:[EMAIL PROTECTED]
> Subject: RE: class path (UNCLASSIFIED)
>
> Now compiling
> c:/javacode>javac
> -classpath HelloWorld.java
> it said - Access Denied
Where are these angle brackets coming from? They should not be present.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------
Yahoo! Messenger - Communicate instantly..."Ping" your friends today!
Download Messenger Now
Classification: UNCLASSIFIED
Caveats: NONE
---------------------------------
Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now
Classification: UNCLASSIFIED
Caveats: NONE
Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]