Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 4 Getting Started : Compiling the Sample Clients

Compiling the Sample Clients
To compile and run the sample clients you need to execute "setup" script, which is located in the EMS_HOME/samples/java directory. On Windows systems, the setup file is setup.bat. On Unix systems, the setup file is setup.sh.
To compile the sample client files:
1.
2.
3.
Open the correct setup script file and verify that the TIBEMS_ROOT environment variable identifies the correct pathname to your EMS_HOME directory. For example, on a Windows system this might look like:
set TIBEMS_ROOT=C:\tibco\ems\6.3
4.
Enter setup to set the environment and classpath:
> setup
5.
> javac -d . *.java
This compiles all the samples in the directory, except for those samples in the JNDI and tibrv subdirectories.
If the files compile successfully, the class files will appear in the EMS_HOME/samples/java directory. If they do not compile correctly, an error message appears.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved