You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

install.txt 2.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. 0. Install
  2. Now get the directory "aj-@aj.event@/". Just copy the
  3. "aj-@aj.event@/" directory from the provided CD.
  4. If you're running a Windows machine, we recommend you copy into
  5. "c:\". If you're running your favorite Unix (we've had success under
  6. Linux and MacOS X), we recommend you install into "~\".
  7. 1. Configure
  8. Our installation is fairly well self-contained, but it does need to know
  9. where Java lives. To do this you must set the environment variable named
  10. JAVA_HOME. This variable should point to something like
  11. c:\apps\jdk1.3.1_04
  12. /usr/java
  13. /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home
  14. depending on your system. You may either do this globally, or you may
  15. edit the appropriate setpaths script:
  16. setpaths.bat (under Windows)
  17. setpaths.sh (if you run bash/sh/ksh, like most Linux setups)
  18. setpaths.csh (if you run csh, like most MacOS X setups)
  19. Also, if you installed into a directory other than "c:\" or "~/", then you
  20. need to change the EXTRACTION environment variable in the setpaths script.
  21. 2. Test
  22. Open a new command shell and change to the "aj-@aj.event@/" directory.
  23. We have provided a "setpaths" script to set permissions and various paths
  24. variables, so run this script:
  25. > setpaths.bat (under Windows)
  26. > source setpaths.sh (if you run bash/sh/ksh, like most Linux setups)
  27. > source setpaths.csh (if you run csh, like most MacOS X setups)
  28. You must remember to run this script every time you open a new command
  29. shell.
  30. Now, compile the core system with ajc:
  31. > ajc -argfile guibase.lst
  32. This should compile the figures application (source code in the figures
  33. directory) as well as a single unit test (source code in the tests
  34. directory).
  35. See if the compile was successful by running the gui figures app you just
  36. compiled:
  37. > java figures.gui.Main
  38. And, after quitting out of the gui figures app, run the unit test:
  39. > java tests.Test
  40. ....
  41. Time: 0.076
  42. OK (4 tests)