Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Labels:
      None

      Description

      I found two issues when trying to help someone on Stack Overflow build the library. First, the documentation on PyPI states:

      JCC’s setup.py file needs to be edited before building JCC to specify the location of the Java Runtime Environment’s header files and libraries.

      However, it appears you have a better mechanism of setting JCC_JDK, but it's not documented.

      Second, when setting JCC_JDK is appears to work correctly and use the path to the specified JCC_JDK in the compilation, but the first line of output might indicate that a different JRE is being used:

      $JCC_JDK=/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home python setup.py install
      found JAVAHOME = /Library/Java/JavaVirtualMachines/jdk1.8.0_141.jdk/Contents/Home
      found JAVAFRAMEWORKS = /System/Library/Frameworks/JavaVM.framework
      ...
      

      So maybe the found JAVAHOME should not be printed if JCC_JDK is set, so it appears that JCC_JDK is successfully overriding the JAVAHOME. I'll attach the full output from building on my platform.

        Attachments

        1. jcc_build_output.txt
          38 kB
          Ryan J Ollos
        2. jcc_build_output2.txt
          32 kB
          Ryan J Ollos

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rjollos Ryan J Ollos
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: