You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Natasha N Wright <nn...@Cs.Nott.AC.UK> on 2007/03/05 15:51:45 UTC

Tomcat Compiler probs

I am trying to compile a java file(a.java) which creates instances of 
other classes(b.java & c.java) i have created.

all files compile & run fine when using java 1.5, but when i attempt to 
compile with TomCat 4:
b.java & c.java compile fine
a.java throws errors, it throws 'cannot resolve symbol' errors whenever 
b or c instances are created.

all the above are in the same directory

Help is appreciated

Regards

Natasha



This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: [OT] Tomcat Compiler probs

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Natasha N Wright [mailto:nnw03u@Cs.Nott.AC.UK] 
> Subject: Re: [OT] Tomcat Compiler probs
> 
> the tomcat4 part of the command as far as i'm aware just 
> makes sure that the correct JDK version shipped with
> TOmcat 4 is used.

No JDK ships with Tomcat - you have to install one yourself.
Regardless, this script is not part of the Tomcat download, nor is there
any mechanism within Tomcat to compile arbitrary .java files.  This
topic is not relevant to Tomcat and should not be discussed on this
mailing list.

 - 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 start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: [OT] Tomcat Compiler probs

Posted by Natasha N Wright <nn...@Cs.Nott.AC.UK>.
Caldarale, Charles R wrote:

>>From: Natasha N Wright [mailto:nnw03u@Cs.Nott.AC.UK] 
>>Subject: Re: Tomcat Compiler probs
>>
>>I am creating a servlet which connects to a database
>>so I am using the:
>>
>>tomcat4 javac <filename>.java
>>command to compile my java files.
> 
> 
> Is tomcat4 a script that someone has placed on your system?  It's not
> part of the standard Tomcat distribution.  You'll need to discuss this
> with whoever created the script.
> 
>  - 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 start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
the tomcat4 part of the command as far as i'm aware just makes sure that 
the correct JDK version shipped with TOmcat 4 is used.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: [OT] Tomcat Compiler probs

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Natasha N Wright [mailto:nnw03u@Cs.Nott.AC.UK] 
> Subject: Re: Tomcat Compiler probs
> 
> I am creating a servlet which connects to a database
> so I am using the:
> 
> tomcat4 javac <filename>.java
> command to compile my java files.

Is tomcat4 a script that someone has placed on your system?  It's not
part of the standard Tomcat distribution.  You'll need to discuss this
with whoever created the script.

 - 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 start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat Compiler probs

Posted by Natasha N Wright <nn...@Cs.Nott.AC.UK>.
I am creating a servlet which connects to a database
so I am using the:

tomcat4 javac <filename>.java
command to compile my java files.

regards

natasha


Caldarale, Charles R wrote:

>>From: Natasha N Wright [mailto:nnw03u@Cs.Nott.AC.UK] 
>>Subject: Tomcat Compiler probs
>>
>>all files compile & run fine when using java 1.5, but when i 
>>attempt to compile with TomCat 4:
> 
> 
> This is an odd thing to say, since Tomcat (any version) does not compile
> .java files, other than those produced from JSPs.  What are you actually
> trying to do?
> 
>  - 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 start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 


This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Tomcat Compiler probs

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Natasha N Wright [mailto:nnw03u@Cs.Nott.AC.UK] 
> Subject: Tomcat Compiler probs
> 
> all files compile & run fine when using java 1.5, but when i 
> attempt to compile with TomCat 4:

This is an odd thing to say, since Tomcat (any version) does not compile
.java files, other than those produced from JSPs.  What are you actually
trying to do?

 - 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 start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org