BladeSmith generates the Project_Java.mak makefile in the src\java directory. Use this makefile to compile Java code from the command line on UNIX and Windows.
When you compile, the makefile produces a JAR file, Project.jar, in the source code directory src/java. This file is appropriate for the server and client implementations.
The makefile requires that you set the following environment variables before you compile:
.:$(JDKPATH):${INFORMIXDIR}/extend/krakatoa/krakatoa.jar: ${INFORMIXDIR}/extend/krakatoa/jdbc.jar
TARGET. Set to the path and filename of the include file for your platform. Platform-specific files are located in the directory INFORMIXDIR/incl/dbdk.
The BINDIR variable in the makefile determines where the JAR files are written.
BladeSmith creates server, all, and clean targets in the makefile. The server target builds the JAR files. The clean target deletes the JAR files. The default all target is equivalent to the server target.
Use the Project_Java.mak makefile with the JDK 1.1.x compiler.
make -f Project_Java.mak
nmake -fProject_Java.mak
Project is the name of the DataBlade module project. The Project.jar files are created in the src/java directory.
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]