Java

Complete the following steps to connect your favorite Java-focused IDE, such as Eclipse, NetBeans, or IntelliJ IDEA, to InterSystems IRIS® data platform using a JDBC connection.

  1. Download or clone: git clone –b try-iris https://github.com/intersystems/Samples-java-helloworld.
  2. In your IDE, open the folder you recently downloaded or cloned from GitHub, then open HelloWorld.java.
  3. Configure the username, password, IP address, and port for your instance (see InterSystems IRIS Connection Information in the documentation) using the variable declarations.
  4. Add intersystems-jdbc-3.0.0.jar as the classpath.
  5. Compile and run the HelloWorld.java.
  6. The Output pane displays the following message:
    Hello World! You have successfully connected to InterSystems IRIS via JDBC.