[antlr-interest] (newbie problem) rewrite rule question

Randall R Schulz rschulz at sonic.net
Tue Jul 10 19:48:33 PDT 2007


On Tuesday 10 July 2007 19:38, ali azimi wrote:
> Hi,
>   I have typed the command. It says:
>   'java' is not recognized as an internal or external command,
> operable program or batch file.

This, of course, stinks of Windows...

Presumably you have not configured your execution path to include your 
Java SDK. You'll have to do that, or issue a full path-name every time 
you launch java, javac or any other command from the JDK. Furthermore, 
you may need to set the JAVA_HOME variable so other commands and 
scripts (known in that realm as "batch files"—ugh!) can find the Java / 
JDK commands.


> ...
>
>   So do you think the problem is with the version of java im running?
> which version I should install?

It's unlikely there's a problem with the version you've installed, even 
if it's not the latest. Java 1.4 is not exactly new. Unless you last 
installed and / or updated your Java many years ago, you probably have 
a sufficiently recent version.


>   Thanks,
>
>   Al



Randall Schulz


More information about the antlr-interest mailing list