Simple hello world code to show a Java connection to InterSystems IRIS
Go to file
DuongDo-Intersystems d98ff51491
Merge pull request #2 from intersystems/Theia-IDE
Update README.md with changes for Theia IDE
2019-03-13 13:06:25 -04:00
.settings Add helloworld sample 2019-01-16 16:30:35 -05:00
lib Add helloworld sample 2019-01-16 16:30:35 -05:00
src/main MAB Create a sample POM file and IntelliJ IDEA Project 2019-01-20 18:12:03 -05:00
.classpath Add helloworld sample 2019-01-16 16:30:35 -05:00
.project Add helloworld sample 2019-01-16 16:30:35 -05:00
LICENSE Initial commit 2019-01-14 10:48:46 -05:00
README.md Update README.md with changes for Theia IDE 2019-03-13 12:41:42 -04:00
Samples-java-helloworld.iml MAB Create a sample POM file and IntelliJ IDEA Project 2019-01-19 11:53:55 -05:00
Samples-java-helloworld.ipr MAB Create a sample POM file and IntelliJ IDEA Project 2019-01-20 18:17:37 -05:00
pom.xml MAB Create a sample POM file and IntelliJ IDEA Project 2019-01-19 11:53:55 -05: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