Merge pull request #2 from intersystems/Theia-IDE

Update README.md with changes for Theia IDE
This commit is contained in:
DuongDo-Intersystems 2019-03-13 13:06:25 -04:00 committed by GitHub
commit d98ff51491
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

View File

@ -1,2 +1,12 @@
# 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`