EMC Java Updates
- Subject: EMC Java Updates
- From: shackle-at-cme.nist.gov (Will Shackleford)
- Date: Thu, 15 Apr 1999 10:16:03 -0400
- Content-MD5: 7fK0LrvGBayoja2GoBYF7Q==
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=us-ascii
I have just posted a new version of the EMC code with updates to the Java code at
ftp://isdftp.cme.nist.gov/pub/emc/emcsoft/linux_2_0_36/emc-15-Apr-1999.tgz
To run the java GUI:
After starting the controller you should open another window an use commands
similiar to these. (The directories may be different on your machine.)
# Go to the EMC directory.
cd /usr/local/nist/emc
# Start a server that handles TCP requests for access to local shared memory.
plat/linux_2_0_36/bin/emcsvr &
# Setup Java environment
setenv LD_LIBRARY_PATH /usr/local/jdk117_v1a/lib
setenv CLASSPATH /usr/local/jdk117_v1a/lib/classes.zip:/usr/local/nist/emc/plat/java/lib/emc.jar
# Start the Java Program
/usr/local/jdk117_v1a/bin/java emc.gui.NCapplet RunLocal=true NCProgBase=/usr/local/nist/emc/programs
To build your own Java GUI on top of NML:
Read http://isd.cme.nist.gov/projects/rcs_lib/NMLjava.html for the NML API.
Use the messages in /usr/local/nist/emc/src/java/emc/nml. The
gui code in /usr/local/nist/emc/src/java/emc/gui can serve as an example.
To run the Java on another machine remotely perhaps with Windows 95.
Copy emc.jar and emc.nml to that machine. Edit emc.nml to replace localhost with the host that is
running the controller. Run the local instructions above starting at "Setup Java Environment" but
modified to use the correct directories. On Windows machines the LD_LIBRARY_PATH is generally just added
to the PATH instead.
-- Will
---------------------------------------------------------------------------
William Penn Shackleford III shackle-at-cme.nist.gov
National Institute of Standards & Technology Tel: (301) 975-4286
Building 220 Room B-127 FAX: (301) 990-9688
Gaithersburg MD 20899 USA http://isd.cme.nist.gov/staff/shackleford/
---------------------------------------------------------------------------
Date Index |
Thread Index |
Back to archive index |
Back to Mailing List Page
Problems or questions? Contact