1. INTRODUCTION
  2. JWeb is a point-and-click interface for display and interaction with SPIDER images and data written by Dr. Bimal Rath. JWeb is written in Java was developed and tested on Linux, SGi Irix & Windows computers.

  3. LOADING JWeb
    (Probably has already been done if you have installed SPIDERweb or Web)
    1. Download and uncompress the Web distribution and place it in an appropriate directory: PARENT-DIR.

      The following JWeb related files will be created under: PARENT-DIR/web/jweb
      File Contents
      src Jweb source code
      WEB.jar Linux Jweb Java archive
      jweb-inst-linux.html Linux Jweb Java archive
      jweb.cshrc Jweb 'C' shell env. variables

  4. INSTALLATION
  5. Most Linux distributions install a Java Run Time Environment (JRE) by default. If the Java Advanced Imaging Run Time Environment (JAI) is not already present you can install a second JRE containing JAI as described in the an earlier web release: v26-04 . Since this release is large it is no longer included. You may extract the java-libraries from: v26-04 and place them in your current Jweb directory.

    If so the Jweb directory will have the additional contents:
    File Contents
    java-libraries/font.properties Linux Jweb fonts
    java-libraries/j2re-1_4_2_06-linux-i586.bin JRE install script
    java-libraries/j2re1.4.3_06 JAI install script
    java-libraries/jai-1_1_2_06-lib-linux-i586-jre.bin JAI install script

    1. To install the ancient JRE and JAI:

      1. Access your Jweb directory:
        cd web/jweb/java-libraries/
      2. Install the JRE included with JWeb by executing:
        j2re-1_4_2_06-linux-i586.bin
      3. Install JAI in the new Java directory:
        cd j2re1.4.2_06
        ../jai-1_1_2_01-lib-linux-i586-jre.bin
      4. Return to the Jweb directory:
        cd ..

  6. Set necessary environment variables and alias for Jweb usage under Java.
    If you are using the 'C' shell, edit the first non-comment line in: jweb.cshrc and create a $JWEB_DIR environment variable specifying location for JWeb on your system i.e.:
    setenv   JWEB_DIR   Enter_path_of_your_JWeb_directory_here
    Then place the edited contents of jweb.cshrc in the .cshrc startup file in your home directory .
  7. The previous step will also create alias, 'jweb', for starting JWeb with a maximum amount -Xmx512m of memory allowed. You may adjust this amount to suit your computer.
  8. If you are not using a 'C' shell then you will have to alter the last two steps as appropriate for your shell.

  • TESTING
  • Test JWeb :
    jweb
    USE MOUSE TO SELECT MENU ITEMS FROM PULL-DOWN MENUS

    Further information on the use of JWeb is given in the JWeb manual.

    If you get an error message like: Exception in thread "GtkMain" java.lang.UnsatisfiedLinkError: gtkInit ... ....
    You are not using the Java run time environment packaged with JWeb. Unknown error.


    Source: jweb-inst-linux.html     Last update: 3/17/25