RE: License Reason using JRE(RE: Tomcat JRE vs JDK Issue)

2004-11-30 Thread Shapira, Yoav

Hi,

I heard that
Sun JDK can redistributed for commercial use with no changes.

You heard? ;)  Can you please point to an official confirmation of this?

Is lisence reason not that
 unable to redestribute full JDK
but also that
 unable(or difficult) to extract part of JDK ?

No.  Only the license.  There are no other difficulties and the JDK is
preferable to the JRE for developers because of its additional debugging
tools.

Yoav



This e-mail, including any attachments, is a confidential business 
communication, and may contain information that is confidential, proprietary 
and/or privileged.  This e-mail is intended only for the individual(s) to whom 
it is addressed, and may not be saved, copied, printed, disclosed or used by 
anyone else.  If you are not the(an) intended recipient, please immediately 
delete this e-mail from your computer system and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: License Reason using JRE(RE: Tomcat JRE vs JDK Issue)

2004-11-30 Thread muimi admin
Hi, thanks to reply.


I heard that
Sun JDK can redistributed for commercial use with no changes.

You heard? ;)  Can you please point to an official confirmation of this?


I only know the Sun JDK license document.


http://java.sun.com/j2se/1.5.0/jdk-1_5_0-license.txt
- C. License to Distribute Redistributables

Sun grants you a non-exclusive, 
non-transferable, limited license without fees to reproduce 
and distribute those files specifically identified as 
redistributable in the Software README file (Redistributables)


README file say that there are some optional files but full is OK.
Other part of license.txt show some conditions(no change, confirm license 
etc..).


It seem that redistributed is OK for me.
but, I am not familiar with license things.
so, I ask my acquaintances who know such things.
They said redistribute is OK.


Shinji Miyamoto


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: License Reason using JRE(RE: Tomcat JRE vs JDK Issue)

2004-11-30 Thread Parsons Technical Services
With a lot of software that is free to download, the main point is that the 
end user agrees to the license of the original owner (in this case SUN). If 
one was to embed or include a package in such a way to circumvent the EULA, 
then the end user could reverse engineer protected software without knowing 
it. Or change name and charge for it. So if you simply include the JDK as a 
separate file, to be installed as if downloaded, you should be meeting the 
requirement. In effect you are simply saving the end user the hassle of 
downloading the JDK.

I am NOT a lawyer and this is a personal opinion that should be taken at the 
value of the paper it is written on.

Doug
- Original Message - 
From: muimi admin [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, November 30, 2004 9:25 PM
Subject: RE: License Reason using JRE(RE: Tomcat JRE vs JDK Issue)


Hi, thanks to reply.

I heard that
Sun JDK can redistributed for commercial use with no changes.
You heard? ;)  Can you please point to an official confirmation of this?

I only know the Sun JDK license document.
http://java.sun.com/j2se/1.5.0/jdk-1_5_0-license.txt
- C. License to Distribute Redistributables

Sun grants you a non-exclusive,
non-transferable, limited license without fees to reproduce
and distribute those files specifically identified as
redistributable in the Software README file (Redistributables)

README file say that there are some optional files but full is OK.
Other part of license.txt show some conditions(no change, confirm license 
etc..).

It seem that redistributed is OK for me.
but, I am not familiar with license things.
so, I ask my acquaintances who know such things.
They said redistribute is OK.
Shinji Miyamoto
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


License Reason using JRE(RE: Tomcat JRE vs JDK Issue)

2004-11-29 Thread muimi admin
hi, 

it is that anyone can redistribute a JRE for
commercial use, but not a JDK.  The latter is a license violation

I heard that
Sun JDK can redistributed for commercial use with no changes.


So if you're creating a shrink-wrapped product, you can't bundle the JDK
with it (unless you get a special license and pay royalties to Sun), but
you can the JRE. 

If mentioned to Sun JDK,

Is lisence reason not that 
 unable to redestribute full JDK
but also that
 unable(or difficult) to extract part of JDK ?

