· Apr 30, 2020

Invalid claspath in IRIS demo?

Hi again!

I logged into the demo IRIS again, and for some reason, today, I had an "Classpath is incomplete" warning message. The classpath is defined under quickstarts-multimodel-java.  Here is the contents of the file :

<?xml version="1.0" encoding="UTF-8"?>


    <classpathentry kind="src" path="src"/>

    <classpathentry kind="lib" path="lib/intersystems-jdbc-3.0.0.jar"/>

    <classpathentry kind="lib" path="lib/intersystems-xep-3.0.0.jar"/>

    <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>

    <classpathentry kind="output" path="bin"/>


What am I missing? Does it have anything to do with my attempt to download Docker? Is it because I've linked it to an Eclipse instance, or a personal cache instance?  


Discussion (3)2
Log in or sign up to continue

Hi Michael,

I think the classpath is correct since it contains 2 required jar files.  I don't think it is because you Download Docker or connect to Cache instance. Furthermore, if it is only a warning and you are still able to run the code, it is OK.

The issue you face I guess that you run the command in the wrong directory in the Learning Labs. Could you try to run these commands in your Lab?

  • cd /home/project/quickstarts-multimodel-java/src
  • javac -cp ".:../lib/intersystems-jdbc-3.0.0.jar:../lib/intersystems-xep-3.0.0.jar"
  • java -cp ".:../lib/intersystems-xep-3.0.0.jar:../lib/intersystems-jdbc-3.0.0.jar" multimodelQS

Thank you. 

If it does not help, in the ticket that you submit to Online Training, could you please attach a screenshot on what errors you encounter, and what commands that you used?