Chapter 10 Working with Java


Defining Java environment variables

Variables used for Java generation are defined in the General Options dialog box.

For more information on variables and general options, see "Customizing your Modeling Environment" section in the Models chapter of the Core Features Guide .

The following variables are created by default when you install PowerDesigner:

Variable Description Default
J2EEVERIF Batch program for verifying if the deployment jar for an EJB is correct verifier.bat
JAR Command for archiving java files jar.exe
JAVA Command for running JAVA programs java.exe
JAVAC Command for compiling JAVA source files javac.exe
JAVADOC Command for defining JAVA doc comments javadoc.exe

You can also add the JAVACLASSPATH variable in this table in order to set the Java classpath, this variable replaces the CLASSPATH environment variable.

 


Copyright (C) 2008. Sybase Inc. All rights reserved.