Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Removed lines containing wrong information as per JIRA issue HPCC-13052

...

public class TokenizerTest{

    public static void main(String[] args){   

        System.out.println(GetThePath());

    }   

    public static String GetThePath(){

        return System.getProperty("java.class.path");

    }

}

If all of these checks pass, look for a JVM Startup entry in the eclagent.log to verify that the JVM was loaded, and check what is actually being used as the classpath. You should see something like:

              "javaembed: Setting JVM Option: -Djava.class.path=/opt/HPCCSystems/classes:/opt/HPCCSystems/classes/myjava.jar:."

If you do not see any entries like this in any of the HPCC logs, the JVM is not starting up for some reason.If you do see this entry in the HPCC logs and your jar is included in the classpath, the error is either a) in the import statement syntax in ECL or b) an internal error in your java code causing the problem. See #2 for more on debugging this.

...