You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by System <sy...@eluminoustechnologies.com> on 2003/05/16 13:33:33 UTC
Java...
How do I check if Java is installed on my machine?
Thanks,
Tina...
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Java...
Posted by John Turner <to...@johnturner.com>.
True, but if your path isn't set up to look for it, it could be installed
but "java -version" would fail.
A more thorough way to look would be (on UNIX/Linux):
find / -name java -print
John
On Fri, 16 May 2003 19:39:28 +0800, Chong Yu Meng <ch...@cymulacrum.net>
wrote:
> System wrote:
>
>> How do I check if Java is installed on my machine?
>>
>>
>>
> Easy, Tina. Open a command prompt (for Windows) or terminal window
> (Linux/Unix) and type "java -version", If you get "command not found" or
> some such error message, you don't have Java installed.
>
> Regards,
> pascal chong
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Java...
Posted by Chong Yu Meng <ch...@cymulacrum.net>.
System wrote:
>How do I check if Java is installed on my machine?
>
>
>
Easy, Tina. Open a command prompt (for Windows) or terminal window
(Linux/Unix) and type "java -version", If you get "command not found" or
some such error message, you don't have Java installed.
Regards,
pascal chong
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Java...
Posted by System <sy...@eluminoustechnologies.com>.
Sorry I did not mention. I am on linux machine.
Thankx,
Tina...
----- Original Message -----
From: "pawan" <pa...@apar.com>
To: "'Tomcat Users List'" <to...@jakarta.apache.org>
Sent: Friday, May 16, 2003 5:09 PM
Subject: RE: Java...
> in command prompt run java command and javac command. It will givu this
type
> of screen
>
> C:\>java
> Usage: java [-options] class [args...]
> (to execute a class)
> or java -jar [-options] jarfile [args...]
> (to execute a jar file)
>
> where options include:
> -client to select the "client" VM
> -server to select the "server" VM
> -hotspot is a synonym for the "client" VM [deprecated]
> The default VM is client.
>
> -cp -classpath <directories and zip/jar files separated by ;>
> set search path for application classes and resources
> -D<name>=<value>
> set a system property
> -verbose[:class|gc|jni]
> enable verbose output
> -version print product version and exit
> -showversion print product version and continue
> -? -help print this help message
> -X print help on non-standard options
> -ea[:<packagename>...|:<classname>]
> -enableassertions[:<packagename>...|:<classname>]
> enable assertions
> -da[:<packagename>...|:<classname>]
> -disableassertions[:<packagename>...|:<classname>]
> disable assertions
> -esa | -enablesystemassertions
> enable system assertions
> -dsa | -disablesystemassertions
> disable system assertions
>
> -----Original Message-----
> From: System [mailto:system@eluminoustechnologies.com]
> Sent: Friday, May 16, 2003 5:04 PM
> To: TomCat
> Subject: Java...
>
>
> How do I check if Java is installed on my machine?
>
> Thanks,
>
> Tina...
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
RE: Java...
Posted by pawan <pa...@apar.com>.
in command prompt run java command and javac command. It will givu this type
of screen
C:\>java
Usage: java [-options] class [args...]
(to execute a class)
or java -jar [-options] jarfile [args...]
(to execute a jar file)
where options include:
-client to select the "client" VM
-server to select the "server" VM
-hotspot is a synonym for the "client" VM [deprecated]
The default VM is client.
-cp -classpath <directories and zip/jar files separated by ;>
set search path for application classes and resources
-D<name>=<value>
set a system property
-verbose[:class|gc|jni]
enable verbose output
-version print product version and exit
-showversion print product version and continue
-? -help print this help message
-X print help on non-standard options
-ea[:<packagename>...|:<classname>]
-enableassertions[:<packagename>...|:<classname>]
enable assertions
-da[:<packagename>...|:<classname>]
-disableassertions[:<packagename>...|:<classname>]
disable assertions
-esa | -enablesystemassertions
enable system assertions
-dsa | -disablesystemassertions
disable system assertions
-----Original Message-----
From: System [mailto:system@eluminoustechnologies.com]
Sent: Friday, May 16, 2003 5:04 PM
To: TomCat
Subject: Java...
How do I check if Java is installed on my machine?
Thanks,
Tina...
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Java...
Posted by pe...@kisstechnologies.co.uk.
Erm if you have Windows you will have a version of Java but I wouldnt
recommend it. Unless you've installed it you wont have. go into
add/remove programs and look for a line "Java 2 SDK Version....." to see
if it's there (again assuming windows). Otherwise download it and install
it!
Pete
"System" <sy...@eluminoustechnologies.com>
16/05/2003 12:33
Please respond to "Tomcat Users List"
To: "TomCat" <to...@jakarta.apache.org>
cc:
Subject: Java...
How do I check if Java is installed on my machine?
Thanks,
Tina...
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org