home *** CD-ROM | disk | FTP | other *** search
/ PC World 1998 December / PCWorld_1998-12_cd.iso / software / sybase / ASA / asa60.exe / data1.cab / scripts_files / instjava.sql < prev    next >
Text File  |  1998-07-27  |  2KB  |  55 lines

  1. --  ************************************************************************
  2. --  *       Copyright (C) 1998 by Sybase Inc.  All rights                   *
  3. --  *       reserved. No part of this software may be reproduced            *
  4. --  *       in any form or by any means - graphic, electronic or            *
  5. --  *       mechanical, including photocopying, recording, taping           *
  6. --  *       or information storage and retrieval systems - except           *
  7. --  *       with the written permission of Sybase Inc.                      *
  8. --  *************************************************************************
  9. --
  10. --  WARNING: This is a program generated file. Do not edit.
  11. --
  12. create variable @do_installs char(1)
  13. go
  14. if CURRENT USER <> 'SYS' then
  15.     set @do_installs = 'Y'
  16. elseif @install_java_classes = 'Y' then
  17.     set @do_installs = 'Y'
  18. else
  19.     set @do_installs = 'N'
  20. end if
  21. go
  22. if @do_installs = 'Y' then
  23.     install java    new
  24.                     external jar 'ASASystem'
  25.                     only    java.beans.*,
  26.                             java.io.*,
  27.                             java.net.*,
  28.                             java.lang.*,
  29.                             java.math.*,
  30.                             java.rmi.*,
  31.                             java.security.*,
  32.                             java.sql.*,
  33.                             java.text.*,
  34.                             java.util.*,
  35.                             sun.io.*,
  36.                             sun.misc.*,
  37.                             sun.security.provider.*
  38.                     from file 'classes.zip'
  39. end if
  40. go
  41. if @do_installs = 'Y' then
  42.     install java    new
  43.                     external jar 'ASAJDBC'
  44.                     from file 'asajdbc.zip'
  45. end if
  46. go
  47. if @do_installs = 'Y' then
  48.     install java    new
  49.                     external jar 'ASAJDBCDRV'
  50.                     from file 'jdbcdrv.zip'
  51. end if
  52. go
  53. drop variable @do_installs
  54. go
  55.