Kythe End-to-end Java Example FAILURE

47 views
Skip to first unread message

hugh li

unread,
Mar 21, 2023, 7:00:05 AM3/21/23
to Kythe
Hi, this is my first time using Kythe.
According to the example given by the official website, I encountered an error and asked for help here.

Ubuntu==18.04
java==openjdk version "11.0.18" 2023-01-17
javac==javac 11.0.18
mvn==Apache Maven 3.6.0

My steps are as follows:
1. Download kythe-v0.0.60.tar.gz
    tar zxvf kythe-v0.0.60.tar.gz
    read README.md
2. git clone https://github.com/GoogleCloudPlatform/DataflowJavaSDK.git
    cd DataflowJavaSDK
    git checkout v2.5.0

3. Setup the Java extractor's environment
4. mvn clean compile \
  -Dmaven.compiler.forceJavacCompilerUse=true \
  -Dmaven.compiler.fork=true \
  -Dmaven.compiler.executable=/opt/kythe/extractors/javac-wrapper.sh
5. find "$KYTHE_OUTPUT_DIRECTORY" -name '*.kzip' | \
  xargs -L1 java -jar /opt/kythe/indexers/java_indexer.jar | \
  /opt/kythe/tools/dedup_stream | \
  /opt/kythe/tools/write_entries --graphstore $GRAPHSTORE


My mistake is as follows:
Screenshot from 2023-03-21 16-50-26.pngScreenshot from 2023-03-21 18-58-23.png
Reply all
Reply to author
Forward
0 new messages