Installation

Installation

To install and use Aspose.BarCode for Node.js via Java, follow the instructions below:

Linux

  • Download and install Node.js
  • Install Oracle JDK (1.8 and higher) for Linux and then configure the JAVA_HOME environment variable
  • Install Python 3.x
  • Install aspose.barcode: ’npm i aspose.barcode'
  • You can also download “Aspose.BarCode for Node.js via Java” from https://downloads.aspose.com/barcode/nodejs and extract it
  • You can go to examples directory and launch examples

Windows

  • Download and install Node.js and add node.exe to PATH
  • Install Oracle JDK (1.8 and higher) for Windows and then configure the JAVA_HOME environment variable
  • Install Python 3.x and add python.exe to PATH
  • Install aspose.barcode: ’npm i aspose.barcode'
  • You can download “Aspose.BarCode for Node.js via Java” from https://downloads.aspose.com/barcode/nodejs and extract it

MacOS

  • Download and install Node.js and configure environment variables
  • Install Oracle JDK 1.8 and higher for MacOS and then configure the JAVA_HOME environment variable
  • Install Python 3.x and configure environment variables
  • Modify JVMCapabilities section in “/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Info.plist” with root privilege (“jdk1.8.0_152.jdk” depends on your jdk version)
  • Install aspose.barcode: ’npm i aspose.barcode'
  • You can also download “Aspose.BarCode for Node.js via Java” from https://downloads.aspose.com/barcode/nodejs and extract it