Simple hello world code to show a Java connection to InterSystems IRIS
Go to file
DuongDo-InterSystems 2c298aea0f Add source code for Sample Java HelloWorld 2019-03-13 13:22:08 -04:00
Simple Add source code for Sample Java HelloWorld 2019-03-13 13:22:08 -04:00
LICENSE Initial commit 2019-01-14 10:48:46 -05:00
README.md Add source code for Sample Java HelloWorld 2019-03-13 13:22:08 -04:00

README.md

Samples-java-helloworld

Simple hello world code to show a Java connection to InterSystems IRIS

To run this code in provided Theia IDE

Edit Samples-java-helloworld/Simple/HelloWorld.java:

  1. Comment out line 4 as we won't need the package declaration
  2. Edit line 14 to change the ip to "try-iris"

In the terminal window type:
cd Samples-java-helloworld/Simple
javac -cp ".:intersystems-jdbc-3.0.0.jar" HelloWorld.java
java -cp ".:intersystems-jdbc-3.0.0.jar" HelloWorld