Re: command prompt /shell query



"KiwiBrian" <briantoz@xxxxxxxxxx> wrote in message
news:d9j2u1$1cg$1@xxxxxxxxxxxxxxxxxx
>
> "Will Denny" <willdenny@xxxxxxxx> wrote in message
> news:eGUS0mVeFHA.4088@xxxxxxxxxxxxxxxxxxxxxxx
>> Hi
>>
>> Type the following from Start>Run
>>
>> cmd
>>
>> and hit Enter.
>>
>> Then at the command prompt type
>>
>> java -version
>>
>> And hit Enter. Please note the space between the a and -.
>>
>> --
>>
>> Will Denny
>> MS-MVP Windows Shell/User
>> Please reply to the News Groups
>>
>>
>> "KiwiBrian" <briantoz@xxxxxxxxxx> wrote in message
>> news:d9j0p4$se1$1@xxxxxxxxxxxxxxxxxx
>>>I have come across the following instruction:-
>>> To find out if you have Java installed, and which version it is, you can
>>> open a command prompt / shell and type in:
>>>
>>> java -versionCould someone please assume that I know absolutely nothing
>>> and tell me exactly how I accomplish the above instruction.I have tried
>>> all the things that I can think of, but let us not go there....
>
> Thanks Will.
> The response that I get is:-
>
> 'java' is not recognized as an internal or external command, operable
> program or batch file.
>
> Is this the expected response if I do not have the MS java application
> installed?
> If so, what should be the response if I do have an alternative (non MS)
> java application installed?
>
> Thanks
> Brian Tozer

Hi Brian

That command works here OK. Go to the following URL and see if it will
update/install Java for your system:

http://www.java.com/en/

There is also a Manual download of Java available on that page.


--

Will Denny
MS-MVP Windows Shell/User
Please reply to the News Groups



.



Relevant Pages

  • Re: A constructive debate: Eclipse or NetBeans?
    ... that Linux and command-line driven languages like OCaml are so much more ... That's because most people never learn to use a command line or a simple ... Trying to run other people's OpenGL-based Java demos from the web I find ... OpenGL). ...
    (comp.lang.java.softwaretools)
  • Process.waitFor() returns, but threads reading output/error streams are blocked on read
    ... threads to read in the out/err streams, ... i'll include the java source below, but the problem seems extremely specific ... passed in on the command line). ... process is hung if i terminate the process the command line tool connects to ...
    (comp.lang.java.programmer)
  • Re: My shell cant find Java
    ... I downloaded java with netbeans from Sun ... >> Each time I type java I get an unknown command error. ... how you set environment variable depends on what shell you're using. ...
    (comp.lang.java.help)
  • Re: Timed wait fails under WebStart in Java 1.6 prerelease?
    ... the java command line. ... that I show you the jnlp specs for the configuration which does not run: ... java.specification.vendor: <Sun Microsystems Inc.> ...
    (comp.lang.java.programmer)
  • Re: Regexes on the command line
    ... When the java command inside the script executes it reanalyzes the command string and since the single quotes are gone it misinterprets the special characters. ...
    (comp.lang.java.programmer)