Welcome, Guest
Username: Password: Remember me
14 Nov 2018
Glad to announce of release of INDI Library v1.7.5 on 2018-11-14. A few drivers were added in this release as we continue to improve & stabilize existing drivers.
Read More...
  • Page:
  • 1

TOPIC: INDI for Java still alive?

INDI for Java still alive? 1 year 6 months ago #17229

Hi,

my name is Andreas and I am new to this forum.

A while ago I have built my own mount controller based on a RaspberryPi and an Arduino Due.
I have already written an ASCOM driver for it and it works fine. Now I would like to write an INDI driver for my controller.
As I am an experienced Java developer I would like to do that in Java. So I looked at the INDI for Java website and the corresponding Sourceforge repository. It looks as if there has not been much activity recently. Has this project come to halt? Does it still make sense to use it or would it be better to use the standard C/C++ approach?

I have downloaded the distribution 1.5 and tried to start the server (via the i4j-server-interactive script) but when I tried to connect to it from CdC I get the following message:

Debugger failed to attach: handshake failed - received ><getProperties< - expected >JDWP-Handshake<

Any input would be appreciated.

Best regards
Andreas

Please Log in or Create an account to join the conversation.

INDI for Java still alive? 1 year 6 months ago #17231

Please use the official INDI library (C++ based) to develop any new drivers.

Please Log in or Create an account to join the conversation.

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info

INDI for Java still alive? 1 year 6 months ago #17233

Hi Jasem,

does your answer mean that INDI for Java is dead?
That would be a shame, because it seems perfect for a platform independent approach.

Best regards
Andreas

Please Log in or Create an account to join the conversation.

INDI for Java still alive? 1 year 6 months ago #17234

  • oleg
  • oleg's Avatar
  • Offline
  • Moderator
  • Moderator
  • Astronomy Linux
  • Posts: 316
  • Karma: 5
  • Thank you received: 93
Hi Andreas,
is you the author of Regime?
www.andreasroerig.de/

Please Log in or Create an account to join the conversation.

You can try my open project Astronomy Linux

INDI for Java still alive? 1 year 6 months ago #17235

Hi Oleg,

Yes I am the author of Regim.

Regards
Andreas

Please Log in or Create an account to join the conversation.

INDI for Java still alive? 1 year 6 months ago #17236

Andreas_Roerig wrote: Hi Jasem,

does your answer mean that INDI for Java is dead?
That would be a shame, because it seems perfect for a platform independent approach.

Best regards
Andreas


I can't comment on the status of INDI for Java, you have to contact its author. If you need any help in the official implementation, let me know.

Please Log in or Create an account to join the conversation.

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info

INDI for Java still alive? 1 year 6 months ago #17254

I fully agree, I believe that JAVA and Python integrations into KStars are important and should be supported. If there is a bug, it should be repaired.

Please Log in or Create an account to join the conversation.

INDI for Java still alive? 1 year 6 months ago #17258

Hi,

ok, I was playing a bit around and it seems that the issue is related to the documentation.
I am now able to start an INDI server and load the telescope simulation driver with the following command from within the lib directory:
java -jar i4j-server-main-1.50-SNAPSHOT.jar -ji4j-driver-telescope-1.50-SNAPSHOT.jar

After that I was able to connect to the Server from within CdC and perform goto actions.
That is good news so now I can start to write my driver in Java.

Best regards
Andreas
The following user(s) said Thank You: Astrodan

Please Log in or Create an account to join the conversation.

INDI for Java still alive? 10 months 2 weeks ago #22810

  • wvreeven
  • wvreeven's Avatar
  • Away
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 466
  • Karma: 6
  • Thank you received: 120
I started looking into this as well but I keep on getting the same exception and I don't know how to solve this despite my considerable Java knowledge (if I may say so myself). I am using Java 8 u151 and when I execute exactly that same command I get
i4j-all-in-one-1.50-SNAPSHOT/lib $> java -jar i4j-server-main-1.50-SNAPSHOT.jar -ji4j-driver-telescope-1.50-SNAPSHOT.jar
INDI for Java Basic Server initializing...
14:45:09.741 [main] INFO  o.i.i4j.server.main.INDIBasicServer - command print: INDI for Java Basic Server initializing...
Exception in thread "main" java.lang.IllegalStateException: no server access available
	at org.indilib.i4j.server.api.INDIServerAccessLookup.indiServerAccess(INDIServerAccessLookup.java:66)
	at org.indilib.i4j.server.main.INDIBasicServer.<init>(INDIBasicServer.java:86)
	at org.indilib.i4j.server.main.INDIBasicServer.main(INDIBasicServer.java:121)

Any idea what may be causing this?

Please Log in or Create an account to join the conversation.

Modded Canon EOS 700D with a WO ZS 71 ED on a SW HEQ5-Pro /
QHY9 CCD and filter wheel with an 8" RC on a SW EQ6-R

INDI for Java still alive? 10 months 2 weeks ago #22822

  • wvreeven
  • wvreeven's Avatar
  • Away
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 466
  • Karma: 6
  • Thank you received: 120
Never mind, I contacted the i4j developers and asked for help with this.

Please Log in or Create an account to join the conversation.

Modded Canon EOS 700D with a WO ZS 71 ED on a SW HEQ5-Pro /
QHY9 CCD and filter wheel with an 8" RC on a SW EQ6-R
  • Page:
  • 1
Time to create page: 0.151 seconds

Login

1. 3rd Party

Choose from the numerous 3rd party INDI drivers to suit your needs!

1. Got Problem?

Check out the FAQ, the forum, and the bug tracking system to resolve any issues you might have!
You can also subscribe to INDI newsletter and development mailing lists to get the latest updates on INDI!


Gallery

Replica

Why INDI

Replica