(of course,  It is nice that we don't need worry about the JDK)


Shinji Miyamoto


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat JRE vs JDK Issue

2004-11-17 Thread George Sexton
One aside, the script (batch file) has an exit statement on the case where
the JDK is not detected. This results in a mysterious window closing which
causes a lot of hair pulling.

George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
  

 -Original Message-
 From: Remy Maucherat [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, November 16, 2004 9:04 AM
 To: Tomcat Users List
 Subject: Re: Tomcat JRE vs JDK Issue
 
 On Tue, 16 Nov 2004 10:46:38 -0500, Hubble, Christopher
 [EMAIL PROTECTED] wrote:
  How does one precompile the JSPs?  Then I should be able to 
 use TC with just
  a JRE, correct?  Once TC is deployed, there should not be 
 any need for
  changes to it, so it's fine to precompile the JSPs.
 
 Some JSP 2.0 features prevent precompilation, so, with Jasper, you
 cannot claim compliance without a Java compiler.
 
 So I can only recommend using TC 5.5 if you want to use a JRE. Note
 that the shell scripts will still complain about not having a JDK, as
 they have options which use JDK features. We have not decided what to
 do about that at the moment, but you can easily edit the script to
 bypass the check.
 
 -- 
 x
 Rémy Maucherat
 Developer  Consultant
 JBoss Group (Europe) SàRL
 x
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat JRE vs JDK Issue

2004-11-17 Thread Hubble, Christopher
I simply commented out the lines checking for javac and jdb.  This seems to
work.

Chris

-Original Message-
From: George Sexton [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 17, 2004 2:19 PM
To: 'Tomcat Users List'; 'Remy Maucherat'
Subject: RE: Tomcat JRE vs JDK Issue


One aside, the script (batch file) has an exit statement on the case where
the JDK is not detected. This results in a mysterious window closing which
causes a lot of hair pulling.

George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
  

 -Original Message-
 From: Remy Maucherat [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, November 16, 2004 9:04 AM
 To: Tomcat Users List
 Subject: Re: Tomcat JRE vs JDK Issue
 
 On Tue, 16 Nov 2004 10:46:38 -0500, Hubble, Christopher
 [EMAIL PROTECTED] wrote:
  How does one precompile the JSPs?  Then I should be able to 
 use TC with just
  a JRE, correct?  Once TC is deployed, there should not be 
 any need for
  changes to it, so it's fine to precompile the JSPs.
 
 Some JSP 2.0 features prevent precompilation, so, with Jasper, you
 cannot claim compliance without a Java compiler.
 
 So I can only recommend using TC 5.5 if you want to use a JRE. Note
 that the shell scripts will still complain about not having a JDK, as
 they have options which use JDK features. We have not decided what to
 do about that at the moment, but you can easily edit the script to
 bypass the check.
 
 -- 
 x
 Rémy Maucherat
 Developer  Consultant
 JBoss Group (Europe) SàRL
 x
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat JRE vs JDK Issue

2004-11-16 Thread Hubble, Christopher
I'm trying to run Tomcat 5.0.28 on W2k client machine.  On my machine, it
runs fine, with no problems.  But when I copy it over to the client machine,
which has the 1.4.2_05 JRE on it, Tomcat won't run, and says that it
requires the JDK.  Why is this, and is there a workaround, or do I have to
install the JDK?  I don't remember having this issue with 4.x.  Is it 5.x
specific?  TIA.

Chris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat JRE vs JDK Issue

2004-11-16 Thread Allistair Crossley
does the client machine have JAVA_HOME as an environment variable?

 -Original Message-
 From: Hubble, Christopher [mailto:[EMAIL PROTECTED]
 Sent: 16 November 2004 15:09
 To: [EMAIL PROTECTED]
 Subject: Tomcat JRE vs JDK Issue
 
 
 I'm trying to run Tomcat 5.0.28 on W2k client machine.  On my 
 machine, it
 runs fine, with no problems.  But when I copy it over to the 
 client machine,
 which has the 1.4.2_05 JRE on it, Tomcat won't run, and says that it
 requires the JDK.  Why is this, and is there a workaround, or 
 do I have to
 install the JDK?  I don't remember having this issue with 
 4.x.  Is it 5.x
 specific?  TIA.
 
 Chris
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat JRE vs JDK Issue

2004-11-16 Thread Shapira, Yoav

Hi,
Both Tomcat 4.x and 5.0 require the JDK.

Yoav Shapira http://www.yoavshapira.com


-Original Message-
From: Hubble, Christopher [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 16, 2004 10:09 AM
To: [EMAIL PROTECTED]
Subject: Tomcat JRE vs JDK Issue

I'm trying to run Tomcat 5.0.28 on W2k client machine.  On my machine,
it
runs fine, with no problems.  But when I copy it over to the client
machine,
which has the 1.4.2_05 JRE on it, Tomcat won't run, and says that it
requires the JDK.  Why is this, and is there a workaround, or do I have
to
install the JDK?  I don't remember having this issue with 4.x.  Is it
5.x
specific?  TIA.

Chris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business 
communication, and may contain information that is confidential, proprietary 
and/or privileged.  This e-mail is intended only for the individual(s) to whom 
it is addressed, and may not be saved, copied, printed, disclosed or used by 
anyone else.  If you are not the(an) intended recipient, please immediately 
delete this e-mail from your computer system and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat JRE vs JDK Issue

2004-11-16 Thread Hubble, Christopher
Why is that?

Chris

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 16, 2004 10:19 AM
To: Tomcat Users List
Subject: RE: Tomcat JRE vs JDK Issue



Hi,
Both Tomcat 4.x and 5.0 require the JDK.

Yoav Shapira http://www.yoavshapira.com
 

-Original Message-
From: Hubble, Christopher [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 16, 2004 10:09 AM
To: [EMAIL PROTECTED]
Subject: Tomcat JRE vs JDK Issue

I'm trying to run Tomcat 5.0.28 on W2k client machine.  On my machine,
it
runs fine, with no problems.  But when I copy it over to the client
machine,
which has the 1.4.2_05 JRE on it, Tomcat won't run, and says that it
requires the JDK.  Why is this, and is there a workaround, or do I have
to
install the JDK?  I don't remember having this issue with 4.x.  Is it
5.x
specific?  TIA.

Chris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat JRE vs JDK Issue

2004-11-16 Thread Allistair Crossley
because it has to compile JSPs into Servlets etc..

 -Original Message-
 From: Hubble, Christopher [mailto:[EMAIL PROTECTED]
 Sent: 16 November 2004 15:15
 To: 'Tomcat Users List'
 Subject: RE: Tomcat JRE vs JDK Issue
 
 
 Why is that?
 
 Chris
 
 -Original Message-
 From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, November 16, 2004 10:19 AM
 To: Tomcat Users List
 Subject: RE: Tomcat JRE vs JDK Issue
 
 
 
 Hi,
 Both Tomcat 4.x and 5.0 require the JDK.
 
 Yoav Shapira http://www.yoavshapira.com
  
 
 -Original Message-
 From: Hubble, Christopher [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, November 16, 2004 10:09 AM
 To: [EMAIL PROTECTED]
 Subject: Tomcat JRE vs JDK Issue
 
 I'm trying to run Tomcat 5.0.28 on W2k client machine.  On 
 my machine,
 it
 runs fine, with no problems.  But when I copy it over to the client
 machine,
 which has the 1.4.2_05 JRE on it, Tomcat won't run, and says that it
 requires the JDK.  Why is this, and is there a workaround, 
 or do I have
 to
 install the JDK?  I don't remember having this issue with 4.x.  Is it
 5.x
 specific?  TIA.
 
 Chris
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 This e-mail, including any attachments, is a confidential business
 communication, and may contain information that is 
 confidential, proprietary
 and/or privileged.  This e-mail is intended only for the 
 individual(s) to
 whom it is addressed, and may not be saved, copied, printed, 
 disclosed or
 used by anyone else.  If you are not the(an) intended 
 recipient, please
 immediately delete this e-mail from your computer system and 
 notify the
 sender.  Thank you.
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat JRE vs JDK Issue

2004-11-16 Thread Anthony E. Carlos
Chris:
I think TC requires the JDK (not just the JRE) so that it can compile 
JSPs. If this doesn't make sense, I can explain further.

-Anthony Carlos
On Nov 16, 2004, at 10:17 AM, Allistair Crossley wrote:
does the client machine have JAVA_HOME as an environment variable?
-Original Message-
From: Hubble, Christopher [mailto:[EMAIL PROTECTED]
Sent: 16 November 2004 15:09
To: [EMAIL PROTECTED]
Subject: Tomcat JRE vs JDK Issue
I'm trying to run Tomcat 5.0.28 on W2k client machine.  On my
machine, it
runs fine, with no problems.  But when I copy it over to the
client machine,
which has the 1.4.2_05 JRE on it, Tomcat won't run, and says that it
requires the JDK.  Why is this, and is there a workaround, or
do I have to
install the JDK?  I don't remember having this issue with
4.x.  Is it 5.x
specific?  TIA.
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Tomcat JRE vs JDK Issue

2004-11-16 Thread Shapira, Yoav

Hi,
Because a compiler is required to compile JSP pages into class bytecode.

Yoav Shapira http://www.yoavshapira.com


-Original Message-
From: Hubble, Christopher [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 16, 2004 10:15 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat JRE vs JDK Issue

Why is that?

Chris

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 16, 2004 10:19 AM
To: Tomcat Users List
Subject: RE: Tomcat JRE vs JDK Issue



Hi,
Both Tomcat 4.x and 5.0 require the JDK.

Yoav Shapira http://www.yoavshapira.com


-Original Message-
From: Hubble, Christopher [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 16, 2004 10:09 AM
To: [EMAIL PROTECTED]
Subject: Tomcat JRE vs JDK Issue

I'm trying to run Tomcat 5.0.28 on W2k client machine.  On my machine,
it
runs fine, with no problems.  But when I copy it over to the client
machine,
which has the 1.4.2_05 JRE on it, Tomcat won't run, and says that it
requires the JDK.  Why is this, and is there a workaround, or do I
have
to
install the JDK?  I don't remember having this issue with 4.x.  Is it
5.x
specific?  TIA.

Chris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary
and/or privileged.  This e-mail is intended only for the individual(s)
to
whom it is addressed, and may not be saved, copied, printed, disclosed
or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business 
communication, and may contain information that is confidential, proprietary 
and/or privileged.  This e-mail is intended only for the individual(s) to whom 
it is addressed, and may not be saved, copied, printed, disclosed or used by 
anyone else.  If you are not the(an) intended recipient, please immediately 
delete this e-mail from your computer system and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat JRE vs JDK Issue

2004-11-16 Thread Anthony E. Carlos
Damn! I was minutes away from actually helping someone (instead of 
always sucking up advice from the fast experts on this list)...

On Nov 16, 2004, at 10:23 AM, Anthony E. Carlos wrote:
Chris:
I think TC requires the JDK (not just the JRE) so that it can compile 
JSPs. If this doesn't make sense, I can explain further.

-Anthony Carlos
On Nov 16, 2004, at 10:17 AM, Allistair Crossley wrote:
does the client machine have JAVA_HOME as an environment variable?
-Original Message-
From: Hubble, Christopher [mailto:[EMAIL PROTECTED]
Sent: 16 November 2004 15:09
To: [EMAIL PROTECTED]
Subject: Tomcat JRE vs JDK Issue
I'm trying to run Tomcat 5.0.28 on W2k client machine.  On my
machine, it
runs fine, with no problems.  But when I copy it over to the
client machine,
which has the 1.4.2_05 JRE on it, Tomcat won't run, and says that it
requires the JDK.  Why is this, and is there a workaround, or
do I have to
install the JDK?  I don't remember having this issue with
4.x.  Is it 5.x
specific?  TIA.
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Tomcat JRE vs JDK Issue

2004-11-16 Thread Hubble, Christopher
Feel free to explain. :)

Chris

-Original Message-
From: Anthony E. Carlos [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 16, 2004 10:23 AM
To: Tomcat Users List
Subject: Re: Tomcat JRE vs JDK Issue


Chris:

I think TC requires the JDK (not just the JRE) so that it can compile 
JSPs. If this doesn't make sense, I can explain further.

-Anthony Carlos

On Nov 16, 2004, at 10:17 AM, Allistair Crossley wrote:

does the client machine have JAVA_HOME as an environment variable?

 -Original Message-
 From: Hubble, Christopher [mailto:[EMAIL PROTECTED]
 Sent: 16 November 2004 15:09
 To: [EMAIL PROTECTED]
 Subject: Tomcat JRE vs JDK Issue


 I'm trying to run Tomcat 5.0.28 on W2k client machine.  On my
 machine, it
 runs fine, with no problems.  But when I copy it over to the
 client machine,
 which has the 1.4.2_05 JRE on it, Tomcat won't run, and says that it
 requires the JDK.  Why is this, and is there a workaround, or
 do I have to
 install the JDK?  I don't remember having this issue with
 4.x.  Is it 5.x
 specific?  TIA.

 Chris

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat JRE vs JDK Issue

2004-11-16 Thread Allistair Crossley
go on Anthony .. you deserve it :) lol


 -Original Message-
 From: Hubble, Christopher [mailto:[EMAIL PROTECTED]
 Sent: 16 November 2004 15:20
 To: 'Tomcat Users List'
 Subject: RE: Tomcat JRE vs JDK Issue
 
 
 Feel free to explain. :)
 
 Chris
 
 -Original Message-
 From: Anthony E. Carlos [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, November 16, 2004 10:23 AM
 To: Tomcat Users List
 Subject: Re: Tomcat JRE vs JDK Issue
 
 
 Chris:
 
 I think TC requires the JDK (not just the JRE) so that it can compile 
 JSPs. If this doesn't make sense, I can explain further.
 
 -Anthony Carlos
 
 On Nov 16, 2004, at 10:17 AM, Allistair Crossley wrote:
 
 does the client machine have JAVA_HOME as an environment variable?
 
  -Original Message-
  From: Hubble, Christopher [mailto:[EMAIL PROTECTED]
  Sent: 16 November 2004 15:09
  To: [EMAIL PROTECTED]
  Subject: Tomcat JRE vs JDK Issue
 
 
  I'm trying to run Tomcat 5.0.28 on W2k client machine.  On my
  machine, it
  runs fine, with no problems.  But when I copy it over to the
  client machine,
  which has the 1.4.2_05 JRE on it, Tomcat won't run, and says that it
  requires the JDK.  Why is this, and is there a workaround, or
  do I have to
  install the JDK?  I don't remember having this issue with
  4.x.  Is it 5.x
  specific?  TIA.
 
  Chris
 
  
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE
 ---
 QAS Ltd.
 Developers of QuickAddress Software
 a href=http://www.qas.com;www.qas.com/a
 Registered in England: No 2582055
 Registered in Australia: No 082 851 474
 ---
 /FONT
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat JRE vs JDK Issue

2004-11-16 Thread Wick, Daniel
Chris,

JSP pages get compiled into bytecode (as Yoav just said) as they are
requested.  So, the server requires the SDK, including javac to do the
compiling.

--Dan

 -Original Message-
 From: Hubble, Christopher [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, November 16, 2004 9:20 AM
 To: 'Tomcat Users List'
 Subject: RE: Tomcat JRE vs JDK Issue
 
 
 Feel free to explain. :)
 
 Chris
 
 -Original Message-
 From: Anthony E. Carlos [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, November 16, 2004 10:23 AM
 To: Tomcat Users List
 Subject: Re: Tomcat JRE vs JDK Issue
 
 
 Chris:
 
 I think TC requires the JDK (not just the JRE) so that it can compile 
 JSPs. If this doesn't make sense, I can explain further.
 
 -Anthony Carlos
 
 On Nov 16, 2004, at 10:17 AM, Allistair Crossley wrote:
 
 does the client machine have JAVA_HOME as an environment variable?
 
  -Original Message-
  From: Hubble, Christopher [mailto:[EMAIL PROTECTED]
  Sent: 16 November 2004 15:09
  To: [EMAIL PROTECTED]
  Subject: Tomcat JRE vs JDK Issue
 
 
  I'm trying to run Tomcat 5.0.28 on W2k client machine.  On my
  machine, it
  runs fine, with no problems.  But when I copy it over to the
  client machine,
  which has the 1.4.2_05 JRE on it, Tomcat won't run, and says that it
  requires the JDK.  Why is this, and is there a workaround, or
  do I have to
  install the JDK?  I don't remember having this issue with
  4.x.  Is it 5.x
  specific?  TIA.
 
  Chris
 
  
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE
 ---
 QAS Ltd.
 Developers of QuickAddress Software
 a href=http://www.qas.com;www.qas.com/a
 Registered in England: No 2582055
 Registered in Australia: No 082 851 474
 ---
 /FONT
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat JRE vs JDK Issue

2004-11-16 Thread Allistair Crossley
yes unless you do JSP precompilation where you compile your JSPs into servlets 
before hand. A servlet is the bytecode class that all these guys are talking 
about. JSP is not a language per se either, it's an interpreted language like 
PHP that mixes HTML and Java code. The compilation phase merges the HTML and 
Java and so fourth into a Java class called a Servlet. This is what runs your 
request from the browser and sends the response back to the user.

Allistair 

 -Original Message-
 From: Wick, Daniel [mailto:[EMAIL PROTECTED]
 Sent: 16 November 2004 15:35
 To: 'Tomcat Users List'
 Subject: RE: Tomcat JRE vs JDK Issue
 
 
 Chris,
 
 JSP pages get compiled into bytecode (as Yoav just said) as they are
 requested.  So, the server requires the SDK, including javac to do the
 compiling.
 
 --Dan
 
  -Original Message-
  From: Hubble, Christopher [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, November 16, 2004 9:20 AM
  To: 'Tomcat Users List'
  Subject: RE: Tomcat JRE vs JDK Issue
  
  
  Feel free to explain. :)
  
  Chris
  
  -Original Message-
  From: Anthony E. Carlos [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, November 16, 2004 10:23 AM
  To: Tomcat Users List
  Subject: Re: Tomcat JRE vs JDK Issue
  
  
  Chris:
  
  I think TC requires the JDK (not just the JRE) so that it 
 can compile 
  JSPs. If this doesn't make sense, I can explain further.
  
  -Anthony Carlos
  
  On Nov 16, 2004, at 10:17 AM, Allistair Crossley wrote:
  
  does the client machine have JAVA_HOME as an environment variable?
  
   -Original Message-
   From: Hubble, Christopher [mailto:[EMAIL PROTECTED]
   Sent: 16 November 2004 15:09
   To: [EMAIL PROTECTED]
   Subject: Tomcat JRE vs JDK Issue
  
  
   I'm trying to run Tomcat 5.0.28 on W2k client machine.  On my
   machine, it
   runs fine, with no problems.  But when I copy it over to the
   client machine,
   which has the 1.4.2_05 JRE on it, Tomcat won't run, and 
 says that it
   requires the JDK.  Why is this, and is there a workaround, or
   do I have to
   install the JDK?  I don't remember having this issue with
   4.x.  Is it 5.x
   specific?  TIA.
  
   Chris
  
   
  
 -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: 
 [EMAIL PROTECTED]
  
  
  
  
  FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE
  ---
  QAS Ltd.
  Developers of QuickAddress Software
  a href=http://www.qas.com;www.qas.com/a
  Registered in England: No 2582055
  Registered in Australia: No 082 851 474
  ---
  /FONT
  
  
  
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat JRE vs JDK Issue

2004-11-16 Thread David Boyer
Correct me if I'm wrong.
 
One of the things the JDK brings that the JRE does not is tools.jar
which contains com.sun.tools.javac, which is needed to compile JSPs.
 
It might be possible to use the JRE as long as you have tools.jar from
the JDK somewhere in your classpath. It seems like I saw a thread
related to this a while ago, although I don't know if it works. 
 
Is there a compelling reason to want to use the JRE rather than the
full JDK? 


 [EMAIL PROTECTED] 11/16/2004 7:35:02 AM 

Chris,

JSP pages get compiled into bytecode (as Yoav just said) as they are
requested.  So, the server requires the SDK, including javac to do the
compiling.

--Dan

 -Original Message-
 From: Hubble, Christopher [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, November 16, 2004 9:20 AM
 To: 'Tomcat Users List'
 Subject: RE: Tomcat JRE vs JDK Issue
 
 
 Feel free to explain. :)
 
 Chris
 
 -Original Message-
 From: Anthony E. Carlos [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, November 16, 2004 10:23 AM
 To: Tomcat Users List
 Subject: Re: Tomcat JRE vs JDK Issue
 
 
 Chris:
 
 I think TC requires the JDK (not just the JRE) so that it can compile

 JSPs. If this doesn't make sense, I can explain further.
 
 -Anthony Carlos
 
 On Nov 16, 2004, at 10:17 AM, Allistair Crossley wrote:
 
 does the client machine have JAVA_HOME as an environment variable?
 
  -Original Message-
  From: Hubble, Christopher [mailto:[EMAIL PROTECTED]
  Sent: 16 November 2004 15:09
  To: [EMAIL PROTECTED]
  Subject: Tomcat JRE vs JDK Issue
 
 
  I'm trying to run Tomcat 5.0.28 on W2k client machine.  On my
  machine, it
  runs fine, with no problems.  But when I copy it over to the
  client machine,
  which has the 1.4.2_05 JRE on it, Tomcat won't run, and says that
it
  requires the JDK.  Why is this, and is there a workaround, or
  do I have to
  install the JDK?  I don't remember having this issue with
  4.x.  Is it 5.x
  specific?  TIA.
 
  Chris
 
  

-
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail:
[EMAIL PROTECTED]
 
 
 
 
 FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE
 ---
 QAS Ltd.
 Developers of QuickAddress Software
 a href=http://www.qas.com;A
href=http://www.qas.comwww.qas.com/a
 Registered in England: No 2582055
 Registered in Australia: No 082 851 474
 ---
 /FONT
 
 

-
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

-
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

-
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Tomcat JRE vs JDK Issue

2004-11-16 Thread Anthony E. Carlos
JSP technology is an extension of the servlet technology created to 
support authoring of HTML and XML pages.

If you've ever written servlets, you know what a tremendous pain it is 
to write and maintain all those out.println() statements. JSP was 
designed to allow more HTML-centric (aka presentation-side) people to 
create pages that get turned into servlets that are compiled into 
bytecode for the java interpreter to interpret. If you peek around the 
work directory, you'll find an XXX_jsp.java and an XXX_jsp.class file 
for every JSP.

That's why a JRE isn't enough-- you need a compiler from the JDK to 
compile the JSP into servlets.

Phew!
HTH,
-Anthony
On Nov 16, 2004, at 10:27 AM, Allistair Crossley wrote:
go on Anthony .. you deserve it :) lol

-Original Message-
From: Hubble, Christopher [mailto:[EMAIL PROTECTED]
Sent: 16 November 2004 15:20
To: 'Tomcat Users List'
Subject: RE: Tomcat JRE vs JDK Issue
Feel free to explain. :)
Chris
-Original Message-
From: Anthony E. Carlos [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 16, 2004 10:23 AM
To: Tomcat Users List
Subject: Re: Tomcat JRE vs JDK Issue
Chris:
I think TC requires the JDK (not just the JRE) so that it can compile
JSPs. If this doesn't make sense, I can explain further.
-Anthony Carlos
On Nov 16, 2004, at 10:17 AM, Allistair Crossley wrote:
does the client machine have JAVA_HOME as an environment variable?
-Original Message-
From: Hubble, Christopher [mailto:[EMAIL PROTECTED]
Sent: 16 November 2004 15:09
To: [EMAIL PROTECTED]
Subject: Tomcat JRE vs JDK Issue
I'm trying to run Tomcat 5.0.28 on W2k client machine.  On my
machine, it
runs fine, with no problems.  But when I copy it over to the
client machine,
which has the 1.4.2_05 JRE on it, Tomcat won't run, and says that it
requires the JDK.  Why is this, and is there a workaround, or
do I have to
install the JDK?  I don't remember having this issue with
4.x.  Is it 5.x
specific?  TIA.
Chris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Tomcat JRE vs JDK Issue

2004-11-16 Thread Allistair Crossley
I have experienced the need in the past to drop tools.jar into tomcat's 
common/lib folder but not in 5.0.28 or 5.5. Perhaps you're right.

 -Original Message-
 From: David Boyer [mailto:[EMAIL PROTECTED]
 Sent: 16 November 2004 15:42
 To: [EMAIL PROTECTED]
 Subject: RE: Tomcat JRE vs JDK Issue
 
 
 Correct me if I'm wrong.
  
 One of the things the JDK brings that the JRE does not is tools.jar
 which contains com.sun.tools.javac, which is needed to compile JSPs.
  
 It might be possible to use the JRE as long as you have tools.jar from
 the JDK somewhere in your classpath. It seems like I saw a thread
 related to this a while ago, although I don't know if it works. 
  
 Is there a compelling reason to want to use the JRE rather than the
 full JDK? 
 
 
  [EMAIL PROTECTED] 11/16/2004 7:35:02 AM 
 
 Chris,
 
 JSP pages get compiled into bytecode (as Yoav just said) as they are
 requested.  So, the server requires the SDK, including javac to do the
 compiling.
 
 --Dan
 
  -Original Message-
  From: Hubble, Christopher [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, November 16, 2004 9:20 AM
  To: 'Tomcat Users List'
  Subject: RE: Tomcat JRE vs JDK Issue
  
  
  Feel free to explain. :)
  
  Chris
  
  -Original Message-
  From: Anthony E. Carlos [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, November 16, 2004 10:23 AM
  To: Tomcat Users List
  Subject: Re: Tomcat JRE vs JDK Issue
  
  
  Chris:
  
  I think TC requires the JDK (not just the JRE) so that it 
 can compile
 
  JSPs. If this doesn't make sense, I can explain further.
  
  -Anthony Carlos
  
  On Nov 16, 2004, at 10:17 AM, Allistair Crossley wrote:
  
  does the client machine have JAVA_HOME as an environment variable?
  
   -Original Message-
   From: Hubble, Christopher [mailto:[EMAIL PROTECTED]
   Sent: 16 November 2004 15:09
   To: [EMAIL PROTECTED]
   Subject: Tomcat JRE vs JDK Issue
  
  
   I'm trying to run Tomcat 5.0.28 on W2k client machine.  On my
   machine, it
   runs fine, with no problems.  But when I copy it over to the
   client machine,
   which has the 1.4.2_05 JRE on it, Tomcat won't run, and says that
 it
   requires the JDK.  Why is this, and is there a workaround, or
   do I have to
   install the JDK?  I don't remember having this issue with
   4.x.  Is it 5.x
   specific?  TIA.
  
   Chris
  
   
 
 -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail:
 [EMAIL PROTECTED]
  
  
  
  
  FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE
  ---
  QAS Ltd.
  Developers of QuickAddress Software
  a href=http://www.qas.com;A
 href=http://www.qas.comwww.qas.com/a
  Registered in England: No 2582055
  Registered in Australia: No 082 851 474
  ---
  /FONT
  
  
 
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
 
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat JRE vs JDK Issue

2004-11-16 Thread Hubble, Christopher
Due to other programs that we install on the client machine, the JRE is
installed.  I was hoping to just use that in order to minimize the changes
to our other programs and setups.  Do you know where I could find more
information about using tools.jar?

Chris

-Original Message-
From: David Boyer [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 16, 2004 10:42 AM
To: [EMAIL PROTECTED]
Subject: RE: Tomcat JRE vs JDK Issue


Correct me if I'm wrong.
 
One of the things the JDK brings that the JRE does not is tools.jar
which contains com.sun.tools.javac, which is needed to compile JSPs.
 
It might be possible to use the JRE as long as you have tools.jar from
the JDK somewhere in your classpath. It seems like I saw a thread
related to this a while ago, although I don't know if it works. 
 
Is there a compelling reason to want to use the JRE rather than the
full JDK? 


 [EMAIL PROTECTED] 11/16/2004 7:35:02 AM 

Chris,

JSP pages get compiled into bytecode (as Yoav just said) as they are
requested.  So, the server requires the SDK, including javac to do the
compiling.

--Dan

 -Original Message-
 From: Hubble, Christopher [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, November 16, 2004 9:20 AM
 To: 'Tomcat Users List'
 Subject: RE: Tomcat JRE vs JDK Issue
 
 
 Feel free to explain. :)
 
 Chris
 
 -Original Message-
 From: Anthony E. Carlos [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, November 16, 2004 10:23 AM
 To: Tomcat Users List
 Subject: Re: Tomcat JRE vs JDK Issue
 
 
 Chris:
 
 I think TC requires the JDK (not just the JRE) so that it can compile

 JSPs. If this doesn't make sense, I can explain further.
 
 -Anthony Carlos
 
 On Nov 16, 2004, at 10:17 AM, Allistair Crossley wrote:
 
 does the client machine have JAVA_HOME as an environment variable?
 
  -Original Message-
  From: Hubble, Christopher [mailto:[EMAIL PROTECTED]
  Sent: 16 November 2004 15:09
  To: [EMAIL PROTECTED]
  Subject: Tomcat JRE vs JDK Issue
 
 
  I'm trying to run Tomcat 5.0.28 on W2k client machine.  On my
  machine, it
  runs fine, with no problems.  But when I copy it over to the
  client machine,
  which has the 1.4.2_05 JRE on it, Tomcat won't run, and says that
it
  requires the JDK.  Why is this, and is there a workaround, or
  do I have to
  install the JDK?  I don't remember having this issue with
  4.x.  Is it 5.x
  specific?  TIA.
 
  Chris
 
  

-
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail:
[EMAIL PROTECTED]
 
 
 
 
 FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE
 ---
 QAS Ltd.
 Developers of QuickAddress Software
 a href=http://www.qas.com;A
href=http://www.qas.comwww.qas.com/a
 Registered in England: No 2582055
 Registered in Australia: No 082 851 474
 ---
 /FONT
 
 

-
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

-
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

-
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat JRE vs JDK Issue

2004-11-16 Thread Shapira, Yoav

Hi,

One of the things the JDK brings that the JRE does not is tools.jar
which contains com.sun.tools.javac, which is needed to compile JSPs.

Correct.

It might be possible to use the JRE as long as you have tools.jar from
the JDK somewhere in your classpath. It seems like I saw a thread
related to this a while ago, although I don't know if it works.

It does for many cases, but not all (there are tricky
classloader-related cases if using a JRE/lib/ext or sealed jar), and
that's why it's not recommended now and was never officially supported.

Is there a compelling reason to want to use the JRE rather than the
full JDK?

There are two that come to mind.  One is that the JRE is smaller,
lighter in footprint, and easier to install.  The second is probably
more significant, and it is that anyone can redistribute a JRE for
commercial use, but not a JDK.  The latter is a license violation.  So
if you're creating a shrink-wrapped product, you can't bundle the JDK
with it (unless you get a special license and pay royalties to Sun), but
you can the JRE.  This is a good reason for JSP pre-compilation in and
of itself.

All of the above applies only to the Sun JDK and JRE.  There are
alternatives, such as the IBM, JRockit, Blackdown JDKs, and the Jikes
compiler.  Tomcat works with all of these, and they have different
license restrictions for redistributions.

Of course, Tomcat 5.5 largely avoids this issue altogether.  Tomcat 5.5
requires only a JRE, and bundles Eclipse's JDT compiler, which is free
for redistribution.  So you can bundle Tomcat 5.5 with a JRE, not
pre-compile JSPs, and still be able to sell your package without
violating any license or paying any royalties.

Yoav Shapira http://www.yoavshapira.com




This e-mail, including any attachments, is a confidential business 
communication, and may contain information that is confidential, proprietary 
and/or privileged.  This e-mail is intended only for the individual(s) to whom 
it is addressed, and may not be saved, copied, printed, disclosed or used by 
anyone else.  If you are not the(an) intended recipient, please immediately 
delete this e-mail from your computer system and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat JRE vs JDK Issue

2004-11-16 Thread Hubble, Christopher
tools.jar is already in common/lib.  How do I get Tomcat to start w/o
loading the JRE?  Can I just modify the catalina.bat file?

Chris

-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 16, 2004 10:45 AM
To: Tomcat Users List
Subject: RE: Tomcat JRE vs JDK Issue


I have experienced the need in the past to drop tools.jar into tomcat's
common/lib folder but not in 5.0.28 or 5.5. Perhaps you're right.

 -Original Message-
 From: David Boyer [mailto:[EMAIL PROTECTED]
 Sent: 16 November 2004 15:42
 To: [EMAIL PROTECTED]
 Subject: RE: Tomcat JRE vs JDK Issue
 
 
 Correct me if I'm wrong.
  
 One of the things the JDK brings that the JRE does not is tools.jar
 which contains com.sun.tools.javac, which is needed to compile JSPs.
  
 It might be possible to use the JRE as long as you have tools.jar from
 the JDK somewhere in your classpath. It seems like I saw a thread
 related to this a while ago, although I don't know if it works. 
  
 Is there a compelling reason to want to use the JRE rather than the
 full JDK? 
 
 
  [EMAIL PROTECTED] 11/16/2004 7:35:02 AM 
 
 Chris,
 
 JSP pages get compiled into bytecode (as Yoav just said) as they are
 requested.  So, the server requires the SDK, including javac to do the
 compiling.
 
 --Dan
 
  -Original Message-
  From: Hubble, Christopher [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, November 16, 2004 9:20 AM
  To: 'Tomcat Users List'
  Subject: RE: Tomcat JRE vs JDK Issue
  
  
  Feel free to explain. :)
  
  Chris
  
  -Original Message-
  From: Anthony E. Carlos [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, November 16, 2004 10:23 AM
  To: Tomcat Users List
  Subject: Re: Tomcat JRE vs JDK Issue
  
  
  Chris:
  
  I think TC requires the JDK (not just the JRE) so that it 
 can compile
 
  JSPs. If this doesn't make sense, I can explain further.
  
  -Anthony Carlos
  
  On Nov 16, 2004, at 10:17 AM, Allistair Crossley wrote:
  
  does the client machine have JAVA_HOME as an environment variable?
  
   -Original Message-
   From: Hubble, Christopher [mailto:[EMAIL PROTECTED]
   Sent: 16 November 2004 15:09
   To: [EMAIL PROTECTED]
   Subject: Tomcat JRE vs JDK Issue
  
  
   I'm trying to run Tomcat 5.0.28 on W2k client machine.  On my
   machine, it
   runs fine, with no problems.  But when I copy it over to the
   client machine,
   which has the 1.4.2_05 JRE on it, Tomcat won't run, and says that
 it
   requires the JDK.  Why is this, and is there a workaround, or
   do I have to
   install the JDK?  I don't remember having this issue with
   4.x.  Is it 5.x
   specific?  TIA.
  
   Chris
  
   
 
 -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail:
 [EMAIL PROTECTED]
  
  
  
  
  FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE
  ---
  QAS Ltd.
  Developers of QuickAddress Software
  a href=http://www.qas.com;A
 href=http://www.qas.comwww.qas.com/a
  Registered in England: No 2582055
  Registered in Australia: No 082 851 474
  ---
  /FONT
  
  
 
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
 
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat JRE vs JDK Issue

2004-11-16 Thread Hubble, Christopher
How does one precompile the JSPs?  Then I should be able to use TC with just
a JRE, correct?  Once TC is deployed, there should not be any need for
changes to it, so it's fine to precompile the JSPs.

Chris

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 16, 2004 10:50 AM
To: Tomcat Users List
Subject: RE: Tomcat JRE vs JDK Issue



Hi,

One of the things the JDK brings that the JRE does not is tools.jar
which contains com.sun.tools.javac, which is needed to compile JSPs.

Correct.

It might be possible to use the JRE as long as you have tools.jar from
the JDK somewhere in your classpath. It seems like I saw a thread
related to this a while ago, although I don't know if it works.

It does for many cases, but not all (there are tricky
classloader-related cases if using a JRE/lib/ext or sealed jar), and
that's why it's not recommended now and was never officially supported.

Is there a compelling reason to want to use the JRE rather than the
full JDK?

There are two that come to mind.  One is that the JRE is smaller,
lighter in footprint, and easier to install.  The second is probably
more significant, and it is that anyone can redistribute a JRE for
commercial use, but not a JDK.  The latter is a license violation.  So
if you're creating a shrink-wrapped product, you can't bundle the JDK
with it (unless you get a special license and pay royalties to Sun), but
you can the JRE.  This is a good reason for JSP pre-compilation in and
of itself.

All of the above applies only to the Sun JDK and JRE.  There are
alternatives, such as the IBM, JRockit, Blackdown JDKs, and the Jikes
compiler.  Tomcat works with all of these, and they have different
license restrictions for redistributions.

Of course, Tomcat 5.5 largely avoids this issue altogether.  Tomcat 5.5
requires only a JRE, and bundles Eclipse's JDT compiler, which is free
for redistribution.  So you can bundle Tomcat 5.5 with a JRE, not
pre-compile JSPs, and still be able to sell your package without
violating any license or paying any royalties.

Yoav Shapira http://www.yoavshapira.com




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat JRE vs JDK Issue

2004-11-16 Thread Shapira, Yoav

Hi,

How does one precompile the JSPs?  Then I should be able to use TC with

RTFM at
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jasper-howto.html.

a JRE, correct?  Once TC is deployed, there should not be any need for
changes to it, so it's fine to precompile the JSPs.

That depends on your scenario.  If only deploy once and ship, then yeah.
But if you (or your users, or your server admin) can change JSPs after
shipping the app, you still need the JDK.  Tomcat supports a very wide
variety of use-cases.  Now that you know more than enough about JDK vs
JRE you should be able to make the call given your user requirements ;)

Yoav



This e-mail, including any attachments, is a confidential business 
communication, and may contain information that is confidential, proprietary 
and/or privileged.  This e-mail is intended only for the individual(s) to whom 
it is addressed, and may not be saved, copied, printed, disclosed or used by 
anyone else.  If you are not the(an) intended recipient, please immediately 
delete this e-mail from your computer system and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat JRE vs JDK Issue

2004-11-16 Thread Hubble, Christopher
Thanks for the info.  It looks like I won't need the JDK after all.  One
last question.  How do I get TC to not blow up about using a JRE?  Can I
just comment out the lines checking for javac.exe, or will that break other
things?

Chris

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 16, 2004 10:59 AM
To: Tomcat Users List
Subject: RE: Tomcat JRE vs JDK Issue



Hi,

How does one precompile the JSPs?  Then I should be able to use TC with

RTFM at
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jasper-howto.html.

a JRE, correct?  Once TC is deployed, there should not be any need for
changes to it, so it's fine to precompile the JSPs.

That depends on your scenario.  If only deploy once and ship, then yeah.
But if you (or your users, or your server admin) can change JSPs after
shipping the app, you still need the JDK.  Tomcat supports a very wide
variety of use-cases.  Now that you know more than enough about JDK vs
JRE you should be able to make the call given your user requirements ;)

Yoav



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat JRE vs JDK Issue

2004-11-16 Thread Remy Maucherat
On Tue, 16 Nov 2004 10:46:38 -0500, Hubble, Christopher
[EMAIL PROTECTED] wrote:
 How does one precompile the JSPs?  Then I should be able to use TC with just
 a JRE, correct?  Once TC is deployed, there should not be any need for
 changes to it, so it's fine to precompile the JSPs.

Some JSP 2.0 features prevent precompilation, so, with Jasper, you
cannot claim compliance without a Java compiler.

So I can only recommend using TC 5.5 if you want to use a JRE. Note
that the shell scripts will still complain about not having a JDK, as
they have options which use JDK features. We have not decided what to
do about that at the moment, but you can easily edit the script to
bypass the check.

-- 
x
Rémy Maucherat
Developer  Consultant
JBoss Group (Europe) SàRL
x

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat JRE vs JDK Issue

2004-11-16 Thread Hubble, Christopher
Well, I just finished changing the scripts to not worry about the JDK, and
everything seems to be working okay.  I'm off to do some testing.  Thanks to
everyone for the help.

Chris

-Original Message-
From: Hubble, Christopher [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 16, 2004 10:56 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat JRE vs JDK Issue


Thanks for the info.  It looks like I won't need the JDK after all.  One
last question.  How do I get TC to not blow up about using a JRE?  Can I
just comment out the lines checking for javac.exe, or will that break other
things?

Chris

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 16, 2004 10:59 AM
To: Tomcat Users List
Subject: RE: Tomcat JRE vs JDK Issue



Hi,

How does one precompile the JSPs?  Then I should be able to use TC with

RTFM at
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jasper-howto.html.

a JRE, correct?  Once TC is deployed, there should not be any need for
changes to it, so it's fine to precompile the JSPs.

That depends on your scenario.  If only deploy once and ship, then yeah.
But if you (or your users, or your server admin) can change JSPs after
shipping the app, you still need the JDK.  Tomcat supports a very wide
variety of use-cases.  Now that you know more than enough about JDK vs
JRE you should be able to make the call given your user requirements ;)

Yoav



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]