Skip to content
Init is coming / May 19 - 23
Back

Generating SDK For Java

  • 0
  • General
SenZi
8 May, 2023, 20:02

Hi, Could i get some help with generating sdk for Java, i cant use the Server Kotlin SDK. How can i use the sdk-generator to generate an sdk for java since its mentioned that it's supported.

TL;DR
The user is asking for help generating an SDK for Java using the sdk-generator. They mention that the Kotlin SDK doesn't work and ask for assistance in generating a Java SDK. There is no solution mentioned in the thread.
Drake
8 May, 2023, 20:15

Did you read through the readme and contributing guide?

SenZi
8 May, 2023, 20:16

i read the readme, didn't check the contributing guide, haven't ever used php so.

Drake
8 May, 2023, 20:18

How can i use the sdk-generator to generate an sdk for java since its mentioned that it's supported.

Also, our kotlin sdk is generated from the SDK generator so...

Drake
8 May, 2023, 20:19

make sure to read the contributing guide too, if you want to figure out how to run the sdk generator

SenZi
8 May, 2023, 20:23

is the Java language available?

Drake
8 May, 2023, 20:24

im not sure what you're talking about

SenZi
8 May, 2023, 20:25

i might be confused as i did not understand the stuff

SenZi
8 May, 2023, 20:25

Is there a SDK For java? not kotlin

Drake
8 May, 2023, 20:25

no, we have our kotlin sdk which should be usable in java too

SenZi
8 May, 2023, 20:29

i want it to use in gwt, when i looked it up it seems like it needs native java sdk...

Drake
8 May, 2023, 20:36

what is gwt and what makes you say that it needs native java sdk?

SenZi
8 May, 2023, 20:40

Google Web Toolkit, its like web app hosted on google app engine platform

Drake
8 May, 2023, 20:40

i see. and what problem are you having using the kotlin sdk?

SenZi
8 May, 2023, 20:41

it converts java to js to be used in the frontend and it doesnt seem to support kotlin sdks

Drake
8 May, 2023, 20:42

oh i see...ya..this probably won't work for you...but also, you probably wouldn't want to use a server sdk for something that would end up as javascript

Drake
8 May, 2023, 20:44

you might have to write java code to manually call the REST APIs. This might be helpful: https://appwrite.io/docs/rest

D5
8 May, 2023, 20:46

Or use the GraphQL API

SenZi
8 May, 2023, 21:15

yea ig the rest api might be the way if the kotlin sdk doesnt work at all

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more