Import own class in java snippet

Hi guys,
I have a class which describes( for the example) the object human.
How it is possible to import this class to use it with my java snippet ?

Kind Regards

Hi @coup,

first you need to create a .jar file containing your classes. E.g. using maven or Eclipse (depending on your development setup). Then, in the configuration dialog of the Java Snipped node there is a tab ‘Additional Libraries’. There you can just point to some .jar. After that, the classes should be importable in the snipped code.

Cheers,
David

1 Like

Thank you Dave !
This will help to continue :slight_smile:

Greetings