Kythe End-to-end Java Example FAILURE

135 views
Skip to first unread message

hugh li

unread,
Mar 21, 2023, 4:51:34 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 "1.8.0_362"
javac==1.8.0_362
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
    cd DataflowJavaSDK
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

My mistake is as follows:
Screenshot from 2023-03-21 16-50-26.png

hugh li

unread,
Mar 21, 2023, 4:53:55 AM3/21/23
to Kythe
    cd DataflowJavaSDK && git checkout v2.5.0

Shahms King

unread,
Mar 21, 2023, 11:03:02 AM3/21/23
to hugh li, Kythe
On Tue, Mar 21, 2023 at 1:51 AM hugh li <lih...@outlook.com> wrote:
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 "1.8.0_362"
javac==1.8.0_362

Unless I'm mistaken, we require at least Java 9 these days; Java 8 support was dropped a while ago.

--Shahms
 
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
    cd DataflowJavaSDK
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

My mistake is as follows:
Screenshot from 2023-03-21 16-50-26.png

--
You received this message because you are subscribed to the Google Groups "Kythe" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kythe+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kythe/7a69f94d-0450-49dd-8a97-09dd62d6fc7cn%40googlegroups.com.


--
:-P

hugh li

unread,
Mar 21, 2023, 9:06:57 PM3/21/23
to Kythe
Hi  Shahms,

Thank you for your reply,
I have used JAVA11 in the follow-up,
FAILURE still exists, and the new problem is Kythe End-to-end Java Example FAILURE

在2023年3月21日星期二 UTC+8 23:03:02<sha...@google.com> 写道:
On Tue, Mar 21, 2023 at 1:51 AM hugh li <lih...@outlook.com> wrote:
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 "1.8.0_362"
javac==1.8.0_362

Unless I'm mistaken, we require at least Java 9 these days; Java 8 support was dropped a while ago.

--Shahms
 
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
    cd DataflowJavaSDK
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

My mistake is as follows:
Screenshot from 2023-03-21 16-50-26.png

--
You received this message because you are subscribed to the Google Groups "Kythe" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kythe+unsubscribe@googlegroups.com.


--
:-P

Shahms King

unread,
Mar 22, 2023, 10:54:13 AM3/22/23
to hugh li, Justin Buchanan, Kythe
Justin, I think you have the most experience dealing with Kythe+Maven? Would you mind taking a look?

Thanks,
--Shahms

To unsubscribe from this group and stop receiving emails from it, send an email to kythe+un...@googlegroups.com.


--
:-P

--
You received this message because you are subscribed to the Google Groups "Kythe" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kythe+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kythe/fb0abdbc-d28b-443e-b746-81ab3b980126n%40googlegroups.com.


--
:-P
Reply all
Reply to author
Forward
0 new messages