![]() |
|
||||||||||||||||||||||||||||||||
|
| |||||||||||||||||||||||||||||||||
|
| |||||||||||||||||||||||||||||||||
|
|
|
How to Download, Install, and Start the APT tools using SolarisNote to STScI Users: APT has been installed on our Science and SOGS UNIX clusters. So you can just type: APT to start it up. Supported SystemsThe APT tools are highly graphical and interactive applications and therefore run best on a robust machine. APT is supported on Sun Solaris 8, 9, and 10. For small proposals in Phase I an Ultra 5 with 256 Megabytes RAM (memory) should generally be sufficient, but for Phase II work we highly recommend 512 Megabytes. Please see our memory discussion for more information. Note: APT's upgrade to Java 5 has made it so Solaris 7 can no longer be supported. (Solaris 7 cannot be patched for Java 5.) Additional System Configuration Issues:
How to find out about new releasesWe maintain an internal distribution list for announcing new releases of APT. This may be helpful to people who install APT for others to use. Send an e-mail to majordomo@stsci.edu which contains the line: subscribe apt-users 1. UnInstall the previous versionNote: If you are going to install APT in the same directory as a previous version, please remove the previous version first. But if you are going to install in a separate directory, you would only need to uninstall to save disk space (and possible version confusion).Here are instructions for getting rid of the old version:
2. Quit out of other applications (optional)This is not required, but for some older machines there may be trouble installing if the resources of the machine are being used by other applications. 3. Download and InstallChoose your operating system: APT contains Java Virtual Machine (JVM) 1.5.0_08-b03. So there is a different APT for each major platform. The installation page you enter next can choose the correct version for your machine for you (just click on the button below the words "Recommended installation for your platform"). Or just choose the Solaris platform from the "Available Installers" table and follow the instructions. Get the most out of your machine's memory: During installation you will be given the option of stating how much memory your machine has.
Proceed to the Installation... (If you are in Europe you should use the
mirrored download site in Germany). 4. TroubleshootingIf the installer tells you that "errors occurred" during installation, look at the installation log which is located in: <installation dir>/APT*_InstallLog.log If you have a problem you can check if you have one of the common problems below. If you don't find your problem you can generate debug and sometimes that will reveal the problem (insufficient disk space for instance). You can contact us for help at help@stsci.edu if you have problems with installation that you are unable to solve for yourself. Please send us the debug you generated (in line, not as an attachment). It would also be useful to tell us what version of Solaris you are using. Known Installation Problems:
If you get this error when invoking APT: java.lang.NoClassDefFoundError: gov/nasa/gsfc/sea/targettuner/TargetTunerModuleit is due to installing APT on top of a previous installation without deleting the previous installation first. Since APT uses Java 5 , your system manager may need to install patches for the version of Solaris you are running. If you experience serious problems with installation or bringing APT up for the first time, please check to see that the required patches are installed. The installer uses graphical pop up windows to ask you questions about the installation process. If you attempt to install APT remotely and do not have your DISPLAY variable set correctly, you will see in your stack trace: java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:53) On the other hand if you attempt to run APT remotely and do not have your DISPLAY variable set correctly, you will get a message like: Unable to locate the application's 'main' class. The class 'edu.stsci.hst.apt.controller.HstAptController' must be public and have a 'public static void main(String[])' method. (LAX) If you are a system manager attempting to install on a server that does not have a display, you will need use the following command to install without the interactive pop up windows: sh apt.bin -i silent -DUSER_INSTALL_DIR={path}/APT150
Because of a bug, reinstalling APT on a system without first uninstalling may lead to a message at the end of the installation that "some errors occurred". If you check the log in the installation directory it will probably say that there was a problem creating the link for the Uninstaller. This is not a problem for running APT and can be ignored, but if you would prefer to have a valid Uninstaller link available you can redo the installion after first deleting the old Uninstaller link in your home directory. 5. StartOnce you have installed the APT you invoke it with a script. For instance to start the APT type ./APT in your home directory. (By default links are put in your home directory.) Once the program is started you will be presented with the main APT screen. 6. HelpThere is a a series of short training movies which will help get you started (there are also web pages with screen shots available on the same page). APT also has documentation available from the "Help" menu (the right most menu on the menu bar). If you can't find what you need, please contact us at help@stsci.edu. |
|||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||