Almost first question in JRE

I downloaded JDK 2.0 SE 1.3.1 and Java 2.0 RunTimeEnvironment SE 1.3.1. I created this path d:\jdk1.3.1\bin to enable using commands java and javac in command prompt. What I have to do to enable use jre -cp . Hello command to test my Hello program in Windows JRE?

If I now type jre command to command prompt I get announcement:"The name specified is not recognized as an internal or external command, operable program or batch file."

thanks

rampe

[480 byte] By [rampe29] at [2007-9-26 2:19:51]
# 1
After to save your Hello.java file. You have to do this:c:\javac Hello.javaand thenc:\java HelloHope this helps
R2D2 at 2007-6-29 9:22:51 > top of Java-index,Desktop,Runtime Environment...
# 2
Jre isn't a commandView this: http://java.sun.com/j2se/1.3/images/standard.sdk.html
R2D2 at 2007-6-29 9:22:52 > top of Java-index,Desktop,Runtime Environment...
# 3

Hey,

I compiled file: javac Hello.java and run it : java Hello. Program was ok. It runs ok in 'javawindow'.

Next phase in instructions goes like this:"

The application can now be tested in either the Sun JDKs Java Runtime Environment, .....blaa blaa... To test under the Windows JRE, keep in your Hello directory and type: > jre -cp . Hello"

So what is wrong could you R2D2 or somebody else give me little help?

thanks

Rampe

rampe29 at 2007-6-29 9:22:52 > top of Java-index,Desktop,Runtime Environment...
# 4
Where did you read this?I know that to run a java program, you only need JRE which it hasnt the javac file but it have the java file to run your java programs.Hope this helps
R2D2 at 2007-6-29 9:22:52 > top of Java-index,Desktop,Runtime Environment...