wbjdbc 1.0.6__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (165) hide show
  1. wbjdbc-1.0.6/MANIFEST.in +11 -0
  2. wbjdbc-1.0.6/PKG-INFO +77 -0
  3. wbjdbc-1.0.6/README.md +68 -0
  4. wbjdbc-1.0.6/setup.cfg +4 -0
  5. wbjdbc-1.0.6/setup.py +93 -0
  6. wbjdbc-1.0.6/wbjdbc/__init__.py +1 -0
  7. wbjdbc-1.0.6/wbjdbc/jvm.py +76 -0
  8. wbjdbc-1.0.6/wbjdbc/resources/dependencies/jpype1-1.5.1-cp311-cp311-macosx_10_9_universal2.whl +3 -0
  9. wbjdbc-1.0.6/wbjdbc/resources/dependencies/jpype1-1.5.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl +3 -0
  10. wbjdbc-1.0.6/wbjdbc/resources/dependencies/jpype1-1.5.1-cp311-cp311-win_amd64.whl +3 -0
  11. wbjdbc-1.0.6/wbjdbc/resources/dependencies/jpype1-1.5.1-cp312-cp312-macosx_10_9_universal2.whl +3 -0
  12. wbjdbc-1.0.6/wbjdbc/resources/dependencies/jpype1-1.5.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl +3 -0
  13. wbjdbc-1.0.6/wbjdbc/resources/dependencies/jpype1-1.5.1-cp312-cp312-win_amd64.whl +3 -0
  14. wbjdbc-1.0.6/wbjdbc/resources/maven/com.ibm.informix/jdbc-4.50.10.1.jar +0 -0
  15. wbjdbc-1.0.6/wbjdbc/resources/maven/com.ibm.informix/jdbc-4.50.10.1.pom +35 -0
  16. wbjdbc-1.0.6/wbjdbc/resources/maven/org.mongodb/bson-3.8.0.jar +0 -0
  17. wbjdbc-1.0.6/wbjdbc/resources/maven/org.mongodb/bson-3.8.0.pom +38 -0
  18. wbjdbc-1.0.6/wbjdbc/resources/server/classes.jsa +0 -0
  19. wbjdbc-1.0.6/wbjdbc/resources/server/classes_nocoops.jsa +0 -0
  20. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/COPYRIGHT +69 -0
  21. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/LICENSE +118 -0
  22. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/README +6 -0
  23. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/WinFallbackLookup.dll +0 -0
  24. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/api-ms-win-core-console-l1-1-0.dll +0 -0
  25. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/api-ms-win-core-console-l1-2-0.dll +0 -0
  26. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/api-ms-win-core-datetime-l1-1-0.dll +0 -0
  27. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/api-ms-win-core-debug-l1-1-0.dll +0 -0
  28. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/api-ms-win-core-errorhandling-l1-1-0.dll +0 -0
  29. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/api-ms-win-core-file-l1-1-0.dll +0 -0
  30. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/api-ms-win-core-file-l1-2-0.dll +0 -0
  31. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/api-ms-win-core-file-l2-1-0.dll +0 -0
  32. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/api-ms-win-core-handle-l1-1-0.dll +0 -0
  33. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/api-ms-win-core-heap-l1-1-0.dll +0 -0
  34. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/api-ms-win-core-interlocked-l1-1-0.dll +0 -0
  35. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/api-ms-win-core-libraryloader-l1-1-0.dll +0 -0
  36. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/api-ms-win-core-localization-l1-2-0.dll +0 -0
  37. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/api-ms-win-core-memory-l1-1-0.dll +0 -0
  38. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/api-ms-win-core-namedpipe-l1-1-0.dll +0 -0
  39. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/api-ms-win-core-processenvironment-l1-1-0.dll +0 -0
  40. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/api-ms-win-core-processthreads-l1-1-0.dll +0 -0
  41. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/api-ms-win-core-processthreads-l1-1-1.dll +0 -0
  42. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/api-ms-win-core-profile-l1-1-0.dll +0 -0
  43. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/api-ms-win-core-rtlsupport-l1-1-0.dll +0 -0
  44. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/api-ms-win-core-string-l1-1-0.dll +0 -0
  45. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/api-ms-win-core-synch-l1-1-0.dll +0 -0
  46. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/api-ms-win-core-synch-l1-2-0.dll +0 -0
  47. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/api-ms-win-core-sysinfo-l1-1-0.dll +0 -0
  48. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/api-ms-win-core-timezone-l1-1-0.dll +0 -0
  49. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/api-ms-win-core-util-l1-1-0.dll +0 -0
  50. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/api-ms-win-crt-conio-l1-1-0.dll +0 -0
  51. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/api-ms-win-crt-convert-l1-1-0.dll +0 -0
  52. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/api-ms-win-crt-environment-l1-1-0.dll +0 -0
  53. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/api-ms-win-crt-filesystem-l1-1-0.dll +0 -0
  54. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/api-ms-win-crt-heap-l1-1-0.dll +0 -0
  55. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/api-ms-win-crt-locale-l1-1-0.dll +0 -0
  56. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/api-ms-win-crt-math-l1-1-0.dll +0 -0
  57. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/api-ms-win-crt-multibyte-l1-1-0.dll +0 -0
  58. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/api-ms-win-crt-private-l1-1-0.dll +0 -0
  59. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/api-ms-win-crt-process-l1-1-0.dll +0 -0
  60. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/api-ms-win-crt-runtime-l1-1-0.dll +0 -0
  61. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/api-ms-win-crt-stdio-l1-1-0.dll +0 -0
  62. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/api-ms-win-crt-string-l1-1-0.dll +0 -0
  63. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/api-ms-win-crt-time-l1-1-0.dll +0 -0
  64. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/api-ms-win-crt-utility-l1-1-0.dll +0 -0
  65. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/attach.dll +0 -0
  66. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/awt.dll +0 -0
  67. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/dt_shmem.dll +0 -0
  68. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/dt_socket.dll +0 -0
  69. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/fontmanager.dll +0 -0
  70. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/freetype.dll +0 -0
  71. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/instrument.dll +0 -0
  72. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/j2gss.dll +0 -0
  73. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/j2pcsc.dll +0 -0
  74. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/j2pkcs11.dll +0 -0
  75. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/jaas.dll +0 -0
  76. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/jabswitch.exe +0 -0
  77. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/jaccessinspector.exe +0 -0
  78. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/jaccesswalker.exe +0 -0
  79. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/jar.exe +0 -0
  80. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/jarsigner.exe +0 -0
  81. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/java.dll +0 -0
  82. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/java.exe +0 -0
  83. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/javaaccessbridge.dll +0 -0
  84. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/javac.exe +0 -0
  85. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/javadoc.exe +0 -0
  86. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/javajpeg.dll +0 -0
  87. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/javap.exe +0 -0
  88. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/javaw.exe +0 -0
  89. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/jawt.dll +0 -0
  90. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/jcmd.exe +0 -0
  91. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/jconsole.exe +0 -0
  92. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/jdb.exe +0 -0
  93. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/jdeprscan.exe +0 -0
  94. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/jdeps.exe +0 -0
  95. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/jdwp.dll +0 -0
  96. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/jfr.exe +0 -0
  97. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/jhsdb.exe +0 -0
  98. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/jimage.dll +0 -0
  99. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/jimage.exe +0 -0
  100. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/jinfo.exe +0 -0
  101. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/jli.dll +0 -0
  102. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/jlink.exe +0 -0
  103. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/jmap.exe +0 -0
  104. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/jmod.exe +0 -0
  105. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/jpackage.dll +0 -0
  106. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/jpackage.exe +0 -0
  107. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/jps.exe +0 -0
  108. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/jrunscript.exe +0 -0
  109. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/jshell.exe +0 -0
  110. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/jsound.dll +0 -0
  111. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/jstack.exe +0 -0
  112. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/jstat.exe +0 -0
  113. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/jstatd.exe +0 -0
  114. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/jsvml.dll +0 -0
  115. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/keytool.exe +0 -0
  116. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/kinit.exe +0 -0
  117. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/klist.exe +0 -0
  118. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/ktab.exe +0 -0
  119. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/lcms.dll +0 -0
  120. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/le.dll +0 -0
  121. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/management.dll +0 -0
  122. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/management_agent.dll +0 -0
  123. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/management_ext.dll +0 -0
  124. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/mlib_image.dll +0 -0
  125. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/msvcp140.dll +0 -0
  126. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/net.dll +0 -0
  127. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/nio.dll +0 -0
  128. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/prefs.dll +0 -0
  129. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/rmi.dll +0 -0
  130. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/rmiregistry.exe +0 -0
  131. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/saproc.dll +0 -0
  132. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/serialver.exe +0 -0
  133. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/server/classes.jsa +0 -0
  134. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/server/classes_nocoops.jsa +0 -0
  135. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/server/jvm.dll +0 -0
  136. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/splashscreen.dll +0 -0
  137. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/sspi_bridge.dll +0 -0
  138. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/sunmscapi.dll +0 -0
  139. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/ucrtbase.dll +0 -0
  140. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/vcruntime140.dll +0 -0
  141. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/vcruntime140_1.dll +0 -0
  142. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/verify.dll +0 -0
  143. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/w2k_lsa_auth.dll +0 -0
  144. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/windowsaccessbridge-64.dll +0 -0
  145. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/bin/zip.dll +0 -0
  146. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/conf/logging.properties +63 -0
  147. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/conf/management/jmxremote.access +79 -0
  148. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/conf/management/jmxremote.password.template +115 -0
  149. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/conf/management/management.properties +304 -0
  150. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/conf/net.properties +151 -0
  151. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/conf/security/java.policy +44 -0
  152. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/conf/security/java.security +1356 -0
  153. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/conf/security/policy/README.txt +54 -0
  154. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/conf/security/policy/limited/default_US_export.policy +6 -0
  155. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/conf/security/policy/limited/default_local.policy +14 -0
  156. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/conf/security/policy/limited/exempt_local.policy +13 -0
  157. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/conf/security/policy/unlimited/default_US_export.policy +6 -0
  158. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/conf/security/policy/unlimited/default_local.policy +6 -0
  159. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/conf/sound.properties +39 -0
  160. wbjdbc-1.0.6/wbjdbc/resources/server/jdk-17.0.2/release +8 -0
  161. wbjdbc-1.0.6/wbjdbc/resources/server/jvm.dll +0 -0
  162. wbjdbc-1.0.6/wbjdbc.egg-info/PKG-INFO +77 -0
  163. wbjdbc-1.0.6/wbjdbc.egg-info/SOURCES.txt +163 -0
  164. wbjdbc-1.0.6/wbjdbc.egg-info/dependency_links.txt +1 -0
  165. wbjdbc-1.0.6/wbjdbc.egg-info/top_level.txt +1 -0
