508
508
509
509
## <a name =" instwin " ></a > 6. Node-oracledb Installation on Windows
510
510
511
- An article
511
+ ** Note ** : An Oracle Technology Network article
512
512
[ Installing node-oracledb on Microsoft Windows] ( https://community.oracle.com/docs/DOC-931127 )
513
- has step-by-step Windows installation instructions.
513
+ has step-by-step Windows installation instructions that you can
514
+ alternatively refer to.
514
515
515
516
### 6.1 Install required tools
516
517
@@ -556,9 +557,10 @@ default location used by the node-oracledb installer:
556
557
ren C:\instantclient_12_1 C:\oracle\instantclient
557
558
```
558
559
559
- Add the directory to ` PATH ` . For example on Windows 7, update ` PATH ` in
560
- Control Panel -> System -> Advanced System Settings -> Advanced ->
561
- Environment Variables -> System variables.
560
+ Add the directory to ` PATH ` . For example on Windows 7, update ` PATH `
561
+ in Control Panel -> System -> Advanced System Settings -> Advanced ->
562
+ Environment Variables -> System variables -> ` PATH ` and add your path,
563
+ such as ` C:\oracle\instantclient ` .
562
564
563
565
If you have multiple versions of Oracle libraries installed, make sure
564
566
the desired version occurs first in the path.
@@ -581,8 +583,8 @@ Studio' which has environment variables already configured.
581
583
582
584
Tell the installer where to locate the Oracle client libraries and
583
585
header files by setting the ` OCI_LIB_DIR ` and ` OCI_INC_DIR ` variables.
584
-
585
586
These variables are only needed during installation, not at run time.
587
+ Do * not* add them to ` PATH ` .
586
588
587
589
For Instant Client use:
588
590
@@ -600,7 +602,7 @@ set OCI_LIB_DIR=C:\oracle\product\12.1.0\dbhome_1\oci\lib\msvc
600
602
set OCI_INC_DIR=C:\oracle\product\12.1.0\dbhome_1\oci\include
601
603
```
602
604
603
- Also make sure that ` PATH ` contains ` C:\oracle\product\12.1.0\dbhome_1\bin ` .
605
+ In this case, also make sure that ` PATH ` contains ` C:\oracle\product\12.1.0\dbhome_1\bin ` .
604
606
605
607
If you are behind a firewall you may need to set your proxy, for
606
608
example:
0 commit comments