Quick question on strange path issue

I'm reading a book on J2EE and following along with the book. I installed the J2EE that includes everything:

J2EE 1.4 SDK 2005Q2 UR2 Download

(117-142 MB)

Contains:

* Sun Java System Application Server Platform Edition 8.1 2005Q2 UR2

* J2SE 5.0

* J2EE 1.4 SDK Samples 2005Q2 UR2

* J2EE 1.4 API Documentation

I set my path environment variable to J2EE_Home = C:\Sun\AppServer

Then set my path %J2EE_Home%\bin

If I type cd %J2EE_Home%\bin at the command prompt it works fine.

Now the books asks to navigate to a specific directory and run the command "asant database", but Windows comes back with the usual "not an internal command nonsense" that you get when the path is set incorrectly.

asant.bat is in the C:\Sun\AppServer\bin directory.

Anyone have any idea as to what is happening here?

[877 byte] By [yourNameHerea] at [2007-10-2 5:51:56]
# 1

> Now the books asks to navigate to a specific

> directory and run the command "asant database", but

> Windows comes back with the usual "not an internal

> command nonsense" that you get when the path is set

> incorrectly.

>

> asant.bat is in the C:\Sun\AppServer\bin directory.

>

> Anyone have any idea as to what is happening here?

Then obviously C:\Sun\AppServer\bin is *not* in your PATH, contrary to your claim (unless the error is happening within the bat script itself).

warnerjaa at 2007-7-16 2:01:34 > top of Java-index,Java Essentials,New To Java...