Aspose.BarCode for Node.js via Java Installation

System Requirements

Aspose.BarCode for Node.js via Java is a platform-independent API and can be used on any platform (Windows, Linux, etc.) where Node.js and node-java bridge are installed. The machine must have Oracle JDK 7 or greater versions before setting up the installation.

Installation

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

Linux

  • Download and install Node.js.
  • Install Oracle JDK (1.8 and higher) for Linux, 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, 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 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.

Mac

  • Download and install Node.js and configure environment variables.
  • Install Oracle JDK 1.8 and higher for Mac, 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.
  • You can go to examples directory and launch examples.