Hi Piotr,

Thanks for the response. I have search throught my PC but could not find where 
is the java.exe file. Where does this file resides and if I don't have one, how 
can I obtain such file? 

 

 


Date: Tue, 8 Sep 2009 09:47:15 +0200
Subject: Re: [java ee programming] Failure in populating the Example Database
From: it.pet...@gmail.com
To: peeterbru...@hotmail.com




On Tue, Sep 8, 2009 at 8:59 AM, peeter brunch <peeterbru...@hotmail.com> wrote:



After typing ant create-tables from the window vista DOS window terminal, I 
have received the following message:'java.exe' is not recognize as an internal 
or external command,operable program or batch file.
 
What have I done wrong? Thanks you.
 
The instruction from the course manual is as below:

Populating the Example DatabaseWhen you deploy any of the Duke’s Bookstore 
applications using ant deploy, the database is automatically populated at the 
same time. If you want to populate the database separately from the deploy task 
or are using NetBeans IDE to deploy the application, follow these steps:


In a terminal window, go to the books directory or any one of the bookstore1 
through bookstore6 example directories.

Start the Java DB database server. For instructions, see Starting and Stopping 
the Java DB Database Server. You don’t have to do this if you are using 
NetBeans IDE. It starts the database server automatically.

Type ant create-tables. This task runs a command to read the file tutorial.sql 
and execute the SQL commands contained in the file.


Hi, 

check your Windows class path settings. Probably you do not have set the path 
to java.exe

-- 
Piotr Chowaniec

_________________________________________________________________
Get back to school stuff for them and cashback for you.
http://www.bing.com/cashback?form=MSHYCB&publ=WLHMTAG&crea=TEXT_MSHYCB_BackToSchool_Cashback_BTSCashback_1x1
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Java EE (J2EE) Programming with Passion!" group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to