Hi, I downloaded kiteconnect.jar from GITHub and added the package in my java code, but I get the following error
ZerodhaPositionsExample.java:3: error: package com.zerodhatech.kiteconnect does not exist import com.zerodhatech.kiteconnect.KiteConnect;
When I try to open the jar file from windows, I get a message stating the jar file is corrupt I tried to also download Kiteconnect.java file but it does not compile and throws a lot of errors Can someone please help
The Kite Connect Java SDK is working correctly. The error occurs because the JAR is not on the classpath during compilation, or the JAR file is invalid/corrupted.
To verify the JAR file integrity:
jar tf kiteconnect.jar
If you can't see the contents, the JAR is corrupted - re-download it.
Don't compile source files like KiteConnect.java directly.
To verify the JAR file integrity:
jar tf kiteconnect.jarIf you can't see the contents, the JAR is corrupted - re-download it.
Don't compile source files like KiteConnect.java directly.