Simple hello world code to show a Java connection to InterSystems IRIS
Go to file
DuongDo-InterSystems 3d7f86dcfc Add Hello World 2021-03-12 16:11:44 -05:00
HelloWorld.java Add retrieve simple data 2019-06-04 15:56:54 -04:00
LICENSE Initial commit 2019-01-14 10:48:46 -05:00
README.md Add Hello World 2021-03-12 16:11:44 -05:00
intersystems-jdbc-3.2.0.jar Add Hello World 2021-03-12 16:11:44 -05:00

README.md

Samples-java-helloworld

This is a simple Hello World example to show a JDBC connection to InterSystems IRIS. It retrieves and outputs sample petstore data that has been preloaded into your instance of InterSystems IRIS.

Run the sample

In the integrated terminal window type:

  • cd /home/project/Samples-java-helloworld
  • javac -cp ".:intersystems-jdbc-3.2.0.jar" HelloWorld.java
  • java -cp ".:intersystems-jdbc-3.2.0.jar" HelloWorld

This outputs data about the first five birds stored within InterSystems IRIS.

Keep Exploring