tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Pliszka <apliszka-pub...@alienforceit.com>
Subject Re: Version of Java being used by Tomcat
Date Wed, 04 Apr 2007 20:05:44 GMT
There is one more thing related to java version and JSPs, there is a 
configuration setting for the version used to compile jsps. So even if 
you have 1.5 your JSPs still might compile in 1.4 mode. This is setup in 
the tomcat xml config file.

Andrew

Gurdeep Kaur (gurdeep) wrote:

>java -version 
>
>Should give you what is the default java version used
>
>Gurdeep 
>
>-----Original Message-----
>From: Christopher Schultz [mailto:chris@christopherschultz.net] 
>Sent: Wednesday, April 04, 2007 1:00 PM
>To: Tomcat Users List
>Subject: Re: Version of Java being used by Tomcat
>
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Richard,
>
>Richard Dunne wrote:
>  
>
>>Aneez, Try typing "echo -version %JAVA% " at the prompt".  works in 
>>dos anyway, not sure if tomcat has its own specific syntax.
>>    
>>
>
>Never heard of that one before. As far as I know, "echo" on DOS does not
>accept any arguments other than "ON", "OFF" or a message to display.
>
>%JAVA% expands to the value of the environment variable "JAVA", which is
>not guaranteed to contain anything. For instance, I have Java installed
>on my win32 box and the command interpreter blankly gives me:
>
>C:\Documents and Settings\Chris> echo -version %JAVA%
>- -version %JAVA%
>
>C:\Documents and Settings\Chris>
>
>Not very helpful :(
>
>- -chris
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.4.7 (MingW32)
>Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
>iD8DBQFGFAPc9CaO5/Lv0PARApXGAKCMj1GJCeTxV7cEI/2yrVoFs15iVQCgtaO4
>Dxs/dfqjdMg1utzoASO4CfA=
>=L662
>-----END PGP SIGNATURE-----
>
>---------------------------------------------------------------------
>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
>
>---------------------------------------------------------------------
>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
>
>
>
>  
>



---------------------------------------------------------------------
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


Mime
View raw message