# The path of Protoc in DL4J

**URL:** <https://community.konduit.ai/t/the-path-of-protoc-in-dl4j/2469>\
**Category:** Tuning Help\
**Created:** [April 10, 2023, 7:30am UTC](https://community.konduit.ai/t/the-path-of-protoc-in-dl4j/2469 "2023-04-10T07:30:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![yaoyao](https://avatars.discourse-cdn.com/v4/letter/y/f6c823/32.png) [@yaoyao](https://community.konduit.ai/u/yaoyao)\
**Post date:** [April 10, 2023, 7:30am UTC](https://community.konduit.ai/t/the-path-of-protoc-in-dl4j/2469/1 "2023-04-10T07:30:31Z")

</div>

I am not familiar with protoc.

Need I generate from all the proto files in \deeplearning4j-master\nd4j\nd4j-backends\nd4j-api-parent\nd4j-api\src\main\protobuf ?

And the output path should be deeplearning4j-master\nd4j\nd4j-backends\nd4j-api-parent\nd4j-api\src\main\java\ ?

After doing the above steps, the classes such as ExtensionRegistryLite and ExtensionRegistry can not be resloved.

![image](https://canada1.discourse-cdn.com/flex035/uploads/konduit/original/2X/1/1e45d86adc32f3833993b904e09e30799baac84f.png)

Is there any commands for generating the code?

Thanks a lot !

---

<div class="post-metadata">

**Author:** ![yaoyao](https://avatars.discourse-cdn.com/v4/letter/y/f6c823/32.png) [@yaoyao](https://community.konduit.ai/u/yaoyao)\
**Post date:** [April 10, 2023, 10:50am UTC](https://community.konduit.ai/t/the-path-of-protoc-in-dl4j/2469/2 "2023-04-10T10:50:23Z")

</div>

![image](https://canada1.discourse-cdn.com/flex035/uploads/konduit/original/2X/6/617b774574017c957c2fef8a5e6cec2406d9ede4.png)

---

<div class="post-metadata">

**Author:** ![agibsonccc](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/agibsonccc/32/697_2.png) [@agibsonccc](https://community.konduit.ai/u/agibsonccc)\
**Post date:** [April 10, 2023, 12:09pm UTC](https://community.konduit.ai/t/the-path-of-protoc-in-dl4j/2469/3 "2023-04-10T12:09:04Z")

</div>

@yaoyao thanks for following up. Protoc is automatically downloaded for you and managed. I already mentioned in the github issue. Just run the build.

You keep making things more complex by asking way too many questions adding extra steps that don’t exist. If there were extra steps I’d tell you. Could you please just follow instructions like I’ve asked in your other github issues as well as your other forum posts?

If I see proof that you’ve followed instructions and you still have issues I’m happy to help.

---

<div class="post-metadata">

**Author:** ![agibsonccc](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/agibsonccc/32/697_2.png) [@agibsonccc](https://community.konduit.ai/u/agibsonccc)\
**Post date:** [April 10, 2023, 12:13pm UTC](https://community.konduit.ai/t/the-path-of-protoc-in-dl4j/2469/4 "2023-04-10T12:13:09Z")

</div>

@yaoyao check the maven plugin: [deeplearning4j/pom.xml at 4f79f0eda780632948d4ef2722d05d6d09804efe · deeplearning4j/deeplearning4j · GitHub](https://github.com/deeplearning4j/deeplearning4j/blob/4f79f0eda780632948d4ef2722d05d6d09804efe/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/pom.xml#L149)

and everything under nd4j-api/src/main/protofbuf for the base proto field. You don’t need to modify those or do anything to them just let the maven plugin do what it needs to do.
