Using Java 1.5 for external Java application

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Using Java 1.5 for external Java application

  • Creator
    Topic
  • #51199
    George Kulz
    Participant

      Hi all.

      I have a Java application that I’d like to run on the same AIX machine that Cloverleaf is running on. This application will take information from certain Cloverleaf threads and manage it in archive files for me. I checked the version of Java that is installed there and it says it’s 1.5. I made sure to compile my program with the same version and put the jar file on the Cloverleaf machine. However, when I go to run it there, I get this error message:

      The Java class could not be found: com.sun.net.ssl.internal.ssl.Provider

      I don’t know if it’s important or not, but the AIX version is 5.3.0.0. Supposedly, Java 1.5 includes the library that contains the Provider class, so I’m not sure what the problem is. The only thing I can think of is that on the AIX machine, I have to somehow tell the Java compiler where the library is?

      The program works fine if I run it on my Windows machine, so there’s something about the environment on the AIX machine that’s the problem.

      If anyone has any suggestions on this one please let me know. Thanks in advance.

      -George

    Viewing 0 reply threads
    • Author
      Replies
      • #69168
        Levy Lazarre
        Participant

          George,

          Have you added the .jar file to your CLASSPATH environment variable?

          If you do an “echo $CLASSPATH” do you see your jar file in the list of classes?

      Viewing 0 reply threads
      • The forum ‘Cloverleaf’ is closed to new topics and replies.