dbrannon7344 / trade-manager

Automatically exported from code.google.com/p/trade-manager
1 stars 0 forks source link

Java command cannot be found #9

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Installing the MySQL Server
2. Installing latest Java RE 32-bit 
3. Changing "Java_Home" in build.bat to java dir
4. Executing build.bat

What is the expected output? What do you see instead?
The build.bat file should create the database, instead I get the error "The 
'java' command cannot be found" 

What version of the product are you using? On what operating system?
Latest Java RE 32-bit 
Windows 7 64-bit

Please provide any additional information below.
I can't find the tools.jar in %JAVA_HOME%/lib/ 

Thank you 

Original issue reported on code.google.com by maximili...@gmail.com on 25 Nov 2012 at 10:42

Attachments:

GoogleCodeExporter commented 8 years ago
This is my build.bat code

Original comment by maximili...@gmail.com on 25 Nov 2012 at 10:44

Attachments:

GoogleCodeExporter commented 8 years ago
You need to install the Java SE you have just installed the Java Runtime. Also 
in the build.bat you need to un-comment the createDB target the first time you 
run it so that it creates the DB.

So PATH will look something like this
@if defined JAVA_HOME goto javahomedefined
SET JAVA_HOME=C:/Program Files/Java/jdk1.7.0_09
:javahomedefined

Check the Wiki for install instructions.

Java SE
http://www.oracle.com/technetwork/java/javase/downloads/jdk7u9-downloads-1859576
.html

Original comment by simon.allen on 26 Nov 2012 at 2:19

GoogleCodeExporter commented 8 years ago

Original comment by simon.allen on 27 Nov 2012 at 5:07