Run the JAVAINFO Procedure

Run PROC JAVAINFO to test that the SAS Private Java Runtime Environment is functional.
To run PROC JAVAINFO:
  1. Change the directory to SAS-installation-directory/SASHome/SASFoundation/9.4.
    Here is an example:
    cd /opt/sas9.4/install/SASHome/SASFoundation/9.4
  2. Enter the following command to start SAS in command-line mode:
    ./sas –nodms
    You should see output similar to the following:
    NOTE: Copyright (c) 2002-2012 by SAS Institute Inc., Cary, NC, USA.
    NOTE: SAS (r) Proprietary Software 9.4 (TS1M3)
          Licensed to Base, SAS/STAT, SAS/GRAPH, SAS/ACCESS for Oracle  
          -- Linux x86, 64, Site
          70068118.
    NOTE: This session is executing on the Linux 2.6.32-279.5.2.el6.x86_64 (LIN
          X64) platform.
    
    
    
    NOTE: Updated analytical products:
    
          SAS/STAT 14.1
    
    NOTE: Additional host information:
    
     Linux LIN X64 2.6.32-279.5.2.el6.x86_64 #1 SMP Tue Aug 14 11:36:39 EDT 2012
          x86_64 Red Hat Enterprise Linux Server release 6.3 (Santiago)
    
    You are running SAS 9. Some SAS 8 files will be automatically converted
    by the V9 engine; others are incompatible.  Please see
    http://support.sas.com/rnd/migration/planning/platform/64bit.html
    
    PROC MIGRATE will preserve current SAS file attributes and is
    recommended for converting all your SAS libraries from any
    SAS 8 release to SAS 9.  For details and examples, please see
    http://support.sas.com/rnd/migration/index.html
    
    
    This message is contained in the SAS news file, and is presented upon
    initialization.  Edit the file "news" in the "misc/base" directory to
    display site-specific news and information in the program log.
    The command line option "-nonews" will prevent this display.
    
    
    
    
    NOTE: SAS initialization used:
          real time           0.08 seconds
          cpu time            0.02 seconds
    
      1? 
  3. Check to see that the SAS Private Java Runtime Environment is functional, by entering the following commands:
    proc javainfo; run;
    You should see output similar to the following:
    PFS_TEMPLATE = /opt/sas9.4/install/SASHome/SASFoundation/9.4/misc/tkjava/
    qrpfstpt.xml
    java.class.path =
    /opt/sas9.4/install/SASHome/SASVersionedJarRepository/eclipse/plugins/
    sas.launcher.jar
    java.class.version = 51.0
    java.runtime.name = Java(TM) SE Runtime Environment
    java.runtime.version = 1.7.0_76-b13
    java.security.auth.login.config =
    /opt/sas9.4/install/SASHome/SASFoundation/9.4/misc/tkjava/sas.login.config
    java.security.policy = /opt/sas9.4/install/SASHome/SASFoundation/9.4/misc/
    tkjava/sas.policy
    java.specification.version = 1.7
    java.system.class.loader = com.sas.app.AppClassLoader
    java.vendor = Oracle Corporation
    java.version = 1.7.0_76
    java.vm.name = Java HotSpot(TM) 64-Bit Server VM
    java.vm.specification.version = 1.7
    java.vm.version = 24.76-b04
    sas.app.class.path =
    /opt/sas9.4/install/SASHome/SASVersionedJarRepository/eclipse/plugins/
    tkjava.jar
    sas.ext.config =
    /opt/sas9.4/install/SASHome/SASFoundation/9.4/misc/tkjava/sas.java.ext.config
    tkj.app.launch.config = /local/SASHome/SASVersionedJarRepository/picklist
    user.country = US
    user.language = en
    
    NOTE: PROCEDURE JAVAINFO used (Total process time):
          real time           1.10 seconds
          cpu time            0.00 seconds
    
    
      3?
    
  4. Quit the SAS command line session by entering the following command:
    endsas;
    You should see output similar to the following:
     
    
    NOTE: SAS Institute Inc., SAS Campus Drive, Cary, NC USA 27513-2414
    NOTE: The SAS System used:
          real time           33:45.73
          cpu time            0.14 seconds