@@ -0,0 +1,11 @@
1
+ include README.md
2
+
3
+ # Inclui o DLL da JVM
4
+ include wbjdbc/resources/server/*
5
+
6
+ # Inclui os arquivos JAR
7
+ include wbjdbc/resources/maven/com.ibm.informix/*
8
+ include wbjdbc/resources/maven/org.mongodb/*
9
+
10
+ # Inclui os wheels para instalação offline
11
+ include wbjdbc/wheels/*
wbjdbc-1.0.6/PKG-INFO ADDED
@@ -0,0 +1,77 @@
1
+ Metadata-Version: 2.1
2
+ Name: wbjdbc
3
+ Version: 1.0.6
4
+ Summary: Library to simplify JDBC and JVM configuration for Informix and MongoDB
5
+ Home-page: https://github.com/wanderbatistaf/wbjdbc
6
+ Author: Wanderson Batista
7
+ Author-email: wanderfreitasb@gmail.com
8
+ Description-Content-Type: text/markdown
9
+
10
+ <h1>wbjdbc</h1>
11
+
12
+ <p>wbjdbc é uma biblioteca Python que simplifica a configuração e o uso do JDBC e da JVM, especialmente para conexões com bancos de dados <strong>Informix</strong> e <strong>MongoDB</strong>. Ela fornece uma abordagem integrada para gerenciar drivers JDBC, iniciar a JVM e configurar o ambiente necessário para o acesso ao banco de dados.</p>
13
+
14
+ <h3>Recursos</h3>
15
+ <ul>
16
+ <li>Inicialização simplificada da JVM (<code>jvm.dll</code>).</li>
17
+ <li>Suporte interno para os drivers JDBC:
18
+ <ul>
19
+ <li><strong>Informix JDBC Driver</strong>: <code>jdbc-4.50.10.1.jar</code></li>
20
+ <li><strong>MongoDB BSON Driver</strong>: <code>bson-3.8.0.jar</code></li>
21
+ </ul>
22
+ </li>
23
+ <li>Precompilação de dependências para evitar erros de compatibilidade.</li>
24
+ <li>Pacote leve e fácil de instalar.</li>
25
+ </ul>
26
+
27
+ <h3>Requisitos</h3>
28
+ <ul>
29
+ <li>Python 3.8 ou superior.</li>
30
+ <li>Java JDK compatível com o seu sistema operacional.</li>
31
+ </ul>
32
+
33
+ <h3>Instalação</h3>
34
+ <p>Para instalar a biblioteca:</p>
35
+ <pre><code>pip install wbjdbc</code></pre>
36
+
37
+ <h2>Uso</h2>
38
+
39
+ <h3>Inicializando a JVM</h3>
40
+ <p>Basta importar a biblioteca e chamar o método <code>start_jvm()</code>:</p>
41
+ <pre><code>from wbjdbc import start_jvm
42
+
43
+ start_jvm()
44
+ </code></pre>
45
+
46
+ <h3>Exemplo de Conexão JDBC</h3>
47
+ <p>Aqui está um exemplo de como usar o <strong>wbjdbc</strong> para se conectar a um banco de dados Informix:</p>
48
+ <pre><code>from wbjdbc import start_jvm
49
+ import jaydebeapi
50
+
51
+ start_jvm()
52
+
53
+ # Configuração da conexão JDBC
54
+ jdbc_url = "jdbc:informix-sqli://<host>:<port>/<database>:INFORMIXSERVER=<server>"
55
+ user = "<usuario>"
56
+ password = "<senha>"
57
+
58
+ # Conectando ao banco de dados
59
+ conn = jaydebeapi.connect("com.informix.jdbc.IfxDriver", jdbc_url, [user, password])
60
+ cursor = conn.cursor()
61
+
62
+ # Executando uma consulta
63
+ cursor.execute("SELECT * FROM minha_tabela")
64
+ resultados = cursor.fetchall()
65
+
66
+ for linha in resultados:
67
+ print(linha)
68
+
69
+ cursor.close()
70
+ conn.close()
71
+ </code></pre>
72
+
73
+ <h3>Contribuição</h3>
74
+ <p>Se você deseja contribuir para o projeto, envie um pull request no <a href="https://github.com/wanderbatistaf/wbjdbc">repositório do GitHub</a>.</p>
75
+
76
+ <h3>Licença</h3>
77
+ <p>Este projeto é licenciado sob a licença MIT. Consulte o arquivo <code>LICENSE</code> para mais informações.</p>
wbjdbc-1.0.6/README.md ADDED
@@ -0,0 +1,68 @@
1
+ <h1>wbjdbc</h1>
2
+
3
+ <p>wbjdbc é uma biblioteca Python que simplifica a configuração e o uso do JDBC e da JVM, especialmente para conexões com bancos de dados <strong>Informix</strong> e <strong>MongoDB</strong>. Ela fornece uma abordagem integrada para gerenciar drivers JDBC, iniciar a JVM e configurar o ambiente necessário para o acesso ao banco de dados.</p>
4
+
5
+ <h3>Recursos</h3>
6
+ <ul>
7
+ <li>Inicialização simplificada da JVM (<code>jvm.dll</code>).</li>
8
+ <li>Suporte interno para os drivers JDBC:
9
+ <ul>
10
+ <li><strong>Informix JDBC Driver</strong>: <code>jdbc-4.50.10.1.jar</code></li>
11
+ <li><strong>MongoDB BSON Driver</strong>: <code>bson-3.8.0.jar</code></li>
12
+ </ul>
13
+ </li>
14
+ <li>Precompilação de dependências para evitar erros de compatibilidade.</li>
15
+ <li>Pacote leve e fácil de instalar.</li>
16
+ </ul>
17
+
18
+ <h3>Requisitos</h3>
19
+ <ul>
20
+ <li>Python 3.8 ou superior.</li>
21
+ <li>Java JDK compatível com o seu sistema operacional.</li>
22
+ </ul>
23
+
24
+ <h3>Instalação</h3>
25
+ <p>Para instalar a biblioteca:</p>
26
+ <pre><code>pip install wbjdbc</code></pre>
27
+
28
+ <h2>Uso</h2>
29
+
30
+ <h3>Inicializando a JVM</h3>
31
+ <p>Basta importar a biblioteca e chamar o método <code>start_jvm()</code>:</p>
32
+ <pre><code>from wbjdbc import start_jvm
33
+
34
+ start_jvm()
35
+ </code></pre>
36
+
37
+ <h3>Exemplo de Conexão JDBC</h3>
38
+ <p>Aqui está um exemplo de como usar o <strong>wbjdbc</strong> para se conectar a um banco de dados Informix:</p>
39
+ <pre><code>from wbjdbc import start_jvm
40
+ import jaydebeapi
41
+
42
+ start_jvm()
43
+
44
+ # Configuração da conexão JDBC
45
+ jdbc_url = "jdbc:informix-sqli://<host>:<port>/<database>:INFORMIXSERVER=<server>"
46
+ user = "<usuario>"
47
+ password = "<senha>"
48
+
49
+ # Conectando ao banco de dados
50
+ conn = jaydebeapi.connect("com.informix.jdbc.IfxDriver", jdbc_url, [user, password])
51
+ cursor = conn.cursor()
52
+
53
+ # Executando uma consulta
54
+ cursor.execute("SELECT * FROM minha_tabela")
55
+ resultados = cursor.fetchall()
56
+
57
+ for linha in resultados:
58
+ print(linha)
59
+
60
+ cursor.close()
61
+ conn.close()
62
+ </code></pre>
63
+
64
+ <h3>Contribuição</h3>
65
+ <p>Se você deseja contribuir para o projeto, envie um pull request no <a href="https://github.com/wanderbatistaf/wbjdbc">repositório do GitHub</a>.</p>
66
+
67
+ <h3>Licença</h3>
68
+ <p>Este projeto é licenciado sob a licença MIT. Consulte o arquivo <code>LICENSE</code> para mais informações.</p>
wbjdbc-1.0.6/setup.cfg ADDED
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
wbjdbc-1.0.6/setup.py ADDED
@@ -0,0 +1,93 @@
1
+ import os
2
+ import subprocess
3
+ from setuptools import setup, find_packages
4
+ import pathlib
5
+
6
+ # Caminho para o README.md
7
+ current_dir = pathlib.Path(__file__).parent.resolve()
8
+ long_description = (current_dir / "README.md").read_text(encoding="utf-8")
9
+
10
+ import platform
11
+ import sys
12
+
13
+
14
+ def install_dependencies():
15
+ try:
16
+ import jpype
17
+ print("JPype1 já está instalado.")
18
+ except ImportError:
19
+ import platform
20
+ import sys
21
+ import subprocess
22
+ import os
23
+
24
+ system = platform.system().lower()
25
+ python_version = f"cp{sys.version_info.major}{sys.version_info.minor}"
26
+ dependencies_dir = os.path.abspath(
27
+ os.path.join(os.path.dirname(__file__), "wbjdbc", "resources", "dependencies")
28
+ )
29
+
30
+ if system == "windows":
31
+ wheel_file = f"jpype1-1.5.1-{python_version}-{python_version}-win_amd64.whl"
32
+ elif system == "linux":
33
+ wheel_file = f"jpype1-1.5.1-{python_version}-{python_version}-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"
34
+ elif system == "darwin":
35
+ wheel_file = f"jpype1-1.5.1-{python_version}-{python_version}-macosx_10_9_universal2.whl"
36
+ else:
37
+ raise RuntimeError(f"Sistema operacional não suportado: {system}")
38
+
39
+ wheel_path = os.path.join(dependencies_dir, wheel_file)
40
+
41
+ # Primeira tentativa: PyPI
42
+ try:
43
+ print("Tentando instalar JPype1 diretamente do PyPI...")
44
+ subprocess.check_call(["pip", "install", "JPype1"])
45
+ except subprocess.CalledProcessError as e:
46
+ print(f"Erro ao instalar JPype1 do PyPI: {e}")
47
+
48
+ # Tentativa local se PyPI falhar
49
+ if os.path.exists(wheel_path):
50
+ print(f"Tentando instalar JPype1 localmente de {wheel_path} para {system}.")
51
+ try:
52
+ subprocess.check_call(["pip", "install", wheel_path])
53
+ except subprocess.CalledProcessError as e:
54
+ print(f"Erro ao instalar JPype1 localmente de {wheel_path}: {e}")
55
+ raise RuntimeError("Falha na instalação do JPype1.")
56
+ else:
57
+ print(f"Arquivo {wheel_file} não encontrado no diretório {dependencies_dir}.")
58
+ raise RuntimeError("Falha na instalação do JPype1.")
59
+ finally:
60
+ # Garantir que JPype1 foi instalado
61
+ try:
62
+ import jpype
63
+ print("JPype1 instalado com sucesso!")
64
+ except ImportError:
65
+ print("Erro: JPype1 não pôde ser instalado.")
66
+ raise RuntimeError("Falha final na instalação do JPype1.")
67
+
68
+
69
+
70
+ # Chama a função para instalar JPype1
71
+ install_dependencies()
72
+
73
+ setup(
74
+ name="wbjdbc",
75
+ version="1.0.6",
76
+ packages=find_packages(),
77
+ include_package_data=True,
78
+ package_data={
79
+ "wbjdbc": [
80
+ "resources/server/**",
81
+ "resources/maven/com.ibm.informix/*",
82
+ "resources/maven/org.mongodb/*",
83
+ "resources/dependencies/*",
84
+ ]
85
+ },
86
+ install_requires=[], # Não lista JPype1 aqui, pois ele é instalado manualmente
87
+ description="Library to simplify JDBC and JVM configuration for Informix and MongoDB",
88
+ long_description=long_description,
89
+ long_description_content_type="text/markdown",
90
+ author="Wanderson Batista",
91
+ author_email="wanderfreitasb@gmail.com",
92
+ url="https://github.com/wanderbatistaf/wbjdbc",
93
+ )
@@ -0,0 +1 @@
1
+ from .jvm import start_jvm
@@ -0,0 +1,76 @@
1
+ import os
2
+ import sys
3
+ import subprocess
4
+ import jpype
5
+ from pkg_resources import resource_filename
6
+
7
+
8
+ class JVMError(Exception):
9
+ """Classe personalizada para erros de JVM."""
10
+ pass
11
+
12
+
13
+ def ensure_jpype_installed():
14
+ """Garante que JPype1 seja instalado a partir do wheel interno."""
15
+ try:
16
+ import jpype
17
+ except ImportError:
18
+ # Localiza o diretório de wheels dentro do pacote
19
+ wheels_dir = resource_filename("wbjdbc", "wheels")
20
+
21
+ # Verifica a existência do diretório de wheels
22
+ if not os.path.isdir(wheels_dir):
23
+ raise JVMError(f"Diretório de wheels não encontrado: {wheels_dir}")
24
+
25
+ # Localiza o arquivo JPype1 no diretório de wheels
26
+ wheel_file = next((f for f in os.listdir(wheels_dir) if "JPype1" in f and f.endswith(".whl")), None)
27
+ if not wheel_file:
28
+ raise JVMError("Wheel do JPype1 não encontrado no diretório de wheels.")
29
+
30
+ # Instala o JPype1 a partir do wheel interno
31
+ try:
32
+ subprocess.check_call([sys.executable, "-m", "pip", "install", os.path.join(wheels_dir, wheel_file)])
33
+ print("JPype1 instalado com sucesso.")
34
+ except subprocess.CalledProcessError as e:
35
+ raise JVMError(f"Falha ao instalar JPype1: {e}")
36
+
37
+
38
+ # Garante que JPype1 está instalado antes de prosseguir
39
+ ensure_jpype_installed()
40
+
41
+
42
+ def start_jvm():
43
+ """Inicia a JVM com os recursos internos."""
44
+ try:
45
+ # Localiza os arquivos necessários
46
+ jvm_path = resource_filename("wbjdbc", "resources/server/jdk-17.0.2/bin/server/jvm.dll")
47
+ jdbc_driver_path = resource_filename("wbjdbc", "resources/maven/com.ibm.informix/jdbc-4.50.10.1.jar")
48
+ bson_jar_path = resource_filename("wbjdbc", "resources/maven/org.mongodb/bson-3.8.0.jar")
49
+
50
+ # Verifica a existência dos arquivos
51
+ for file_path, desc in [
52
+ (jvm_path, "JVM"),
53
+ (jdbc_driver_path, "JDBC Driver"),
54
+ (bson_jar_path, "BSON Jar"),
55
+ ]:
56
+ if not os.path.isfile(file_path):
57
+ raise JVMError(f"Arquivo {desc} não encontrado: {file_path}")
58
+
59
+ # Configuração do classpath
60
+ classpath = f"{jdbc_driver_path};{bson_jar_path}"
61
+
62
+ # Inicializa a JVM
63
+ if not jpype.isJVMStarted():
64
+ jpype.startJVM(jvm_path, f"-Djava.class.path={classpath}")
65
+ print("JVM inicializada com sucesso!")
66
+ else:
67
+ print("JVM já está inicializada.")
68
+ except JVMError as e:
69
+ print(f"Erro na inicialização da JVM: {e}")
70
+ raise
71
+ except jpype.JVMNotSupportedException as e:
72
+ print(f"A JVM não é suportada: {e}")
73
+ raise
74
+ except Exception as e:
75
+ print(f"Erro inesperado ao inicializar a JVM: {e}")
76
+ raise
@@ -0,0 +1,3 @@
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a225b2077b29aac1c9f306c7ca74987f4fb9c3bcfd2eb3f05f7511311a711d84
3
+ size 584333
@@ -0,0 +1,3 @@
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bd331191fd62d4b3d5ac2eec46a0b0ef96ccb424d9f65e702a2ceac87c09df7a
3
+ size 493865
@@ -0,0 +1,3 @@
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:53d007c1b01de8ec98adc9a6843c19a15df002c3d4c4e65bfb959ac4cb2a18ca
3
+ size 356063
@@ -0,0 +1,3 @@
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2f970de32d147d3cb732e14c692bd67ed0b8cd0c02786098a25d26424ce9d053
3
+ size 583292
@@ -0,0 +1,3 @@
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b09f4a7c1cbfe56d7f706d7e0f9fa4cc4514c43e7ddb589de5a071115daaf20f
3
+ size 493190
@@ -0,0 +1,3 @@
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a49463f5eadf4ed8b0bb51dffebe20171bbfc5e6dcc7c1ea9c6888582e4797d
3
+ size 355612
@@ -0,0 +1,35 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
3
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4
+ <modelVersion>4.0.0</modelVersion>
5
+ <groupId>com.ibm.informix</groupId>
6
+ <artifactId>jdbc</artifactId>
7
+ <version>4.50.10.1</version>
8
+ <name>IBM Informix JDBC Driver</name>
9
+ <description>Informix® JDBC Driver is a native-protocol, pure-Java driver (Type 4) that supports the JDBC specification. You can use the JDBC driver for Java applications that access the Informix database server.</description>
10
+ <url>https://www.ibm.com/informix</url>
11
+ <licenses>
12
+ <license>
13
+ <name>IBM Informix JDBC Software License Agreement</name>
14
+ <url>http://www-03.ibm.com/software/sla/sladb.nsf/doclookup/CA4476C0AF8346EC852579290012D218?OpenDocument</url>
15
+ </license>
16
+ </licenses>
17
+ <developers>
18
+ <developer>
19
+ <id>anuragb</id>
20
+ <name>Anurag Benjwal</name>
21
+ <email>benjwal.anurag@hcl.com</email>
22
+ </developer>
23
+ </developers>
24
+ <scm>
25
+ <connection>scm:git:git@github.com/ibm-informix/InformixServer.git</connection>
26
+ <url>https://github.com/informix</url>
27
+ </scm>
28
+ <dependencies>
29
+ <dependency>
30
+ <groupId>org.mongodb</groupId>
31
+ <artifactId>bson</artifactId>
32
+ <version>3.8.0</version>
33
+ </dependency>
34
+ </dependencies>
35
+ </project>
@@ -0,0 +1,38 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
3
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4
+ <modelVersion>4.0.0</modelVersion>
5
+ <groupId>org.mongodb</groupId>
6
+ <artifactId>bson</artifactId>
7
+ <version>3.8.0</version>
8
+ <name>BSON</name>
9
+ <description>The BSON library</description>
10
+ <url>http://bsonspec.org</url>
11
+ <licenses>
12
+ <license>
13
+ <name>The Apache Software License, Version 2.0</name>
14
+ <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
15
+ <distribution>repo</distribution>
16
+ </license>
17
+ </licenses>
18
+ <developers>
19
+ <developer>
20
+ <name>Various</name>
21
+ <organization>MongoDB</organization>
22
+ </developer>
23
+ </developers>
24
+ <scm>
25
+ <connection>scm:https://github.com/mongodb/mongo-java-driver.git</connection>
26
+ <developerConnection>scm:git@github.com:mongodb/mongo-java-driver.git</developerConnection>
27
+ <url>https://github.com/mongodb/mongo-java-driver</url>
28
+ </scm>
29
+ <dependencies>
30
+ <dependency>
31
+ <groupId>org.slf4j</groupId>
32
+ <artifactId>slf4j-api</artifactId>
33
+ <version>1.7.6</version>
34
+ <scope>compile</scope>
35
+ <optional>true</optional>
36
+ </dependency>
37
+ </dependencies>
38
+ </project>
@@ -0,0 +1,69 @@
1
+ Copyright � 1993, 2018, Oracle and/or its affiliates.
2
+ All rights reserved.
3
+
4
+ This software and related documentation are provided under a
5
+ license agreement containing restrictions on use and
6
+ disclosure and are protected by intellectual property laws.
7
+ Except as expressly permitted in your license agreement or
8
+ allowed by law, you may not use, copy, reproduce, translate,
9
+ broadcast, modify, license, transmit, distribute, exhibit,
10
+ perform, publish, or display any part, in any form, or by
11
+ any means. Reverse engineering, disassembly, or
12
+ decompilation of this software, unless required by law for
13
+ interoperability, is prohibited.
14
+
15
+ The information contained herein is subject to change
16
+ without notice and is not warranted to be error-free. If you
17
+ find any errors, please report them to us in writing.
18
+
19
+ If this is software or related documentation that is
20
+ delivered to the U.S. Government or anyone licensing it on
21
+ behalf of the U.S. Government, the following notice is
22
+ applicable:
23
+
24
+ U.S. GOVERNMENT END USERS: Oracle programs, including any
25
+ operating system, integrated software, any programs
26
+ installed on the hardware, and/or documentation, delivered
27
+ to U.S. Government end users are "commercial computer
28
+ software" pursuant to the applicable Federal Acquisition
29
+ Regulation and agency-specific supplemental regulations. As
30
+ such, use, duplication, disclosure, modification, and
31
+ adaptation of the programs, including any operating system,
32
+ integrated software, any programs installed on the hardware,
33
+ and/or documentation, shall be subject to license terms and
34
+ license restrictions applicable to the programs. No other
35
+ rights are granted to the U.S. Government.
36
+
37
+ This software or hardware is developed for general use in a
38
+ variety of information management applications. It is not
39
+ developed or intended for use in any inherently dangerous
40
+ applications, including applications that may create a risk
41
+ of personal injury. If you use this software or hardware in
42
+ dangerous applications, then you shall be responsible to
43
+ take all appropriate fail-safe, backup, redundancy, and
44
+ other measures to ensure its safe use. Oracle Corporation
45
+ and its affiliates disclaim any liability for any damages
46
+ caused by use of this software or hardware in dangerous
47
+ applications.
48
+
49
+ Oracle and Java are registered trademarks of Oracle and/or
50
+ its affiliates. Other names may be trademarks of their
51
+ respective owners.
52
+
53
+ Intel and Intel Xeon are trademarks or registered trademarks
54
+ of Intel Corporation. All SPARC trademarks are used under
55
+ license and are trademarks or registered trademarks of SPARC
56
+ International, Inc. AMD, Opteron, the AMD logo, and the AMD
57
+ Opteron logo are trademarks or registered trademarks of
58
+ Advanced Micro Devices. UNIX is a registered trademark of
59
+ The Open Group.
60
+
61
+ This software or hardware and documentation may provide
62
+ access to or information on content, products, and services
63
+ from third parties. Oracle Corporation and its affiliates
64
+ are not responsible for and expressly disclaim all
65
+ warranties of any kind with respect to third-party content,
66
+ products, and services. Oracle Corporation and its
67
+ affiliates will not be responsible for any loss, costs, or
68
+ damages incurred due to your access to or use of third-party
69
+ content, products, or services.
@@ -0,0 +1,118 @@
1
+ Your use of this Program is governed by the No-Fee Terms and Conditions set
2
+ forth below, unless you have received this Program (alone or as part of another
3
+ Oracle product) under an Oracle license agreement (including but not limited to
4
+ the Oracle Master Agreement), in which case your use of this Program is governed
5
+ solely by such license agreement with Oracle.
6
+
7
+ Oracle No-Fee Terms and Conditions (NFTC)
8
+
9
+ Definitions
10
+
11
+ "Oracle" refers to Oracle America, Inc. "You" and "Your" refers to (a) a company
12
+ or organization (each an "Entity") accessing the Programs, if use of the
13
+ Programs will be on behalf of such Entity; or (b) an individual accessing the
14
+ Programs, if use of the Programs will not be on behalf of an Entity.
15
+ "Program(s)" refers to Oracle software provided by Oracle pursuant to the
16
+ following terms and any updates, error corrections, and/or Program Documentation
17
+ provided by Oracle. "Program Documentation" refers to Program user manuals and
18
+ Program installation manuals, if any. If available, Program Documentation may be
19
+ delivered with the Programs and/or may be accessed from
20
+ www.oracle.com/documentation. "Separate Terms" refers to separate license terms
21
+ that are specified in the Program Documentation, readmes or notice files and
22
+ that apply to Separately Licensed Technology. "Separately Licensed Technology"
23
+ refers to Oracle or third party technology that is licensed under Separate Terms
24
+ and not under the terms of this license.
25
+
26
+ Separately Licensed Technology
27
+
28
+ Oracle may provide certain notices to You in Program Documentation, readmes or
29
+ notice files in connection with Oracle or third party technology provided as or
30
+ with the Programs. If specified in the Program Documentation, readmes or notice
31
+ files, such technology will be licensed to You under Separate Terms. Your rights
32
+ to use Separately Licensed Technology under Separate Terms are not restricted in
33
+ any way by the terms herein. For clarity, notwithstanding the existence of a
34
+ notice, third party technology that is not Separately Licensed Technology shall
35
+ be deemed part of the Programs licensed to You under the terms of this license.
36
+
37
+ Source Code for Open Source Software
38
+
39
+ For software that You receive from Oracle in binary form that is licensed under
40
+ an open source license that gives You the right to receive the source code for
41
+ that binary, You can obtain a copy of the applicable source code from
42
+ https://oss.oracle.com/sources/ or http://www.oracle.com/goto/opensourcecode. If
43
+ the source code for such software was not provided to You with the binary, You
44
+ can also receive a copy of the source code on physical media by submitting a
45
+ written request pursuant to the instructions in the "Written Offer for Source
46
+ Code" section of the latter website.
47
+
48
+ -------------------------------------------------------------------------------
49
+
50
+ The following license terms apply to those Programs that are not provided to You
51
+ under Separate Terms.
52
+
53
+ License Rights and Restrictions
54
+
55
+ Oracle grants to You, as a recipient of this Program, subject to the conditions
56
+ stated herein, a nonexclusive, nontransferable, limited license to:
57
+
58
+ (a) internally use the unmodified Programs for the purposes of developing,
59
+ testing, prototyping and demonstrating your applications, and running the
60
+ Program for Your own personal use or internal business operations; and
61
+
62
+ (b) redistribute the unmodified Program and Program Documentation, under the
63
+ terms of this License, provided that You do not charge Your licensees any fees
64
+ associated with such distribution or use of the Program, including, without
65
+ limitation, fees for products that include or are bundled with a copy of the
66
+ Program or for services that involve the use of the distributed Program.
67
+
68
+ You may make copies of the Programs to the extent reasonably necessary for
69
+ exercising the license rights granted herein and for backup purposes. You are
70
+ granted the right to use the Programs to provide third party training in the use
71
+ of the Programs and associated Separately Licensed Technology only if there is
72
+ express authorization of such use by Oracle on the Program's download page or in
73
+ the Program Documentation.
74
+
75
+ Your license is contingent on compliance with the following conditions:
76
+
77
+ - You do not remove markings or notices of either Oracle's or a licensor's
78
+ proprietary rights from the Programs or Program Documentation;
79
+
80
+ - You comply with all U.S. and applicable export control and economic sanctions
81
+ laws and regulations that govern Your use of the Programs (including technical
82
+ data);
83
+
84
+ - You do not cause or permit reverse engineering, disassembly or decompilation
85
+ of the Programs (except as allowed by law) by You nor allow an associated
86
+ party to do so.
87
+
88
+ For clarity, any source code that may be included in the distribution with the
89
+ Programs is provided solely for reference purposes and may not be modified,
90
+ unless such source code is under Separate Terms permitting modification.
91
+
92
+ Ownership
93
+
94
+ Oracle or its licensors retain all ownership and intellectual property rights to
95
+ the Programs.
96
+
97
+ Information Collection
98
+
99
+ The Programs' installation and/or auto-update processes, if any, may transmit a
100
+ limited amount of data to Oracle or its service provider about those processes
101
+ to help Oracle understand and optimize them. Oracle does not associate the data
102
+ with personally identifiable information. Refer to Oracle's Privacy Policy at
103
+ www.oracle.com/privacy.
104
+
105
+ Disclaimer of Warranties; Limitation of Liability
106
+
107
+ THE PROGRAMS ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. ORACLE FURTHER
108
+ DISCLAIMS ALL WARRANTIES, EXPRESS AND IMPLIED, INCLUDING WITHOUT LIMITATION, ANY
109
+ IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
110
+ NONINFRINGEMENT.
111
+
112
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW WILL ORACLE BE LIABLE TO YOU FOR
113
+ DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES
114
+ ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT
115
+ LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
116
+ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
117
+ PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
118
+ POSSIBILITY OF SUCH DAMAGES.
@@ -0,0 +1,6 @@
1
+ Thank you for using the Oracle JDK.
2
+ The license for this software can be found in the LICENSE file.
3
+
4
+ Information on installing, configuring, and running this program is available on https://java.com/readme
5
+
6
+ Documentation on the Java SE Platform can be found on https://docs.oracle.com/java