⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 install-jai.txt

📁 jai-1_1_2.rar
💻 TXT
📖 第 1 页 / 共 2 页
字号:
             % $downloaddir/jai-1_1_2-lib-linux-i586-jre.bin

       IMPORTANT: If you do not "cd" to the JRE1.3 (or higher version) directory before performing the extraction,
       then JAI will not work correctly. You may also need appropriate write permissions into the JRE directory in
       order to install.

     * Sample Demos Installation Instructions

       The downloaded files are:
          o jai-1_1_2-Unix-sample.tar.gz
          o jai-1_1_2-windows-i586-sample.exe


       If you wish to install the sample files on Solaris/Linux, run the command:

       % gunzip -c $downloaddir/jai-1_1_2-Unix-sample.tar.gz | tar xf -

       On Windows: double-click on the jai-1_1_2-windows-i586-sample.exe icon and follow the directions.

     * Automatic Installation of JAI

       Sun has introduced a new feature into the Java Plug-In (JPI) starting with version 1.3. The JPI
       installs/replaces the Java extensions in your browser with an updated version. The JPI is installed
       automatically when Java from Sun is installed on Windows, and starting with Java 1.3, on Solaris too. If a
       user's browser runs a Java program requiring an Optional Package, the Plug-In can be made to automatically
       download and run the Optional Package's installer. For more information refer
       to:http://java.sun.com/products/plugin/1.3/docs/extensions.html

       Thus, it is possible that your browser may attempt to install the latest JAI version into the java standard
       optional package directory $JRE1_3/lib/ext, when you view an HTML page with an auto-installation enabled JAI
       applet. In case of problems, check whether a desired version of jre/plugin is used. For example, it requires
       JRE 1.3.0 or later on Windows and JRE 1.3.1 or later on Solaris. See also (Updating CLASSPATH, PATH, and
       LD_LIBRARY_PATH) for usage of the correct version of JRE/plugin.

       The feature-enabled plugin downloads a signed jar which contains the special Manifest file and the
       appropriate installer according to platform. The jar file for Windows is now available for developers to
       download, test and use.

       However, there are a couple of known issues with the older versions of the Plug-in.

       On Windows: A bug in the 1.3.0 version of the JPI keeps signatures from being verified. The user still sees
       a dialog where they "Grant" permission, but the certificate is never actually verified. Your installer will
       be downloaded and run without its authenticity being checked. JPI 1.3.1 fixes the problem. When you use JPI
       1.3.1, you will notice that you get more information about the signing certificate.

       On Solaris: The Solaris Auto Installation jar requires the JPI v1.3.1 or later.

  After Java Advanced Imaging is installed

  Java Advanced Imaging will be installed under the $JDK1_3 directory with the following files:
  COPYRIGHT-jai.txt                             Copyright notice.
  INSTALL-jai.txt                               Installation instructions (this file)
  UNINSTALL-jai                                 UnInstall executable
  LICENSE-jai.txt                               License agreement.
  README-jai.txt                                Useful release information.
  jre/lib/ext/jai_core.jar                      JAR file containing core JAI class files.
  jre/lib/ext/jai_codec.jar                     JAR file containing JAI class files for image I/O.
  jre/lib/ext/mlibwrapper_jai.jar               mediaLib JNI interfaces.
  jre/lib/sparc/libmlib_jai.so                  mediaLib JNI shared libraries, C version.
                                                (Solaris operating environment, SPARC edition.)
  jre/lib/sparc/cpu/sparcv9+vis/libmlib_jai.so  mediaLib JNI shared libraries, VIS version.
                                                (Solaris operating environment, SPARC edition only.)
  jre/lib/sparc/cpu/sparcv9+vis2/libmlib_jai.so mediaLib JNI shared libraries, VIS2 version.
                                                (Solaris operating environment, SPARC edition only.)
  jre/lib/i386/libmlib_jai.so                   mediaLib JNI shared libraries, C version.
                                                (Solaris operating environment, Intel edition.)
  jre/lib/i386/libmlib_jai.so                   mediaLib JNI shared libraries, C version.
                                                (Linux operating environment)
  jre/bin/mlib_jai.dll                          mediaLib JNI DLL libraries, C version.
                                                (Microsoft Windows operating environment)
  jre/bin/mlib_jai_mmx.dll                      mediaLib JNI DLL libraries, MMX version.
                                                (Microsoft Windows operating environment)
  jre/bin/checkmmx.exe                          A utility to detect whether MMX is available or not.
                                                (Microsoft Windows operating environment)

  If the sample archive has been installed, the following files will also be installed:
  jai_demos/jai/*                Sample source code, classfiles, README, makefile, etc.
  jai_demos/jai/runjai*.sh       Solaris operating environment -
                                 Shell scripts to run the sample programs.
  jai_demos/jai/runjai*.bat      Microsoft Windows -
                                 Batch files to run the sample programs.
  jai_demos/jai/codec/*          Codec sample source code, class files, makefile, etc.
  jai_demos/jai/codec/runjai.sh  Solaris operating environment -
                                 Shell script to run the codec sample program.
  jai_demos/jai/codec/runjai.bat Microsoft Windows -
                                 Batch file to run the codec sample program.
  jai_demos/jai/images/*.*       Sample images in BMP, GIF, FlashPIX,
                                 JPEG, PNG, PGM, PPM and TIFF formats.
  jai_demos/jmf/*                Source code to process movie frames from JMF, README, etc.
  jai_demos/jmf/runjmfdemo.sh    Solaris operating environment -
                                 Shell script to run the jmf demo.
  jai_demos/medical/*            Medical image demo source code, class files, README, etc
  jai_demos/medical/images/*     Medical image demo icons
  jai_demos/mpv/*                Multi-Panel Viewer demo source code, class files, README, etc
  jai_demos/network/*            Network imaging demo source code, class files, README, policy file, etc
  jai_demos/network/run*.bat     Microsoft Windows -
                                 Batch files to run the demo
  jai_demos/network/run*.sh      Solaris operating environment
                                 Shell script to run the demo & kill the server
  jai_demos/network/server/*     Network imaging demo server side source code,
                                 class files, README, policy file, etc

  Read the top-level README-jai.txt file for information on what is in this release of Java Advanced Imaging.

  Updating CLASSPATH, PATH, and LD_LIBRARY_PATH

  If JAI is installed as part of the Java 2 SDK's Java Runtime Environment, no CLASSPATH or LD_LIBRARY_PATH
  settings are required. When you encounter problems running JAI applications, it is most likely that you are not
  running the correct version of java (jdk). Check with the command "java -version" on Solaris or at Dos prompt. If
  needed, set the PATH correctly to use the correct version of JDK or JRE as follows.

  For Solaris:

  % setenv PATH $JDK1_3/bin:$PATH;    or
  % setenv PATH $JRE1_3/bin:$PATH;    and/or
  % setenv NPX_PLUGIN_PATH $JRE1_3/plugin/sparc/ns4;   (for applet/plugin to work on Netscape 4.x);

  Note: The plugin used should be v1.3.1 or higher

  For Windows:

  A point to be noted on the Windows platform is that the Java2 SDK 1.3, by default, installs Java into both the
  JDK location:

  c:\jdk1.3

  and into the JRE location:

  C:\Program Files\JavaSoft\jre\1.3

  Additionally, a shortcut to java.exe is installed in the WINNT/System32 (for NT systems) or Windows/System (for
  Windows 95 and 98) directory.

  Developers need to be aware of this when working with the Java 2 SDK. Unless the path to the 1.3 SDK jre\bin and
  bin directories is placed in the PATH environment variable in the same order, ahead of the system directory, the
  SDK's java.exe will not be executed. Any extensions (such as JAI) that are installed into the SDK but not into
  the JRE will not be found during program execution. The same applies to higher versions of the JDK.

  To set PATH environment variable, you may need to edit autoexec.bat on Windows 98/95. For other Windows systems,
  try click Start-Settings-ControlPanel, then double click on System. Choose Environment. Under System Variables,
  click on Path, and update its value to put

         c:\Program Files\JavaSoft\jre\1.3\bin;     or
         c:\jdk1.3\jre\bin;     or
         c:\jdk1.3\bin;

  ahead of others. Note that ";" is used to separate from other values. To double check, open a DOS command prompt
  and use "set" or "set path" to view the PATH environment variable.

  If you have used the CLASSPATH install into arbitrary location for Windows, then you will also need to set your
  CLASSPATH variable to point to each of the jai jar files in your installed directory

  Uninstall Instructions

     * Solaris/Linux Operating Environment

            % cd $JDK1_3

            where $JDK1_3 is the path into the jdk1.3 (or a higher version) directory, where JAI was installed.

            % chmod u+x UNINSTALL-jai
            % ./UNINSTALL-jai

     * Microsoft Windows Operating Environment
            You would need to go to the Control Panel and double-click on Add/Remove Programs. Find the listing for
            Java Advanced Imaging 1.1.2 and click on Add/Remove. This should uninstall the library for you.

  Permission-Related Issues

     * Run Applets with MediaLib-Enabled

            On the Solaris platform, the following permission has to be added in the file java.policy located at
            $JRE/lib/security:

            permission java.io.FilePermission "/usr/bin/uname", "execute";

            For the other platforms, the mediaLib version is enabled by default .

     * File Permission for Decoding in Applets

            When FileCacheSeekableStream is used, either explicitly or implicitly, the permissions for the default
            temporary-file directory (defined by the system property "java.io.tmpdir") are necessary.  That is, add
            the following line into the proper policy file:

            permission java.io.FilePermission ${java.io.tmpdir}/*, "read,write,delete";

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -