/[classpath]/classpath/examples/README
ViewVC logotype

Diff of /classpath/examples/README

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by mark, Mon Aug 1 22:32:44 2005 UTC revision 1.5 by mark, Mon Sep 5 08:31:03 2005 UTC
# Line 23  run as follows: Line 23  run as follows:
23    kaffe -classpath examples.zip gnu.classpath.examples.awt.Demo    kaffe -classpath examples.zip gnu.classpath.examples.awt.Demo
24    kaffe -classpath examples.zip gnu.classpath.examples.swing.Demo    kaffe -classpath examples.zip gnu.classpath.examples.swing.Demo
25    
26    The jawt Demo needs some extra support library that currently needs to be
27    build by hand.  The following assumes GNU Classpath was installed in
28    /usr/local/classpath, if you installed it somewhere else then adjust the
29    -I and -L paths accordingly. The included Makefile.jawt is setup this way.
30    
31    You can invoke it with:
32    
33            make -f Makefile.jawt
34    
35    Or you can compile by hand as follows:
36    
37      gcj -C gnu/classpath/examples/jawt/DemoJAWT.java
38      gcjh -jni gnu.classpath.examples.jawt.DemoJAWT -o DemoJAWT.h
39      gcc -g -O0 -Wall -I. -I/usr/X11R6/include -L. -L/usr/X11R6/lib \
40        -I/usr/local/classpath/include -L/usr/local/classpath/lib/classpath \
41        -lX11 -ljawtgnu -shared -o libDemoJAWT.so \
42        gnu/classpath/examples/jawt/DemoJAWT.c
43    
44    You can then run the example as follows:
45    
46      export LD_LIBRARY_PATH=.:/usr/local/classpath/lib/classpath
47      jamvm gnu.classpath.examples.jawt.DemoJAWT
48    
49  All example code is distributed under the GNU General Public License (GPL).  All example code is distributed under the GNU General Public License (GPL).
50    
51  The example icons used in some of the examples come from gnome-icon-theme  The example icons used in some of the examples come from gnome-icon-theme

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26