Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
# Oracle 11g client ojdbc6.jar is also compatible with Java 1.7
# Oracle 12c Release 1 client provides ojdbc7.jar
# Oracle 12c Release 2 client provides ojdbc8.jar
ojdbc_jars = %w(ojdbc8.jar ojdbc7.jar ojdbc6.jar)
# Oracle 21c provides ojdbc11.jar for Java 11 and above
ojdbc_jars = %w(ojdbc11.jar ojdbc8.jar ojdbc7.jar ojdbc6.jar)

if !ENV_JAVA["java.class.path"]&.match?(Regexp.new(ojdbc_jars.join("|")))
# On Unix environment variable should be PATH, on Windows it is sometimes Path
Expand Down